devfs
[Top] [All Lists]

Re: default config for cdrom links

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: default config for cdrom links
From: Russell Coker <russell@xxxxxxxxxxxx>
Date: Fri, 30 Nov 2001 23:47:15 +0100
Cc: devfs@xxxxxxxxxxx
In-reply-to: <200111302239.fAUMdJI19809@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20011130204515.74D7635FCA2@xxxxxxxxxxxxxxxxx> <Pine.LNX.4.40.0111301527370.2718-100000@xxxxxxxxxxxx> <200111302239.fAUMdJI19809@xxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Russell Coker <russell@xxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
On Fri, 30 Nov 2001 23:39, Richard Gooch wrote:
> Gary Shea writes:
> > Russell Coker (russell@xxxxxxxxxxxx) wrote:
> > > The default config section for cdrom links doesn't work if uncommented.
> > >  The following extract from the Debian patch shows what needs to be
> > > changed.
> > >
> > > -#REGISTER      ^cdrom/cdrom0$  CFUNCTION GLOBAL symlink cdroms/cdrom0
> > > cdrom -#UNREGISTER    ^cdrom/cdrom0$  CFUNCTION GLOBAL unlink cdrom
> > > +# create the standard /dev/cdrom symlink
> > > +REGISTER       ^cdroms/cdrom0$ CFUNCTION GLOBAL symlink cdroms/cdrom0
> > > cdrom +UNREGISTER     ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom
> >
> > Interesting... in my Mandrake 8.1 distribution the directory name is
> > right.  Not very nice if they didn't propagate the fix back.
>
> Please contact whoever is responsible in Mandrake for devfsd packaging
> and point out this oversight.
>
> I'll fix this for the next devfsd release.

I have to admit I fixed it a few versions ago for Debian...

It was one of those things where I fixed it in response to a bug report late 
at night and didn't check whether I was fixing your mistake or my mistake in 
patching your sample code...

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

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