summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2007-07-10 15:46:54 +0000
committerhenning <henning@openbsd.org>2007-07-10 15:46:54 +0000
commit03b2dfbf76ec07a5655d484d21c93ab50909c091 (patch)
treeae3fe2c380d03569158abe5a6040ab5066073236 /lib
parentDon't brelse() a buf we don't own in readsgilabel() by mistake. (diff)
downloadwireguard-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