On Tue, Jul 03, 2001 at 09:18:37AM +0200, Gerhard den Hollander wrote:
> * Drew Raines <[EMAIL PROTECTED]> (Mon, Jul 02, 2001 at 11:26:30PM -0500)
> > 
> > This might be a question better suited for sunmanagers, but I'll try it
> > here.
> > 
> > I'm running Solaris 2.7 on an E450, with a DDS-3 changer.  amanda's been
> > calling my tape drive by /dev/rmt/0n, which is the OS default.  From the
> > st(7D) manpage, it looks like by not specifying a `u' or a `c' in my device
> > name that hardware compression has not been used (contrary to popular
> > opinion).  The `n' simply means non-rewinding.  So does Solaris default to
> > using compression or not?  Do I need to specify a `l' flag (low density)
> > like so?
> > 
> >   /dev/rmt/0ln
> > 
> > Everything in the /kernel/drv/st.conf file is set to default (all
> > commented).


I don't "think" your tape drive would work if all were commented.


> i's been awhile since Iv'e read these things, but the entry for the dds3
> looks like this
> 
> HP_DAT_3       =   1,0x34,0,0x9639,4,0x00,0x8c,0x8c,0x8c,1;
> but the 4 gives the number of densities, and the 4 hex numbers after that
> (0x00 0x8c 0x8c 0x8c) give the 4 different density modes.
> 
> IIRC the first one (0x00 is for /dev/rmt/Xl) the other for Xc Xh and one
> other I forgot).
> 
> So, yes, /dev/rmt/0l should give different characteristics.

Clarification:

The default density is that specified by the last number in the
entry.  Not the hex nums themselves, but the single digit following
the hex nums.  It specifies which of the 4 density specific devices
names (l, m, h, or [cu]) is the same as the non-specific device name.
This number is base zero, not one.

In the entry above the default is "1", the second density entry,
or the "0m" device (density number 0x8c) is the same as the "0" device.

My Solaris st.conf entry differs:

   HPdds3 = 1,0x34,0,0xd639,4,0x00,0x13,0x24,0x3,3;
                                                 ^
                                _________________|
                                |
Here the fourth density (number 3 with base 0), i.e. the highest
density  is the default.  Thus device 0 is the same as device 0c or 0u.

jl
-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing                   [EMAIL PROTECTED]
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to