Differences between revisions 5 and 6
Revision 5 as of 2007-08-09 20:39:18
Size: 1521
Editor: FranklinPiat
Comment: devfs is obsolete. Debian/Etch uses udev
Revision 6 as of 2009-03-16 03:32:34
Size: 1521
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
||<style="color:red"> /!\ devfs is obsolete. Debian/Etch uses ["udev"] (except for DebianInstaller)|| ||<style="color:red"> /!\ devfs is obsolete. Debian/Etch uses [[udev]] (except for DebianInstaller)||
Line 16: Line 16:
See also ["udev"] See also [[udev]]


/!\ devfs is obsolete. Debian/Etch uses udev (except for DebianInstaller)

Devfs is an alternative to "real" character and block special devices on your root filesystem. Kernel device drivers can register devices by name rather than major and minor numbers. These devices will appear in devfs automatically, with whatever default ownership and protection the driver specified. A daemon (devfsd) can be used to override these defaults. Devfs has been in the kernel since 2.3.46.

There are two aspects to devfs:

  • One is the underlying device namespace, which is a namespace just like any mounted filesystem.
  • The other aspect is the filesystem code which provides a view of the device namespace.

The reason to make a distinction is because devfs can be mounted many times, with each mount showing the same device namespace. Changes made are global to all mounted devfs filesystems. Also, because the devfs namespace exists without any devfs mounts, you can easily mount the root filesystem by referring to an entry in the devfs namespace.

See also udev