summaryrefslogtreecommitdiff
path: root/sbin/bioctl
AgeCommit message (Collapse)Author
2011-07-04use stronum, removing an atoi from the tree. ok deraadt matthewTed Unangst
2011-04-04give more space when printing volumes to allow softraid0 to fitjoshua stein
ok marco@
2010-12-22-s carries the same caveat as -p; from Jiri B.Jason McIntyre
ok krw
2010-12-01Allow add a -s switch to make bioctl read the passphrase from stdin. HandyChris Kuethe
for scripting a big batch of remote unlocks. ok marco
2010-11-20Explain how to start a rebuild in a more obvious way and add an example.Stefan Sperling
help and ok marco@ jsing@ jmc@
2010-09-13various tweaks, based on a diff from Chris Palmer;Jason McIntyre
ok marco
2010-07-10Eliminate some unnecessary #include lines.Matthew Dempsky
"sure" marco@
2010-07-01Use opendev(3) when handling key disks so that disklabel UIDs areJoel Sing
supported. ok marco@
2010-06-22rename devname->devicename to prevent shadowing devname(3). ok marco jsingDarren Tucker
2010-06-18Make bioctl(8) disklabel UID friendly by attempting to open the deviceJoel Sing
using opendev(3) first and then trying /dev/bio if that failed. Also use opendev(3) when getting device numbers for softraid. ok marco@
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include <sys/dkio.h> to the places that actually want and use the disk ioctls. this became an issue when krw@'s X build failed when he was testing a change to dkio.h. tested by krw@ help from and ok miod@
2010-04-03scsi_all.h is needed before scsi_disk.h now. ok marcoNicholas Marriott
2010-01-08"Too less" => "Too few"Alexander Hall
ok marco@
2010-01-03Nuke some unused variables, ok marcoNicholas Marriott
2009-12-31use the same arg name for -k as the man page;Jason McIntyre
2009-12-31Add support for key disks. This allows a crypto volume to be constructedJoel Sing
without using a passphrase - instead the encryption mask key is stored on the specified key disk partition (ideally being one on a removable device). This also enables automatic assembly of crypto volumes at boot time. ok marco@
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hIgor Sobrado
as neither arrayified not arrayfied exist -- sanctioned dictionaries like Merriam-Webster ones suggest a few alternatives (e.g., arrayed), however these made up words are easy to understand and we are not certain that current ones are not ok. ok jmc@
2009-12-19Explain what 'noauto' really does.Joel Sing
ok marco@
2009-11-25Move the -p option to the correct place.Joel Sing
ok jmc@
2009-11-24put -P in the right place;Jason McIntyre
2009-11-24Allow the passphrase to be changed on softraid crypto volumes. Ensure thatJoel Sing
you backup your data and lock up your pets prior to using this. Tested by todd@ ok marco@
2009-10-25Somehow during my testing I missed a test case where an existing cryptoMarco Peereboom
volume could no longer be brought up. Found by Pedro la Peu <pedro@am-gen.org>, thanks for the report.
2009-10-22tweak previous; ok marcoJason McIntyre
2009-10-21Add delete example since it has come up several times.Marco Peereboom
2009-10-21Add passphrase file for crypto volume bring-up. Proded and ok deraadtMarco Peereboom
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