diff options
author | iedowse <iedowse@FreeBSD.org> | 2003-07-01 17:40:23 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2003-07-01 17:40:23 +0000 |
commit | a627a459f84a3abc8e8fb30ee0148fc52b5b3a77 (patch) | |
tree | 1027d5dd057a3d0ef01110534de81d0fc8bb748b /libexec | |
parent | 8f11363180f469db6f07c7834bdbc137428e8b06 (diff) | |
download | FreeBSD-src-a627a459f84a3abc8e8fb30ee0148fc52b5b3a77.zip FreeBSD-src-a627a459f84a3abc8e8fb30ee0148fc52b5b3a77.tar.gz |
Add a new mount flag MNT_BYFSID that can be used to unmount a file
system by specifying the file system ID instead of a path. Use this
by default in umount(8). This avoids the need to perform any vnode
operations to look up the mount point, so it makes it possible to
unmount a file system whose root vnode cannot be looked up (e.g.
due to a dead NFS server, or a file system that has become detached
from the hierarchy because an underlying file system was unmounted).
It also provides an unambiguous way to specify which file system is
to be unmunted.
Since the ability to unmount using a path name is retained only for
compatibility, that case now just uses a simple string comparison
of the supplied path against f_mntonname of each mounted file system.
Discussed on: freebsd-arch
mdoc help from: ru
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions