LWN.net Logo

Advertisement

Advanced thin client solution for Linux, based on Open Source. Mix Windows and Linux, 10 licenses for free!

Advertise here

The future of device numbers

The future of device numbers

Posted Jan 8, 2004 18:37 UTC (Thu) by set (guest, #4788)
In reply to: The future of device numbers by holstein
Parent article: The future of device numbers

The kernel really doesnt care what you use; you can have a static
/dev directory filled with ordinary device files, or if your kernel
has devfs support configured in, you can optionally mount devfs over
/dev, and use that. Additionally, if your kernel has, IIRC, hotplug
and sysfs configured in, you could optionally use udev.

In other words, what you use is a mater of choice, or more likely
the choice of your distribution. (eg. Gentoo likes to use devfs,
but you dont _have_ to.) However, when they say that devfs is
deprecated, it means someday they will rip out that code, and then
choosing devfs will be harder;)

(as an example, currently, I run Gentoo, with a 2.6 kernel, and use
devfs. a friend of mine does the same, except no devfs, just a
static /dev directory.)


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds