diff options
author | 2007-07-10 15:46:54 +0000 | |
---|---|---|
committer | 2007-07-10 15:46:54 +0000 | |
commit | 03b2dfbf76ec07a5655d484d21c93ab50909c091 (patch) | |
tree | ae3fe2c380d03569158abe5a6040ab5066073236 /lib | |
parent | Don't brelse() a buf we don't own in readsgilabel() by mistake. (diff) | |
download | wireguard-openbsd-03b2dfbf76ec07a5655d484d21c93ab50909c091.tar.xz wireguard-openbsd-03b2dfbf76ec07a5655d484d21c93ab50909c091.zip |
implement -q to query a scsi disk for its inquiry data (vendor, model,
revision, serial #) and print that.
when the default bio ioctl fails with ENOTTY because the given disk is not
on a bio-supported raid controller, fall back to -q.
use strnvis to sanitize inquiry data so it is safe to use in scripts.
ok deraadt
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions