diff options
author | ken <ken@FreeBSD.org> | 1999-05-10 23:30:04 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1999-05-10 23:30:04 +0000 |
commit | 5553fc066610f4bcda2854fa7607e25a18ec7578 (patch) | |
tree | 1c5de8a5424cc55605a438a67428e5d7d77b14e3 /sbin/camcontrol/camcontrol.h | |
parent | d2071f7fb823fca6d3f4948da0847b45ed5a11b2 (diff) | |
download | FreeBSD-src-5553fc066610f4bcda2854fa7607e25a18ec7578.zip FreeBSD-src-5553fc066610f4bcda2854fa7607e25a18ec7578.tar.gz |
Add a new device specification syntax to camcontrol. It is now possible to
do things like:
camcontrol tur da5
or
camcontrol tur 1:2:0
or
camcontrol tur 1:2
These changes are fully backwards compatible with the original device
specification syntax (-n dev -u unit), so it is possible to use either
method to specify a device now.
The device specification changes do not affect the rescan, reset or debug
commands, since by design, those commands work on a bus or bus:target:lun
basis only.
Also, shorten the default usage statement so that it fits in a 24 column
terminal. The full usage statement is still available by using the "help"
"-h" or "-?" arguments to camcontrol.
Submitted by: Joerg Wunsch <joerg_wunsch@interface-business.de>
Diffstat (limited to 'sbin/camcontrol/camcontrol.h')
-rw-r--r-- | sbin/camcontrol/camcontrol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/camcontrol/camcontrol.h b/sbin/camcontrol/camcontrol.h index 8fb64a7..e821834 100644 --- a/sbin/camcontrol/camcontrol.h +++ b/sbin/camcontrol/camcontrol.h @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: camcontrol.h,v 1.1 1998/09/15 06:43:02 gibbs Exp $ */ #ifndef _CAMCONTROL_H @@ -50,5 +50,5 @@ void mode_edit(struct cam_device *device, int page, int page_control, int dbd, char *cget(void *hook, char *name); int iget(void *hook, char *name); void arg_put(void *hook, int letter, void *arg, int count, char *name); -void usage(void); +void usage(int verbose); #endif /* _CAMCONTROL_H */ |