freebsd-dev/sbin
Kenneth D. Merry 96a93c63a8 Implement a new camcontrol function, 'camcontrol format'.
libcam/Makefile:	Add scsi_da.c to libcam for the new
			scsi_format_unit() function.

camcontrol.8:		Update the man page for the new format
			functionality, and take out the examples section
			describing how to do it with 'camcontrol cmd'.

camcontrol.c:		New format functionality.  Note that unlike the
			rest of the camcontrol subcommands, this one is
			interactive by default.  Because of the potential
			destructiveness of the format command, I thought
			it necessary to get confirmation from the user
			before spamming a disk.  You can disable the
			interactive behavior, and the status meter with
			command line arguments.

scsi_da.c:		Add the new scsi_format_unit() cdb building
			function and use #ifdef _KERNEL to make this file
			compile in both the kernel and userland.  The
			format unit function is currently only defined in
			the non-kernel case, because nothing in the kernel
			is using it.  If that changes, it should be
			un-ifdefed and compiled in both cases.

scsi_da.h:		New function declaration, CDB structure and format
			data structures.

Thanks to Nick Hibma for providing some valuable input on these changes.
2000-05-21 23:57:52 +00:00
..
adjkerntz Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
atm Remove unused #include. 2000-05-01 19:39:36 +00:00
badsect Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
bsdlabel Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
camcontrol Implement a new camcontrol function, 'camcontrol format'. 2000-05-21 23:57:52 +00:00
ccdconfig
clri
comcontrol Remove outdated BUGS section. We'll never rename comcontrol to siocontrol. 2000-05-04 16:48:33 +00:00
cxconfig
dhclient
disklabel Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
dmesg
dump Update device name. 2000-05-07 09:27:53 +00:00
dumpfs
dumpon Remove unused #include. 2000-05-01 19:39:36 +00:00
fdisk Fix nits in previous commit: restore option ordering of the option 2000-03-13 10:55:21 +00:00
fdisk_pc98 Added PC98 version of fdisk. 2000-03-18 16:48:41 +00:00
fsck
fsck_ffs
fsck_ifs
fsdb Remove unused includes. 2000-05-01 20:01:16 +00:00
fsirand Remove unused include. 2000-05-01 20:20:05 +00:00
i386 Fix nits in previous commit: restore option ordering of the option 2000-03-13 10:55:21 +00:00
ifconfig Document "-alias". 2000-05-20 18:05:24 +00:00
init Remove unused include. 2000-05-01 20:20:05 +00:00
ip6fw mdoc(7) style fixes and cleanup 2000-05-04 17:34:31 +00:00
ipf
ipfstat
ipfw Remove extraneous Dv macro that slipped in, in rev 1.64. 2000-05-03 08:59:44 +00:00
ipmon
ipnat
kget Now that we have uc_device.h, use that instead of hard-coding struct 2000-03-24 21:39:09 +00:00
kldload
kldstat
kldunload
ldconfig Remove more single-space hard sentence breaks. 2000-03-06 09:45:37 +00:00
md5
mknod Spelling fix. 2000-03-24 01:22:53 +00:00
mount Removed xref to mount_lfs, this died in 2.mumble. 2000-04-30 22:08:13 +00:00
mount_cd9660
mount_ext2fs
mount_hpfs
mount_ifs Removed xref to mount_lfs, this died in 2.mumble. 2000-04-30 22:08:13 +00:00
mount_msdos Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_msdosfs Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_nfs Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
mount_ntfs Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_null Fix a bunch of typos. 2000-05-15 14:55:56 +00:00
mount_nullfs Fix a bunch of typos. 2000-05-15 14:55:56 +00:00
mount_nwfs Pass timezone information to an nwfs mount. 2000-04-05 10:48:53 +00:00
mount_portal Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_portalfs Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
mount_std Mention linprocfs. 2000-03-25 13:46:16 +00:00
mount_umap
mount_umapfs
mount_union
mount_unionfs
mountd Correct an xref. 2000-05-05 02:25:19 +00:00
natd Add new option (-target_addr) to control how to deal with incoming packets 2000-05-18 10:31:10 +00:00
newfs Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
newfs_msdos Update device names in examples. 2000-05-07 09:08:31 +00:00
nextboot Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
nfsd Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
nfsiod
nologin
nos-tun Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
pc98 Added PC98 version of fdisk. 2000-03-18 16:48:41 +00:00
ping Use CMSG_LEN() to compute ping SCM_TIMESTAMP cmsg_len. 2000-03-14 17:37:19 +00:00
ping6 Fix typo 2000-05-06 14:20:07 +00:00
quotacheck Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
reboot .Xr boot0cfg 8 , 2000-05-13 14:41:04 +00:00
restore Update references to disk and tape devices. 2000-05-07 09:16:56 +00:00
route Clear sin6_scope_id before passing routes into kernel, becaues kernel 2000-03-11 20:52:01 +00:00
routed Add new rtmsg types which already defined in kernel. 2000-03-30 07:18:04 +00:00
rtsol
savecore Tidy up the offset calculations. 2000-05-09 22:20:14 +00:00
setkey Typo: "ealgo" -> "aalgo" 2000-05-15 14:16:30 +00:00
shutdown
slattach Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 11:27:47 +00:00
spppcontrol Supply only one author name per instance of %A, as per mdoc.samples(7). 2000-05-10 09:49:04 +00:00
startslip Fixes a potential buffer overflow with the pid filename. 2000-04-30 21:04:36 +00:00
swapon Add include of errno.h where needed, remove extern int errno where not. 2000-04-14 06:15:01 +00:00
sysctl
tunefs Open the device read-only initially and re-open read-write if necessary 2000-03-14 07:44:32 +00:00
umount
vinum Add external for -i option. 2000-05-11 08:57:09 +00:00
Makefile Activate the pc98 directory. 2000-03-18 16:49:22 +00:00
Makefile.inc