[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/ files



Paras pradhan 写道:

hi:

it not only the matter of scsci emulation.. i dont have many files...
like: sda, sda1, sdb etc.....it sud contain around 1600 files.. but in
my system only 160 files inside /dev.

i am confused why the files are lying inside  /dev/.static/dev  instead of /dev/



Paras.
For 2.6 kernel, it use the "udev" to manage the /dev dir
When system booting, udev will check your hardware and make the file in /dev what you really have, so you have about 160 files in /dev
When you insmod a new module, the udev also will make a new file in /dev
But in 2.4 kernel, no one will make the file dynamicly, so the /dev has 1600 static files :)



Reply to: