Looks like tapeinfo can be built for BSD.

http://www.bacula.org/dev-manual/Testing_Your_Tape_Drive.html#SECTION004037000000000000000
 


mt  -f  /dev/nsa0  comp  enable

Does that do it?

or

http://www.bacula.org/dev-manual/Testing_Your_Tape_Drive.html#SECTION004036000000000000000

_If you have built the *mtx* program in the *depkgs* package, you can 
use tapeinfo_ to get quite a bit of information about your tape drive 
even if it is not an autochanger. This program is called using the SCSI 
control device. On Linux for tape drive /dev/nst0, this is usually 
/dev/sg0, while on FreeBSD for /dev/nsa0, the control device is often 
/dev/pass2. For example on my DDS-4 drive (/dev/nst0), I get the following:

tapeinfo -f /dev/sg0 Product Type: Tape Drive Vendor ID: 'HP ' Product 
ID: 'C5713A ' Revision: 'H107' Attached Changer: No MinBlock:1 
MaxBlock:16777215 SCSI ID: 5 SCSI LUN: 0 Ready: yes BufferedMode: yes 
Medium Type: Not Loaded Density Code: 0x26 BlockSize: 0



Jason King wrote:
> I believe FreeBSD (my os) uses a command called "mt"...anyway...here 
> is the output from "mt status":
>
>
> [EMAIL PROTECTED] /usr/ports]# mt status
> Mode      Density              Blocksize      bpi      Compression
> Current:  0x42                 variable       0        0x1
> ---------available modes---------
> 0:        0x42                 variable       0        0x1
> 1:        0x42                 variable       0        0x1
> 2:        0x42                 variable       0        0x1
> 3:        0x42                 variable       0        0x1
> ---------------------------------
> Current Driver State: at rest.
> ---------------------------------
> File Number: 0  Record Number: 0        Residual Count 0
>
>
>
> Looks like compression is set to 0x1...not sure what that means though
>
> Do you know what it means?
>
> jason
>
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to