freebsd-skq/sbin
ken d6e8bd4cd5 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 Removal of sys/device.h 1999-10-05 21:19:41 +00:00
clri $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
comcontrol Remove outdated BUGS section. We'll never rename comcontrol to siocontrol. 2000-05-04 16:48:33 +00:00
cxconfig $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dhclient $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
disklabel Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-05-09 13:46:14 +00:00
dmesg $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dump Update device name. 2000-05-07 09:27:53 +00:00
dumpfs $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
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 Yesterday I had to fix a badly broken disk, and found that fsck kept dying: 2000-02-28 20:02:41 +00:00
fsck_ffs Yesterday I had to fix a badly broken disk, and found that fsck kept dying: 2000-02-28 20:02:41 +00:00
fsck_ifs Yesterday I had to fix a badly broken disk, and found that fsck kept dying: 2000-02-28 20:02:41 +00:00
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 Add MAINTAINER tag. 1999-12-15 19:48:02 +00:00
ipfstat Add MAINTAINER tag. 1999-12-15 19:48:02 +00:00
ipfw Remove extraneous Dv macro that slipped in, in rev 1.64. 2000-05-03 08:59:44 +00:00
ipmon Add ipl.4 manpage 2000-02-09 21:01:35 +00:00
ipnat Add MAINTAINER tag. 1999-12-15 19:48:02 +00:00
kget Now that we have uc_device.h, use that instead of hard-coding struct 2000-03-24 21:39:09 +00:00
kldload Add cross-references to respective syscalls. 1999-09-03 16:40:24 +00:00
kldstat Properly align the columns of the header on Alpha. 1999-12-04 13:36:22 +00:00
kldunload Fixed bitrot in usage message (-n is now optional). 1999-09-08 05:46:47 +00:00
ldconfig Remove more single-space hard sentence breaks. 2000-03-06 09:45:37 +00:00
md5 Add -q quite mode. 1999-12-04 01:29:43 +00:00
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 Typo 1999-11-15 03:13:23 +00:00
mount_ext2fs mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_hpfs First version of HPFS stuff. 1999-12-09 19:10:13 +00:00
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* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_umapfs mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_union mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mount_unionfs mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
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 Thresh-out the nfs manual page references a bit 2000-01-13 21:47:21 +00:00
nologin $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
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 Getaddrinfo(), getnameinfo(), and etc support in libc/net. 1999-12-28 02:37:14 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
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 Use 'following' instead of 'follow' in a couple of places for a slightly 2000-02-26 16:55:21 +00:00
tunefs Open the device read-only initially and re-open read-write if necessary 2000-03-14 07:44:32 +00:00
umount Finish up umntall support. init now passed an argument to the 1999-11-22 04:23:11 +00:00
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 Part one of a "fix-and-move". Init(8) had make macros declared here 1997-02-10 17:41:33 +00:00