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
..
2000-05-01 19:39:36 +00:00
1999-10-05 21:19:41 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
2000-05-07 09:27:53 +00:00
1999-08-28 00:22:10 +00:00
2000-05-01 19:39:36 +00:00
2000-03-18 16:48:41 +00:00
2000-05-01 20:01:16 +00:00
2000-05-01 20:20:05 +00:00
2000-05-20 18:05:24 +00:00
2000-05-01 20:20:05 +00:00
2000-05-04 17:34:31 +00:00
1999-12-15 19:48:02 +00:00
1999-12-15 19:48:02 +00:00
2000-02-09 21:01:35 +00:00
1999-12-15 19:48:02 +00:00
1999-12-04 01:29:43 +00:00
2000-03-24 01:22:53 +00:00
1999-11-15 03:13:23 +00:00
1999-12-09 19:10:13 +00:00
2000-05-15 14:55:56 +00:00
2000-05-15 14:55:56 +00:00
2000-03-25 13:46:16 +00:00
2000-05-05 02:25:19 +00:00
1999-08-28 00:22:10 +00:00
2000-03-18 16:48:41 +00:00
2000-05-06 14:20:07 +00:00
2000-05-13 14:41:04 +00:00
2000-05-09 22:20:14 +00:00
2000-05-15 14:16:30 +00:00
1999-08-28 00:22:10 +00:00
2000-05-11 08:57:09 +00:00
2000-03-18 16:49:22 +00:00