mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
26a0ee75c6
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 |
||
---|---|---|
.. | ||
Makefile | ||
mdconfig.8 | ||
mdconfig.c |