/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.
source share