David Gethings wrote:
On Mon, 2004-01-12 at 17:22, Andrew Gaffney wrote:

Is there a way to determine how much a tape can hold without physically taking the tape out of the drive and looking at the label? The following is dmesg output about my tape drive (and SCSI CD-ROM).

scsi0 : Initio INI-9X00U/UW SCSI device driver; Revision: 1.03g
  Vendor: SONY      Model: SDT-5200          Rev: 3.30
  Type:   Sequential-Access                  ANSI SCSI revision: 02
  Vendor: TOSHIBA   Model: CD-ROM XM-6201TA  Rev: 1030
  Type:   CD-ROM                             ANSI SCSI revision: 02
st: Version 20020805, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 3, lun 0
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0

Just a guess: Are you able to mount the st0 device? If so try a df -h once you have.

/dev/st0 is a character device, not a block device. You can't mount it. You write to it with 'tar -c <files to archive> > /dev/st0' and read from it with 'tar -xf /dev/st0'.


--
Andrew Gaffney
System Administrator
Skyline Aeronautics, LLC.
776 North Bell Avenue
Chesterfield, MO 63005
636-357-1548


-- [EMAIL PROTECTED] mailing list



Reply via email to