1e773aeb99
specific parameter. Tape drives include write protect (WP), Buffered Mode and Speed settings in the device-specific parameter. Clearing this parameter on a mode select can have the effect of turning off write protect or buffered mode, or changing the speed setting of the tape drive. Disks report DPO/FUA support via the device specific parameter for MODE SENSE, but the bit is reserved for MODE SELECT. So we clear this for disks (and other non-tape devices) to avoid potential errors from the target device. sbin/camcontrol/modeedit.c: Clear the device-specific parameter in the mode page header if we're not operating on a tape drive. MFC after: 3 days Sponsored by: Spectra Logic |
||
---|---|---|
.. | ||
attrib.c | ||
camcontrol.8 | ||
camcontrol.c | ||
camcontrol.h | ||
epc.c | ||
fwdownload.c | ||
Makefile | ||
Makefile.depend | ||
modeedit.c | ||
persist.c | ||
progress.c | ||
progress.h | ||
timestamp.c | ||
util.c | ||
zone.c |