freebsd-dev/sbin
Ian Dowse 318f2fb4bf 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
2003-07-01 17:40:23 +00:00
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol DOnt allow getting caps from other than master and slave device :) 2003-05-05 10:28:37 +00:00
atm Use size_t type vars in sizeof contexts. 2003-05-02 06:46:24 +00:00
badsect Add section number to .Xr 2003-06-08 12:40:50 +00:00
bsdlabel Augh! Fix the sparc64 build: 2003-06-07 22:02:01 +00:00
camcontrol Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcam 2003-06-14 05:28:01 +00:00
ccdconfig Be consistent about module names. 2003-06-09 21:50:41 +00:00
clri Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
comcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
conscontrol The .Nm utility 2002-07-06 19:34:18 +00:00
cxconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
devd mdoc(7) fixes: Expand contraction. 2003-05-17 22:21:27 +00:00
devfs Xref police: chmod(8) -> chmod(1). 2003-06-17 09:53:03 +00:00
dhclient Tweak a couple of utilities so they compile cleanly for /rescue. Mostly 2003-06-29 18:46:18 +00:00
disklabel Add a newline at end of file. 2003-05-19 19:52:29 +00:00
dmesg Replace the code for reading and writing the kernel message buffer 2003-06-22 02:18:31 +00:00
dump Add section number to .Xr 2003-06-08 12:51:28 +00:00
dumpfs Marshal newfs -L (filesystem volume names), the names are not marshalled 2003-06-09 09:26:02 +00:00
dumpon Bring the dumpon(8) man page closer to reality: 2003-05-07 19:37:51 +00:00
fdisk Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fdisk_pc98 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
ffsinfo style clean. 2003-06-11 23:24:31 +00:00
fsck Convert fsck and mount to using execvP to find fsck_foo and mount_foo. 2003-06-29 17:53:48 +00:00
fsck_ffs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fsck_msdosfs mount_msdos -> mount_msdosfs 2003-06-08 12:53:07 +00:00
fsdb I forgot fsdb was still sharing files with fsck. 2002-09-16 14:18:43 +00:00
fsirand Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
gbde Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
gpt Assorted mdoc(7) fixes. 2003-06-02 11:19:24 +00:00
growfs Remove references to ffsinfo(8) for now. It was disconnected from 2003-06-17 19:21:43 +00:00
ifconfig o update for new 802.11 support 2003-06-28 06:23:40 +00:00
init Add section number to .Xr 2003-06-08 12:51:28 +00:00
ip6fw Make -N option work. 2003-03-25 11:27:46 +00:00
ipf Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfw remove extra whitespace and blank lines 2003-06-27 17:18:14 +00:00
ipmon Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipnat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
kldconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldstat Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldunload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ldconfig Describe the pattern filenames must be in before they are added to the hints 2003-05-08 17:25:41 +00:00
mca o Replace 'struct uuid' with 'uuid_t', 2002-11-01 06:34:35 +00:00
md5 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mdconfig Add "-n" argument, which causes mdconfig to simply print the unit 2003-06-11 06:38:24 +00:00
mdmfs Remove pathnames.h. 2003-06-29 19:03:52 +00:00
mknod Remove some more MAKEDEV information. 2003-03-25 18:43:10 +00:00
mksnap_ffs mdoc(7) fixes. 2003-05-24 19:53:08 +00:00
mount Convert fsck and mount to using execvP to find fsck_foo and mount_foo. 2003-06-29 17:53:48 +00:00
mount_cd9660 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_ext2fs Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
mount_hpfs english(4) police. 2002-12-27 12:15:40 +00:00
mount_msdosfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nfs mdoc(7) markup overhaul. 2003-05-17 22:53:44 +00:00
mount_ntfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nullfs The .Xr utility 2003-02-05 13:50:41 +00:00
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs This really isn't WARNS clean. 2002-12-30 09:38:46 +00:00
mount_std Take sizeof() the right string for fspath's iovec. The old string was the 2002-11-05 20:06:01 +00:00
mount_udf mount_udf(8) is currently not in 4.X, so obviously it did not first appear 2002-12-12 05:56:36 +00:00
mount_umapfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
mount_unionfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
natd If the -proxy_only option is used, the -alias_address/-interface 2003-06-13 22:15:42 +00:00
newfs When newfs'ing a partition with UFS2 that had previously been newfs'ed 2003-05-22 18:38:54 +00:00
newfs_msdos Additional PC98 option is not needed. 2003-01-30 15:09:21 +00:00
nfsiod Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nos-tun Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 19:46:20 +00:00
ping The current recommended default time to live (TTL) for the Internet 2003-06-25 13:02:18 +00:00
ping6 corrected buffer lengths for memset() 2002-12-06 02:11:31 +00:00
quotacheck Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
raidctl Fixed troff(1) and mdoc(7) warnings. 2003-05-18 21:05:22 +00:00
rcorder mdoc(7) police: Fixed markup now that it was taken out of vendor branch. 2002-11-25 16:23:03 +00:00
reboot Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
restore Add section number to .Xr 2003-06-08 12:51:28 +00:00
route There is an undocument feature that ``route -vnd flush'' prints 2003-04-16 12:06:53 +00:00
routed The .Xr utility 2003-06-08 12:55:55 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
setkey Use NI_xxx macros. 2003-04-16 09:53:29 +00:00
shutdown Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
slattach Change this: 2003-01-08 06:43:27 +00:00
spppcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
startslip Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
sunlabel Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
swapon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
sysctl Tighten up the string->integer conversion in sysctl(8): 2003-06-15 06:26:08 +00:00
tunefs Remove another reference to ffsinfo.8 2003-06-17 22:47:11 +00:00
umount Add a new mount flag MNT_BYFSID that can be used to unmount a file 2003-07-01 17:40:23 +00:00
vinum Remove label command. It has been deprecated since December 1998, and 2003-06-12 05:55:59 +00:00
Makefile Compile sunlabel on all archs. 2003-06-17 09:12:42 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00