diff options
author | rralphs <none@none> | 2006-08-11 15:18:46 -0700 |
---|---|---|
committer | rralphs <none@none> | 2006-08-11 15:18:46 -0700 |
commit | 5988135d82ecba94b97669a9f2b7016b58ad691e (patch) | |
tree | 23d298bfca53b8299b6d320bcc0b0e379f566f85 /usr/src/cmd/mt | |
parent | b8dc8477f9e64fb1130ab21dc1f26664309f149d (diff) | |
download | illumos-gate-5988135d82ecba94b97669a9f2b7016b58ad691e.tar.gz |
PSARC/2006/363 worm cartridge detection and reporting
PSARC 2006/018 cdb length capability
6201936 WORM drive and media detection
6213968 Need to add st support for drives that samfs supports
6449250 isp should support SCSI_CAP_CDB_LEN
6449251 glm should support SCSI_CAP_CDB_LEN
Diffstat (limited to 'usr/src/cmd/mt')
-rw-r--r-- | usr/src/cmd/mt/mt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/cmd/mt/mt.c b/usr/src/cmd/mt/mt.c index e4f876fda0..a8af090ce7 100644 --- a/usr/src/cmd/mt/mt.c +++ b/usr/src/cmd/mt/mt.c @@ -1,5 +1,5 @@ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -357,6 +357,9 @@ status(struct mtget *bp) (void) printf("retries= %d\n", bp->mt_dsreg); (void) printf(" file no= %ld block no= %ld\n", bp->mt_fileno, bp->mt_blkno); + if ((bp->mt_flags & MTF_WORM_MEDIA) != 0) { + (void) printf(" WORM media\n"); + } } else { /* Handle non-SCSI drives here. */ if (mt->t_type == 0) { |