MOUNT_STD(8)

NAME
mount_std, mount_devfs, mount_fdesc, mount_kernfs, mount_procfs - mount ``standard'' filesystems

SYNOPSIS
mount_fsname [-o options] fs mount_point

DESCRIPTION
The mount_std command is a generic mechanism for attaching ``standard'' filesystems to the filesystem. The mount_std command currently supports the following filesystems: devfs, fdesc, kernfs and procfs. A ``standard'' filesystem is one which:

1.  accepts only the standard -o options “ro” (``rdonly''), “rw”, “nodev”, “noexec”, “nosuid”, and “union”.

2.  has a kernel filesystem module name the same as its user-visible name.

3.  requires no other special processing on the part of the mount_std command.

The options are as follows:

-o  Options are specified with a -o flag followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings.

The mount_std command examines its zeroth command-line argument (the name by which it was called) to determine the type of filesystem to be mounted. If it is called by a name which does not end in “_fsname”, mount_std will assume (for compatibility with mount(8)) that the zeroth argument contains only the name of the filesystem type. The mount_std command is normally installed with appropriate links to commands for the distributed filesystems which can be mounted in this way; for information on the function of each filesystem, see the manual page for that specific mount_fsname command.

Refer to the following manual pages for detailed information on these file system: devfs(5), fdesc(5), kernfs(5) and procfs(5).

DIAGNOSTICS

argv[0] must end in _fsname The mount_std command was called with a zero'th argument of “mount_std”.

vfsload(%s) mount_std was unable to load a kernel module implementing the %s filesystem type.

%s filesystem not available The specified filesystem type was not present in the kernel and no loadable module for it was found.

SEE ALSO
mount(2), unmount(2), getvfsbyname(3), devfs(5), fdesc(5), fstab(5), kernfs(5), procfs(5), mount(8)

CAVEATS
None of the ``standard'' filesystems may be NFS-exported.

HISTORY
The mount_std utility first appeared in FreeBSD 2.2. Loadable filesystem modules first appeared in FreeBSD 2.0. The “fdesc”, “kernfs”, and “procfs” filesystem types first appeared in FreeBSD 2.0; the “devfs” filesystem type first appeared in FreeBSD 2.2.