From b45e9c7dd8f3c7386a81c3cff1d69eed70fd0191 Mon Sep 17 00:00:00 2001 From: Hizenberg469 Date: Tue, 18 Feb 2025 15:41:03 +0200 Subject: [PATCH] General.txt added --- General.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/General.txt b/General.txt index f552bb9..a70466d 100644 --- a/General.txt +++ b/General.txt @@ -21,4 +21,15 @@ -> To create a new device file Use: mknod - \ No newline at end of file + +-> /dev/*: + this file basically contains virtual files which act as a + interface between the device driver in kernel space and + the user space, which allow the control of the device from + user space. + +-> The link between the driver and the device file is made over + the major and minor number of the device file rather than + name of the device file. So, if I associate a custom made + device file with driver using same major and minor number. + I can access the same device using that file. \ No newline at end of file