devfs
[Top] [All Lists]

Re: SCSI Tapes and devfs

To: devfs@xxxxxxxxxxx
Subject: Re: SCSI Tapes and devfs
From: "Brett I. Holcomb" <brettholcomb@xxxxxxxxxxx>
Date: Sat, 18 Jan 2003 19:04:45 -0500
In-reply-to: <69530000.1042932871@[192.168.200.4]>
Organization: Holcomb & Associates
References: <20030116224305.14135e68.brettholcomb@xxxxxxxxxxx> <6134254DE87BD411908B00A0C99B044F03A0B5DF@MOWD019A> <20030117225449.71bae8ab.brettholcomb@xxxxxxxxxxx> <69530000.1042932871@[192.168.200.4]>
Sender: devfs-bounce@xxxxxxxxxxx
Okay,  I think I understand (some <G>).

I need to use the cdrom entry as a model but change cdrom to tape or
auto_ changer0 - correct.

I've found out that the backup software tries to find an sg device for
the library and then create a symlink to it - which doesn't work under
devfs.  I've got the library working by using /dev/sg2 as the device
instead of auto_changer0.

So /etc/devfsd.conf is where we create these links that we want to have
and the copy lines make sure they are persistant??


On Sat, 18 Jan 2003 17:34:31 -0600
Steven Lembark <lembark@xxxxxxxxxxx> wrote:

> 
> 
> -- "Brett I. Holcomb" <brettholcomb@xxxxxxxxxxx>
> 
> > It's the backup program.  I created the symlink
> >
> > ln -s /dev/sg/c1b0t1u0 /dev/auto_changer0
> 
> Look at the devfsd.conf entry for, say, "cdrom" and
> just change the 3 event lines from "tape" to
> "auto_changer0" and "tapes/0/mt" to "sg/c1b0tiu0".
> 
> Filesystem operatins behave differently in /dev than
> you are used to (or /proc for that matter) because the
> filesystem are not on the disk they are in kernel memory
> where persistent soft links don't really mean anything.
> It is a semantic issue, not syntax.
> 
> 
> 
> --
> Steven Lembark                               2930 W. Palmer
> Workhorse Computing                       Chicago, IL 60647
>                                             +1 773 252 1080
> 


-- 

Brett I. Holcomb


<Prev in Thread] Current Thread [Next in Thread>