summaryrefslogtreecommitdiff
path: root/sbin/bioctl
AgeCommit message (Collapse)Author
2015-05-30fix usage();Jason McIntyre
2015-05-29Initial addition of ``Patrol Read'' support in bio(4), biocto(8), andMasao Uebayashi
mfi(4). Based on FreeBSD, but done without mfiutil(8). OK deraadt@
2015-05-11explicit_bzero(3) on private data, in case of core dumps (and being a good ↵Martin Pelikan
example) ok florian jsing
2015-04-11Re-enable the RAID 5 discipline for softraid(4).Joel Sing
The RAID 5 implementation has been largely rewritten during the last two hackathons in Dunedin - it now needs further testing and usage.
2015-03-18Sort getopt() string.Masao Uebayashi
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-10-08tedu the tedu code that tedu forgot to tedu when he tedued the other partJoel Sing
of this tedu code.
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org)
2014-04-22malloc/memset -> calloc. from peter maloneTed Unangst
2014-01-18Disable the RAID 5 discipline in bioctl, as the current softraid RAID 5Joel Sing
discipline will more than likely eat data if a drive is lost. Discussed with krw@
2014-01-18Remove the RAID 4 discipline from softraid. Anyone sensible would use RAIDJoel Sing
5 instead of RAID 4, assuming both were functional. Discussed with krw@
2014-01-18Remove -Wbounded: it is now the compiler default.Martynas Venckus
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
Careful second audit by millert
2013-11-11oops, forgot a #ifdef AOE in last commitTheo de Raadt
2013-11-04substantial namespace cleanup. Might go a little bit too far, but weTheo de Raadt
can expose some of the kernel structures with split .h files if need be. Discussed with various, including jsing.
2013-10-31Make sure -v output is properly aligned with the normal output.Mark Kettenis
2013-10-23Add support for displaying the cache write policy of RAID volumes to bioctl(8)Mark Kettenis
and make mfi(4) pass up the necessary information. Adding support for other RAID controllers is left as an excercise to the reader. ok deraadt@
2013-08-11capitalize RAID in one spot.Brad Smith
2013-07-16Add missing .Mt macros for AUTHORS email addresses.Ingo Schwarze
From Jan Stary <hans at stare dot cz>. ok jmc@
2012-09-22last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-09-10Only keep track of the bio(4) cookie, not an entire bio_locate struct.Joel Sing
2012-09-06move pkcs5_pbkdf5 function to libutil so everybody can play with itTed Unangst
ok deraadt jsing matthew
2012-06-28prevent salt_len overflow; reported by andrew nelless, ok otto, teduMike Belopuhov
2012-04-19clear memory before passing to ioctl routines instead of praying itTheo de Raadt
will be ok and not break things upon return. ok claudio
2012-01-29use Pp, not blank lines;Jason McIntyre
2012-01-29Add CAVEAT that only 512-byte sector devices are supported.Kenneth R Westerback
ok jsing@ jmc@
2012-01-29Remove -Werror so that we do not break builds on systems running withJoel Sing
WARNINGS=yes. Found the hard way by nicm@ ok nicm@
2012-01-22If no controller name is provided, use the program name as a prefix. Also,Joel Sing
exit with an "unknown error" if a bio(4) error is reported but no status message has been provided.
2012-01-20Teach bioctl(8) about the new status interface for bio(4). With theJoel Sing
exception of a few messages specific to softraid(4) CRYPTO, there should be no functional change for drivers that do not yet implement the interface (which is currently all of them).
2012-01-17Move the bio(4) cookie into a separate struct and make this struct theJoel Sing
first member of each ioctl data structure. This will allow for future changes to bio(4) status handling.
2012-01-17CONCAT requires at least two disks.Joel Sing
2012-01-07Move -O to the correct section.Joel Sing
Spotted by jmc@
2012-01-07Provide a bioctl(8) option that changes the state of a chunk to offline.Joel Sing
man page part with todd@
2011-12-31Implement a concatenating discipline for softraid.Joel Sing
Many thanks to Marco Peereboom for his assistance with testing and debugging. Thanks also to Josh Grosse and Chris Jackman for testing.
2011-08-01Add missing closing braces in usage().Matthieu Herrb
Ok jmc@ (who also pointed me to the 2nd missing one) sobrado@.
2011-07-09Add a missing prototype, fix build with WARNINGS=yes.Nicholas Marriott
2011-07-08add basic config support for creating aoe disks. ok marcoTed Unangst
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