Linux – How Devfs and dev file system differ

device-driverkernellinuxlinux-device-driver

I read about devfs(known as device file system ) to facilitate device driver programming as mentioned in linux device drivers text . How different is devfs from /dev directory in linux.Are they both same ?, i'm quite confused .

Best Solution

/dev is a directory. It tends to have mostly device nodes in it.

devfs is an obsolete and no longer available virtual filesystem that automatically generated the contents of /dev on some older versions of the Linux kernel. These days, it has been replaced by udev, a daemon that manages the contents of /dev in a temporary filesystem, or by devtmpfs, which is a lightweight replacement for devfs that is used in some minimal systems.