Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i notice that kernel 2.6 has sysfs support. currently i do compiled it to my kernel but i didnt modify my system to get this file system to run(which was taught by thomer.com/linux/migrate-to-2.6.html) coz i notice that it said devfs is sysfs so i dont mess around with it and continue on using my redhat 9 devfs.
currently i dont have /dev/fd0, /dev/cdrom and etc and on when i boot into kernel 2.4.20-8 i can see hundreads of charater device in my /dev/ folder but in kernel 2.6 it is much less then 2.4.
where do all those device go?
i dont have sysfs, so do it has to do with the problem that i have that i dont get cdrom and floppy drive?
should i follow the steps thought by thomer.com/linux/migrate-to-2.6.html
to enable sysfs?
It's my understanding that devfs and proc are being deprecated in favor of udev and sysfs.
they're still in 2.6 for compatibility, so making the crossover isn't absolutely necessary. But I'd take the plunge if I were you - sounds like it's only a matter of time.
The problems with /proc stem from the fact that it is being used for purposes that were never intended. /proc was originally only supposed to be a virtual filesystem describing the processes that were running within the system. Over time, however, it was generalized and is now used fror all manner of things, resulting in a fragmented, complex, fragile namespace.
sysfs fixes that by being designed from the outset for the display of internal kernel information; its tight integration with kobjects makes it easy for drivers, filesystems and other internal kernel pieces to display information without too much trouble. The only problem with sysfs ATM is that it doesn't match the amount of information that /proc has.
By the time 2.8/3.0 arrive, /proc will only have process information, and sysfs will have everything else.
TheOneKEA - Thanks for the clarification! I wasn't aware /proc was staying put. Makes sense now.
Demmylls - I seem to recall sysfs being a kernel option... not 100% sure, but check the config again, I think it's there.
Udev, however, is a userspace program, not a kernel feature. You need to grab a udev RPM and install it in order for devices to work properly in 2.6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.