patch-2.3.18 linux/fs/proc/root.c
Next file: linux/fs/udf/file.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Sep 10 11:12:16 1999
- Orig file:
v2.3.17/linux/fs/proc/root.c
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.17/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -641,6 +641,14 @@
NULL,
NULL, NULL
};
+struct proc_dir_entry proc_root_driver = {
+ PROC_DRIVER, 6, "driver",
+ S_IFDIR | S_IRUGO | S_IXUGO, 2, 0, 0,
+ 0, &proc_dir_inode_operations,
+ NULL, NULL,
+ NULL,
+ NULL, NULL
+};
static struct proc_dir_entry proc_root_dma = {
PROC_DMA, 3, "dma",
S_IFREG | S_IRUGO, 1, 0, 0,
@@ -738,6 +746,7 @@
#endif
proc_register(&proc_root, &proc_root_stat);
proc_register(&proc_root, &proc_root_devices);
+ proc_register(&proc_root, &proc_root_driver);
proc_register(&proc_root, &proc_root_partitions);
proc_register(&proc_root, &proc_root_interrupts);
proc_register(&proc_root, &proc_root_filesystems);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)