devfs
[Top] [All Lists]

RE: SCSI Tapes and devfs

To: devfs@xxxxxxxxxxx
Subject: RE: SCSI Tapes and devfs
From: Steven Lembark <lembark@xxxxxxxxxxx>
Date: Fri, 17 Jan 2003 00:36:11 -0600
In-reply-to: <6134254DE87BD411908B00A0C99B044F03A0B5DC@MOWD019A>
References: <6134254DE87BD411908B00A0C99B044F03A0B5DC@MOWD019A>
Reply-to: lembark@xxxxxxxxxxx
Sender: devfs-bounce@xxxxxxxxxxx


-- Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>

>
> I guess silence means Devfs works as expected :)))

As long as you don't try and do what I'm doing <G>.  I
think devfs is a neat concept and from what I've read has
a lot of advantages although my knowledge of devices under
Linux has been limited to createing entries in /dev under
the old system and making that work.  I don't know what
distros use it (not Caldera's old WS 3.1 or RH 7.3) so
maybe most of the people I see aren't running distros with
it.


Mandrake was one of the first distros to use it (in 8.0 IIRC). The first
attempt was a disaster, but since then we learned a bit :)

It is easy to screw up things when you use devfs. Basically, you should
not mess up with /dev unless _absolutely_ necessary and you _do_ know
what you are doing.

If you updated /dev/tape to magically appear the changerizer
uses the same basic sequence.

Another way to put it: let devfsd manaqge /dev, that's
what it IS there for. Instead of ln -fs in /dev update
/etc/devfsd.conf using, say, "tape" as a template for
the changer device -- all you really need to do is hack
"tape" for "changer" (whatever) and "tape/0/mt" for the
device path to the changerizer.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                           +1 773 252 1080

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