freebsd-skq/sbin
dd 045a8bbdf3 Introduce a force option, MD_FORCE, that instructs the driver to
bypass some extra anti-foot-shooting measures.  Currently, its only
effect is to allow detaching a device while it's still open (e.g.,
mounted).  This is useful for testing how the system reacts to a disk
suddenly going away, which can happen with some removeable media.

At this point, the force option is only checked on detach, so it
would've been possible to allow the option to be passed with the
MDIOCDETACH operation.  This was not done to allow the possibility of
having the force flag influence other tests in the future, which may
not necessarily deal with detaching the device.

Reviewed by:	sobomax
Approved by:	phk
2001-08-07 19:23:16 +00:00
..
adjkerntz Fix a prototype and set WARNS=2. 2001-07-15 05:41:57 +00:00
atacontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
atm Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
badsect Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
bsdlabel Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
camcontrol mdoc(7) police: 2001-08-07 15:48:51 +00:00
ccdconfig Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
clri Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
comcontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
cxconfig Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
dhclient beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
disklabel Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
dmesg add -a to usage() 2001-07-14 21:56:04 +00:00
dump Sort options in DESCRIPTION. 2001-07-15 14:00:19 +00:00
dumpfs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
dumpon Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fdisk Fix a number of bugs and annoyances in fdisk, many of which were 2001-08-05 16:24:13 +00:00
fdisk_pc98 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ffsinfo MFS: in HISTORY section, fix release number of first appearance 2001-08-01 12:15:21 +00:00
fsck Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsck_ffs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsck_ifs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsck_msdosfs Document "-F". 2001-07-19 17:06:19 +00:00
fsdb Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fsirand - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
growfs MFS: in HISTORY section, fix release number of first appearance 2001-08-01 12:15:21 +00:00
i386 Fix a number of bugs and annoyances in fdisk, many of which were 2001-08-05 16:24:13 +00:00
ifconfig Spelling. 2001-08-07 11:09:17 +00:00
init mdoc(7) police: 2001-08-07 15:48:51 +00:00
ip6fw mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ipf Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
ipfstat Fixed DPADD. 2001-06-23 09:10:48 +00:00
ipfw mdoc(7) police: 2001-08-07 15:48:51 +00:00
ipmon Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
ipnat Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
kget Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
kldconfig This is actually making its enterance in FreeBSD 4.4. 2001-08-01 05:53:12 +00:00
kldload Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
kldstat Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
kldunload mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ldconfig mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
md5 mdoc(7) police: 2001-08-07 15:48:51 +00:00
mdconfig Introduce a force option, MD_FORCE, that instructs the driver to 2001-08-07 19:23:16 +00:00
mdmfs Document -X. 2001-07-30 09:13:21 +00:00
mknod Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_cd9660 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_ext2fs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_hpfs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_ifs Nuke unused variables. 2001-06-24 23:31:07 +00:00
mount_msdosfs Add KOI8-U tables 2001-07-28 20:50:21 +00:00
mount_nfs Change the foreground mount behaviour so that we keep retrying 2001-07-21 15:38:37 +00:00
mount_ntfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_nullfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_nwfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_portalfs Actually rename FDESC, PORTAL, UMAP and UNION file systems. 2001-05-24 15:20:11 +00:00
mount_std Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_umapfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mount_unionfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mountd Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
natd mdoc(7) police: 2001-08-07 15:48:51 +00:00
newfs Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
newfs_msdos - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
nextboot Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nfsd Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nfsiod Correct cross-reference: 2001-06-07 16:59:19 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nos-tun s/adress/address/ 2001-07-23 12:05:27 +00:00
pc98 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ping mdoc(7) police: 2001-08-07 15:48:51 +00:00
ping6 mdoc(7) police: 2001-08-07 15:48:51 +00:00
quotacheck Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
rcorder Import the NetBSD 1.5 RC system. 2001-06-16 07:16:14 +00:00
reboot mdoc(7) police: 2001-08-07 15:48:51 +00:00
restore Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
route mdoc(7) police: 2001-08-07 15:48:51 +00:00
routed mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
rtsol Sync with recent KAME. 2001-06-11 12:39:29 +00:00
savecore mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
setkey mdoc(7) police: 2001-08-07 15:48:51 +00:00
shutdown mdoc(7) police: 2001-08-07 15:48:51 +00:00
slattach Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
spppcontrol Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
startslip mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
swapon Set WARNS=2 on programs which compile cleanly. 2001-07-15 10:30:46 +00:00
sysctl Document the deprecated `-w' option in the COMPATIBILITY section. 2001-08-02 12:38:23 +00:00
tunefs sprintf -> snprintf 2001-07-24 11:40:18 +00:00
umount Fix some bugs and general brain damage in mounttab: 2001-07-22 12:17:51 +00:00
vinum Add some features to libdevstat, and overhaul the interface a bit: 2001-08-04 18:25:48 +00:00
Makefile Fix disordering. 2001-07-09 11:06:47 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00