summaryrefslogtreecommitdiff
path: root/sbin/bioctl
AgeCommit message (Collapse)Author
2008-09-02devname -> devicename to prevent shadowing devname(3); ok marco@Darren Tucker
2008-08-22- -R before -r in SYNOPSIS/usage()Jason McIntyre
- avoid marking up `|'
2008-08-22Add a hack to manually kick off rebuilds. This will need some love in theMarco Peereboom
near future. ok deraadt
2008-08-11Undo last commit; deraadt didn't like it.Marco Peereboom
2008-08-11Add infrastructure to manually kick off rebuilds.Marco Peereboom
2008-07-21spelling fix from Mark Pecaut;Jason McIntyre
2008-07-02string munging: say 'CRYPTO' not 'RAID67'Todd T. Fries
ok marco@
2008-06-24- document the raidlevelsJason McIntyre
- tweak CAVEATS, as requested by marco ok hshoexer marco
2008-06-15fix usage();Jason McIntyre
2008-06-15When generating a new volume, ask the user to re-type the passphrase forHans-Joerg Hoexer
verification. ok djm
2008-06-14Provide a status field for operations on the bc_opaque data. Now we'reHans-Joerg Hoexer
able to distinguish cleanly an failing ioctl (ie. return value -1) from trying to retrieve a KDF hint from a not yet initialized volume. ok marco djm
2008-06-14add a -r option to specify the number of PKCS5 PBKDF2 iterations usedDamien Miller
to derive the password (minimum: 1000, maximum: more than you want) ok hshoexer@
2008-06-14Replace PBKDF2 implementation pulled in from vnconfig with oneDamien Miller
derived from Damien Bergamini's wpa-psk. This implementation is smaller, cleaner and uses the libc SHA1 functions instead of pulling in OpenSSL. make bioctl.c -Wall clean too Verified with rfc3962 test vectors and against a assembled cryptoraid; ok hshoexer@
2008-06-14Update bioctl(8) and softraid(4) to recent changes and enable softraidHans-Joerg Hoexer
crypto. It's still considered experimental! ok djm marco
2008-06-14friendly error message when key decryption fails; ok hshoexer@Damien Miller
2008-06-13Implement pbkdf2 in in bioctl to derive master key from a passphrase.Hans-Joerg Hoexer
ok marco djm
2008-06-12-d tweaks;Jason McIntyre
2008-06-12Add blurb for delete volumeMarco Peereboom
2008-06-12Add delete volume functionality.Marco Peereboom
discussed with krw, kettenis & drahn ok hshoexer
2008-01-19Add initial scaffold for RAID 0. No IO just yet.Marco Peereboom
Much prodding todd
2007-11-21back out previous: henning says it's wrong;Jason McIntyre
2007-11-21note that -q is the default if no other options are specified; ok dlgJason McIntyre
2007-09-08make bioctl behave like a unix program and exit 1 on errorHenning Brauer
ok deraadt, silence dlg marco
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