SUMMARY: Verifying st.conf

From: Marco Greene (mwegreene_at_hotmail.com)
Date: 06/26/03

  • Next message: egold_at_fsa.com: "solaris 8 packet size"
    To: "'List, Sun Managers'" <sunmanagers@sunmanagers.org>
    Date: Thu, 26 Jun 2003 13:59:45 -0400
    
    

    Thanks to Jay Lessert. I have confirmed this to be the case.

    -----Original Message-----
    From: Jay Lessert [mailto:jayl@accelerant.net]
    Sent: June 26, 2003 1:13 PM
    To: Marco Greene
    Subject: Re: Verifying st.conf

    On Thu, Jun 26, 2003 at 08:26:51AM -0400, Marco Greene wrote:
    > Hi all,
    > Got a quick question about st.conf. How do you verify that your
    > tape drive loaded in the settings within st.conf? i.e. If you typed in
    > "Compaq SLT" did that take or should you have had a few more spaces. I
    > can't seem to find any documentation on how to check that?

    The st(7D) man page alludes to it vaguely. :-)

    st(7D): The formal syntax is:
    st(7D):
    st(7D): tape-config-list = <triplet> [, <triplet> *];
    st(7D): where
    st(7D):
    st(7D): <triplet> := <vid+pid>, <pretty print>, <data-property-name>
    st(7D): and
    st(7D):
    st(7D): <data-property-name> = <version>, <type>, <bsize>,
    st(7D): <options>, <number of densities>,
    st(7D): <density> [, <density>*], <default-density>;
    st(7D):
    st(7D): <vid+pid> is the string that is returned by the tape device
    st(7D): on a SCSI inquiry command.
    st(7D):
    st(7D): <pretty print> is used to report the device on the console.
    st(7D): This string may have zero length, in which case the
    st(7D): <vid+pid> will be used to report the device.

    <vid+pid> is your "Compaq SLT" (with, for example, *exactly* three
    spaces, the sort of thing you are worried about).

    <pretty print> is the "Compaq Gazingabyte Tape", so your tape-config-list
    looks something like:

    tape-config-list =
            "Compaq SLT", "Compaq Gazingabyte Tape", "CSLT-200";

    If the <pretty print> string shows up /var/adm/messages at boot time,
    then the st driver matched st.conf with the device.

    If *only* the <vid+pid> shows up (in single-quotes, I think), then
    it was not matched.

    I believe the same holds true for 'mt -f /dev/rmt/xxx status'.

    -- 
    Jay Lessert                               jay_lessert@accelerant.net
    Accelerant Networks Inc.                       (voice)1.503.439.3461
    Beaverton OR, USA                                (fax)1.503.466.9472
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: egold_at_fsa.com: "solaris 8 packet size"

    Relevant Pages

    • Re: SnapTheReport -- made it generic | example useage
      ... Sub SnapTheReport(pReportName As String, pFilter As String) ... ' pFilter = string to filter report or "" to get all ... Dim mFilename As String ... SetReportFilter pReportName, pFilter ...
      (microsoft.public.access.formscoding)
    • RE: Query form coding
      ... I have tried to include the query when using the wizard to design the report ... Dim strSource As String ... ' Remove Filter ...
      (microsoft.public.access.formscoding)
    • Re: Deployment + Vista
      ... The problem is it's connection string is always hard ... Server settings form. ... guess it's a good thing I do not use that for settings. ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Tracking two parter And the word "SHOULD"
      ... With these settings, you should have the daily entry grid in the Timesheet ... > = Actual work done and work remaining: Resources report the actual work ... > For projects that require resources to specify hours worked during each ...
      (microsoft.public.project.pro_and_server)
    • RE: how to save to C: drive on report close?
      ... ByVal lpReturnedString As String, ByVal nSize As Long, _ ... ' Runs an Access report to PDF995 to create a pdf file from the report. ... Dim iniFileName As String, tmpPrinter As Printer ...
      (microsoft.public.access.reports)