How devfs and dev file systems are different

I read about devfs (known as the device file system) to make it easier to program the device driver, as indicated in the text of the Linux device drivers. How different is devfs from the / dev directory on linux. How are they the same ?, I'm very confused.

+4
source share
1 answer

/dev is a directory. It has mainly device nodes.

devfs is an obsolete and inaccessible virtual file system that automatically generates the contents of /dev in some older versions of the Linux kernel. These days it has been replaced by udev , a daemon that manages the contents of /dev on a temporary file system or through devtmpfs , which is an easy replacement for devfs, which is used on some minimal systems.

+11
source

Source: https://habr.com/ru/post/1479654/


All Articles