![]() | ||||||||||
Messages in this thread |
In <linux/proc_fs.h> (from both vger and Linus' 2.1.104) we have
| enum mca_directory_inos {
| PROC_MCA_MACHINE = (PROC_SCSI_LAST+1),
| PROC_MCA_REGISTERS,
| PROC_MCA_VIDEO,
| PROC_MCA_SCSI,
| PROC_MCA_SLOT, /* the 8 adapter slots */
| PROC_MCA_LAST = (PROC_MCA_SLOT + 8)
| };
|
| enum bus_directory_inos {
| PROC_BUS_PCI = PROC_MCA_LAST,
^^^^^^^^^^^^^
| PROC_BUS_PCI_DEVICES,
| PROC_BUS_LAST
| };
| enum fs_directory_inos {
| PROC_FS_CODA = PROC_MCA_LAST,
^^^^^^^^^^^^^
| PROC_FS_LAST
| };
| enum fs_coda_directory_inos {
| PROC_VFS_STATS = PROC_MCA_LAST,
^^^^^^^^^^^^^
| PROC_UPCALL_STATS,
| PROC_PERMISSION_STATS,
| PROC_CACHE_INV_STATS,
| PROC_CODA_FS_LAST
| };
Thus there are 3 subsystems that share the same /proc inode numbers. Is this
allowed? I don't think so.
Greetings,
Geert
--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
| |||||||||
| Last update: 2005-03-22 12:43 [from the cache] ©2003-2008 | ||||||||||