/freebsd/sys/sys/ |
H A D | mdioctl.h | diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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 diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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
|
/freebsd/sbin/mdconfig/ |
H A D | mdconfig.8 | diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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 diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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
|
H A D | mdconfig.c | diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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 diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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
|
/freebsd/sys/dev/md/ |
H A D | md.c | diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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 diff 26a0ee75c61008e362cf4900298f942b09ebd5e2 Tue Aug 07 21:23:16 CEST 2001 Dima Dorfman <dd@FreeBSD.org> 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
|