summaryrefslogtreecommitdiff
path: root/sbin/bioctl
AgeCommit message (Collapse)Author
2009-07-31Allow hotspares to be added to bio devices rather than requiring an sdJoel Sing
device. "Yeah!" marco@
2009-07-31bioctl.8 should not try to keep track of all devices which can use it;Jason McIntyre
ok marco cnst
2009-07-30Xr cac(4) && mpi(4); ok marcoConstantine A. Murenin
2009-06-23tweak previous;Jason McIntyre
2009-06-18fix crypto raid error messageAlexander Hall
ok marco@
2009-06-17Bring bioctl back to reality by adding rebuild and documenting RAID 4 & 5.Marco Peereboom
ok jordan
2009-06-17Add raid 4 & 5 in createMarco Peereboom
ok jordan
2009-06-13mention the number of special devices requiredAlexander Hall
for the different disciplines.
2009-05-09fix example dd invocation; multipliers (e.g. bs=1m) use lower-case.Stuart Henderson
2009-03-19minor tweaks (sorry grunk!);Jason McIntyre
2009-03-19correct an example in the manpage: after creating a new crypto volume,Alexander von Gernler
it is sufficient to zero the first megabyte of the disk, not the whole disk. ok marco@ mpf@ rainer@ jmc@
2009-02-22split synopsis and the options list according to functionality;Jason McIntyre
diff from Mitja Mu?eni? ok marco
2009-02-09Document that ips has bio support now.Alexander Yurchenko
2009-02-09Add caveat that rebuild is not currently implemented on softraid.Marco Peereboom
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