NetBSD/sbin
xtraeme 481db08b0a Rewrite bioctl(8) and add support for the following features:
- Ability to add/remove hot-spare disks (previously only 'add' was accepted).
- Ability to add/remove pass-through disks.
- Ability to create/remove RAID volumes with optional size, stripe, level,
  member disks and others.
- Ability to start/stop consistency checks in a RAID volume.
- Ability to show only information about physical disks, volumes or both.

Rather than using multiple flags, the utility has been modified to use
the same mode than dkctl(8) (and maybe others), i.e:

$ ./bioctl
usage: bioctl device command [arg [...]]
Available commands:
  show [disks] | [volumes]
  alarm [enable] | [disable] | [silence] | [test]
  blink start | stop [channel:target[.lun]]
  hotspare add | remove channel:target.lun
  passthru add DISKID | remove channel:target.lun
  check start | stop VOLID
  create volume VOLID DISKIDs [SIZE] STRIPE RAID_LEVEL channel:target.lun
  remove volume VOLID channel:target.lun
$

I'll add support for other features soon.
2008-01-02 23:45:06 +00:00
..
amrctl
apmlabel Nuke extra comma in Xrefs. 2007-06-25 00:41:50 +00:00
atactl replace instances of __attribute__((__packed__)) with __packed 2007-12-15 16:03:29 +00:00
badsect
bim
bioctl Rewrite bioctl(8) and add support for the following features: 2008-01-02 23:45:06 +00:00
brconfig Bump date for previous. 2007-01-08 07:22:12 +00:00
ccdconfig Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
cgdconfig simplify and fix the combination code. Hi pooka. 2007-11-11 22:44:12 +00:00
chkconfig
clri
disklabel Let the operator use the DISKLABELSECTOR and DISKLABELOFFSET 2007-06-05 21:48:46 +00:00
dkctl
dkscan_bsdlabel Use CPPFLAGS, not COPTS, and ${NETBSDSRCDIR}, not "../..". This 2007-03-02 04:03:17 +00:00
dmesg
drvctl drvctl 4 does not exist. 2007-03-10 20:32:26 +00:00
dump Convert a couple of "(void)&" constructs to volatile. 2006-12-18 20:07:32 +00:00
dump_lfs
edlabel
fastboot
fdisk Remove note about the first track being reserved for the BIOS (it's 2007-12-23 10:47:42 +00:00
fsck __attribute -> __attribute__. 2007-09-15 14:35:33 +00:00
fsck_ext2fs Use h2fs32() rather than fs2h32() on host to disk conversion. 2007-12-22 01:19:52 +00:00
fsck_ffs Avoid zero-divides from Anon Ymous 2007-08-22 16:30:28 +00:00
fsck_lfs Make it build with src/sys from the vmlocking2 branch. 2007-12-28 21:44:32 +00:00
fsck_msdos Change mismatch of bytes 11 to 90 to be a warning, not an error, and 2007-03-19 18:30:40 +00:00
fsdb Remove unused ctype.h 2007-03-10 01:16:17 +00:00
fsirand include <signal.h> where signal(3) is used 2007-02-08 21:36:58 +00:00
gpt As discussed on tech-userlevel, add NetBSD GPT partition types for 2007-12-28 19:53:09 +00:00
ifconfig Add support for the command list scan in ifconfig (this command permits to scan 2007-12-16 13:49:21 +00:00
init Sort xrefs. 2007-12-15 21:44:15 +00:00
ldconfig
mbrlabel
mknod Use block minor (from device name) for block devices (not char minor). 2007-07-07 20:11:07 +00:00
modload
modunload
mount Explain that nosuid,nodev is also needed for non-privileged mounts. 2007-08-01 08:51:24 +00:00
mount_ados Rescue the subjunctive. 2007-07-30 05:00:55 +00:00
mount_cd9660 Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_efs Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_ext2fs Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_fdesc Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_ffs Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_filecore Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_hfs de-__P, ansify prototypes 2007-12-15 20:36:11 +00:00
mount_kernfs kernfs doesn't support getargs, so fail silently instead of making 2007-07-16 17:09:42 +00:00
mount_lfs Don't attempt to start megamaid if run with MNT_GETARGS. 2007-07-17 12:39:24 +00:00
mount_msdos convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
mount_nfs remove an unused variable, nfsproto. 2007-11-30 16:13:15 +00:00
mount_ntfs convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
mount_null Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_overlay Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_portal Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_procfs Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_ptyfs Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_smbfs
mount_sysvbfs Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_tmpfs convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
mount_udf convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
mount_umap Make all mount(2) return value error checks against -1. Some file 2007-07-16 17:06:52 +00:00
mount_union Don't re-explain vfs.generic.usermount & friends here. 2007-08-01 08:52:07 +00:00
newbtconf
newfs convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
newfs_ext2fs convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
newfs_lfs Make it build with src/sys from the vmlocking2 branch. 2007-12-28 21:44:32 +00:00
newfs_msdos include <signal.h> where signal(3) is used 2007-02-08 21:36:58 +00:00
newfs_sysvbfs typographical fixes 2007-08-04 10:45:36 +00:00
nologin
pdisk
ping Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ping6 Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
pppoectl Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
raidctl Fix a minor typo: wd0h was repeated, change second instance to wd1h as is likely intended. 2007-12-14 07:24:01 +00:00
rcorder No need to cast pointers to (char *) when passing to free(3). 2007-03-03 00:09:30 +00:00
reboot Document that reboot(8) passes any arguments to reboot(2) as bootstr. 2007-06-03 22:39:47 +00:00
resize_ffs convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
resize_lfs
restore Bump date because of last change. 2007-04-30 12:33:13 +00:00
rndctl
route TSEL() is const char* now 2007-02-18 01:48:37 +00:00
routed convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
rtsol
savecore tyop: _time_seconf -> _time_second 2007-11-12 16:04:55 +00:00
scan_ffs convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
scsictl Bump date for previous. 2007-01-23 20:34:17 +00:00
setkey
shutdown convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
slattach
svhlabel When checking for an EFS filesystem just read in the whole superblock, 2007-06-30 02:05:27 +00:00
swapctl Re-phrase description of -A option, as per suggestion from Jukka Salmi 2007-08-02 18:53:46 +00:00
sysctl PR/35304: C J Coleman: Off-by-one nul byte overwrite in mode_bits routine 2006-12-21 22:25:39 +00:00
ttyflags Remove more duplicate #includes, 2007-01-17 21:59:49 +00:00
tunefs
umount convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
veriexecctl Whitespace and HTML output fixes. 2007-12-13 22:06:45 +00:00
wdogctl Xref itesio(4). 2007-12-29 06:10:29 +00:00
wsconsctl convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
Makefile Descend into newfs_ext2fs(8). 2007-11-17 16:58:30 +00:00
Makefile.inc