patch-1.3.17 linux/fs/proc/root.c
Next file: linux/fs/proc/scsi.c
Previous file: linux/fs/proc/net.c
Back to the patch index
Back to the overall index
- Lines: 58
- Date:
Wed Aug 9 09:52:28 1995
- Orig file:
v1.3.16/linux/fs/proc/root.c
- Orig date:
Thu Jun 29 19:02:54 1995
diff -u --recursive --new-file v1.3.16/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -52,34 +52,34 @@
};
static struct proc_dir_entry root_dir[] = {
- { PROC_ROOT_INO, 1, "." },
- { PROC_ROOT_INO, 2, ".." },
- { PROC_LOADAVG, 7, "loadavg" },
- { PROC_UPTIME, 6, "uptime" },
- { PROC_MEMINFO, 7, "meminfo" },
- { PROC_KMSG, 4, "kmsg" },
- { PROC_VERSION, 7, "version" },
+ { PROC_ROOT_INO, NULL, 1, "." },
+ { PROC_ROOT_INO, NULL, 2, ".." },
+ { PROC_LOADAVG, NULL, 7, "loadavg" },
+ { PROC_UPTIME, NULL, 6, "uptime" },
+ { PROC_MEMINFO, NULL, 7, "meminfo" },
+ { PROC_KMSG, NULL, 4, "kmsg" },
+ { PROC_VERSION, NULL, 7, "version" },
#ifdef CONFIG_PCI
- { PROC_PCI, 3, "pci" },
+ { PROC_PCI, NULL, 3, "pci" },
#endif
- { PROC_CPUINFO, 7, "cpuinfo" },
- { PROC_SELF, 4, "self" }, /* will change inode # */
- { PROC_NET, 3, "net" },
- { PROC_SCSI, 4, "scsi" },
+ { PROC_CPUINFO, NULL, 7, "cpuinfo" },
+ { PROC_SELF, NULL, 4, "self" }, /* will change inode # */
+ { PROC_NET, NULL, 3, "net" },
+ { PROC_SCSI, NULL, 4, "scsi" },
#ifdef CONFIG_DEBUG_MALLOC
- { PROC_MALLOC, 6, "malloc" },
+ { PROC_MALLOC, NULL, 6, "malloc" },
#endif
- { PROC_KCORE, 5, "kcore" },
- { PROC_MODULES, 7, "modules" },
- { PROC_STAT, 4, "stat" },
- { PROC_DEVICES, 7, "devices" },
- { PROC_INTERRUPTS, 10,"interrupts" },
- { PROC_FILESYSTEMS, 11,"filesystems" },
- { PROC_KSYMS, 5, "ksyms" },
- { PROC_DMA, 3, "dma" },
- { PROC_IOPORTS, 7, "ioports"},
+ { PROC_KCORE, NULL, 5, "kcore" },
+ { PROC_MODULES, NULL, 7, "modules" },
+ { PROC_STAT, NULL, 4, "stat" },
+ { PROC_DEVICES, NULL, 7, "devices" },
+ { PROC_INTERRUPTS, NULL, 10,"interrupts" },
+ { PROC_FILESYSTEMS, NULL, 11,"filesystems" },
+ { PROC_KSYMS, NULL, 5, "ksyms" },
+ { PROC_DMA, NULL, 3, "dma" },
+ { PROC_IOPORTS, NULL, 7, "ioports"},
#ifdef CONFIG_PROFILE
- { PROC_PROFILE, 7, "profile"},
+ { PROC_PROFILE, NULL, 7, "profile"},
#endif
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this