devfs
[Top] [All Lists]

Re: modules.devfsd needs /dev/scsi/*/part* handling

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: modules.devfsd needs /dev/scsi/*/part* handling
From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
Date: 16 Jan 2002 22:27:16 +0300
Cc: Thierry Vignaud <tvignaud@xxxxxxxxxxxxxxxx>, devfs mailing list <devfs@xxxxxxxxxxx>
In-reply-to: <200201152353.g0FNr5j21148@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <1008885491.6464.4.camel@xxxxxxxxxxxxxxxxxxxxx> <200201150628.g0F6SQf06569@xxxxxxxxxxxxxxxxxxxxxxxx> <m21ygrurjk.fsf@xxxxxxxxxxxxxxxxxxxxxx> <200201152319.g0FNJ5S20314@xxxxxxxxxxxxxxxxxxxxxxxx> <m2g057tbsz.fsf@xxxxxxxxxxxxxxxxxxxxxx> <200201152353.g0FNr5j21148@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
On Срд, 2002-01-16 at 02:53, Richard Gooch wrote:
> Thierry Vignaud writes:
> > Richard Gooch <rgooch@xxxxxxxxxxxxxxx> writes:
> > 
> > >> > However, you can easily use the regular expression matching engine to
> > >> > translate /dev/sd/* names to /dev/scsi/* names. This is even something 
> > >> > that
> > >> > could be placed into a sample configuration file that I could ship with
> > >> > devfsd. Feel free to send some sample configuration lines :-)
> > >> 

Actually example is in devfsd.conf manual but I just realised it can be
used for both old and new compat links.

> > >> i'll be happy to add it it you send working config :-)
> > >> 
> > >> however, have you installed dynamics & hotplug ? they should take
> > >> care of amovible devices.
> > >

No they do not in this case. When you insert media there is no
notification so you must force kernel to reread partition table
externally.

> > > Erm, I'm not sure if you're talking to me or to Andrej.
> > 
> > to both :to andrej for the dynamics & hotplug packages, and you if
> > you get some code.
> 
> OK. Well, if I get code, I'll put it in the next devfsd release, so
> you can pick it up there. Sound good?
> 

Attached patch is against current Mandrake devfsd.conf. It works just
fine here for SCSI; I'd appreciate anybody testing it for IDE. It is
great because it means we can continue to use compatibility names by
default without endless "hey, why it says no such device!" 

blockdev is garanteed to exist on Mandrake that is currently my concern
:-)

many thanks for idea (yes, sometimes you must really read TFM).

-andrej

Attachment: devfsd.conf.diff
Description: Text Data

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