summaryrefslogtreecommitdiff
path: root/sbin/bioctl
AgeCommit message (Collapse)Author
2007-07-11put -q in the right place;Jason McIntyre
2007-07-10implement -q to query a scsi disk for its inquiry data (vendor, model,Henning Brauer
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
2007-06-04- remove an extraneous .BlJason McIntyre
- -C before -c
2007-06-04document -C option of bioctlTodd T. Fries
use a simpler form of options with variable number of args suggestions jmc@ ok marco@
2007-06-01support for softraid level 'c'.Ted Unangst
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31typo, ok tedu@Alexander von Gernler
2007-05-28Make disk assembly smarter and add two qualifiers to it:Marco Peereboom
1) noautoassemble; when set the softraid volume will not be assembled during autoconf. 2) force; when set it will overwrite metadata on disk While writing this I ran into 3 bugs that were fixed along the way 1) bcopy in sr_read_meta was copying data to the wrong pointer 2) in sr_read_meta the wrong metadata was coppied into the chunk 3) sr_free_discipline was freing a pointer that wasn't malloc'd ok dlg
2007-05-23Remove all vnode dependencies so that we can bootstrap softraid volumes.Marco Peereboom
Code from tedu. Replace all kernel string magic with dev_t passed in from bioctl. Suggestion from beck and tedu. Help from miod. Fix chunk crc. ok tedu
2007-04-23remove -D stuff which is just silly, imagine if ls had a debug mode; ok marcoTheo de Raadt
2007-03-20further clean usage(); ok toddJason McIntyre
2007-03-20sync usage() w/ synopsis;Jason McIntyre
2007-03-20tweaks;Jason McIntyre
2007-03-20document softraid and bioctl creation of softraidTodd T. Fries
ok marco@, help from jmc@
2007-03-19Add a new device that provides a framework for IO manipulation. A very basicMarco Peereboom
implementation of a RAID 1 is included in this but it does not deal with failures yet. Disabled in GENERIC. Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@
2006-11-26repair missing DPADD requestsTheo de Raadt
2006-09-03Add driversMarco Peereboom
ok jmc miod
2006-08-28proper justify the size caption to match numbers justification; deraadt@ okMichael Shalayeff
2006-08-28Except I disagree strongly, and I was not askedTheo de Raadt
2006-08-27proper justify the size caption to match numbers justification; krw@ okMichael Shalayeff
2006-06-30-.Xr mpt 4 ,Jason McIntyre
2006-06-18append to CFLAGS instead of overwritingDavid Krause
ok kettenis@ miod@
2006-05-26Assign locator.target to blink structure.Marco Peereboom
2006-05-25handle Online/Scrub SD state for marcoTheo de Raadt
2006-05-25more room for seconds stringTheo de Raadt
2006-05-25print seconds of progress, if driver makes it available; ok marcoTheo de Raadt
2006-05-25handle new volume status, and print % if known; ok marcoTheo de Raadt
2006-05-07Add a little debug to test BIOCINQ primitive.Marco Peereboom
2005-10-04wording from simon kuhnle (pr #4530);Jason McIntyre
2005-08-23disable -B support for now; ok dlgTheo de Raadt
2005-08-23repair warnx() misusesTheo de Raadt
2005-08-22fix Xr;Jason McIntyre
2005-08-22spellingDavid Krause
2005-08-21try to blink the device given on the command line before walking inquiriesDavid Gwynne
on the device looking for an enclosure. this allows bioctl -b 0:0 ses0 to work as well as bioctl -b 0:0 sd0/ami0. ok deraadt@
2005-08-21device may be {ses,safte}# as well, for slot-operationsTheo de Raadt
2005-08-19if Unused is .Dq, then so is Hot Spare..Theo de Raadt
2005-08-19- sort optionsJason McIntyre
- tighten up a list - reference ses(4) and safte(4) in SEE ALSO
2005-08-18sync with new functionality, and add a bit more meatTheo de Raadt
2005-08-18add support to stop blinking (-u) or use the alarm LED instead (-B)Theo de Raadt
2005-08-18better diagnostics in case of bad arguments; ok dlgTheo de Raadt
2005-08-18rework the addressing for blinking to make it like the hotsparesDavid Gwynne
help from and ok deraadt@
2005-08-18if you show an example, BE CORRECT DAMNITTheo de Raadt
2005-08-18tweak SYNOPSIS;Jason McIntyre
2005-08-18a step towards where dlg is heading next + knfTheo de Raadt
2005-08-18very basic blink support.David Gwynne
some manpage tweaks from jmc@
2005-08-18- mark up argumentJason McIntyre
- missing full stop at end of sentence
2005-08-18Add "create hot spare" ok dlg@Marco Peereboom
2005-08-17Add support for unused disks.Marco Peereboom
Fix SCSI string madness (by deraadt). Add some debug statements in bioctl.
2005-08-15if bv_level is -1, it is a hot spare; ok marcoTheo de Raadt
2005-08-09sort options;Jason McIntyre