device file system
The device file system, or
devfs, provides access to
kernel's device namespace in the global file system namespace. The
conventional mount point is /dev.
The file system includes several directories, links, symbolic
links and devices, some of which can also be written. In a chroot'ed
devfs can be used to create a new
/dev mount point.
tool can be used to recover deleted device entries under
filesystem is an alternate means for populating
/dev/fd. The character devices that both
present in /dev/fd correspond to the open file
descriptors of the process accessing the directory.
devfs only creates files for the standard file
descriptors 0, 1 and
creates files for all open descriptors.
The options are as follows:
- Use the specified mount options, as described in
The following devfs file system-specific options are available:
- Set ruleset number ruleset as the current
ruleset for the mount-point and apply all its rules. If the ruleset
number ruleset does not exist, an empty ruleset
with the number ruleset is created. See
for more information on working with devfs rulesets.
To mount a
- The normal
devfs mount point.
devfs volume located on
mount -t devfs devfs
devfs file system first appeared in
FreeBSD 2.0. It became the preferred method for
accessing devices in FreeBSD 5.0 and the only method
in FreeBSD 6.0. The
manual page first appeared in FreeBSD 2.2.