devfs
[Top] [All Lists]

Re: default config for cdrom links

To: Russell Coker <russell@xxxxxxxxxxxx>
Subject: Re: default config for cdrom links
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Sat, 1 Dec 2001 00:10:33 -0700
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20011130204515.74D7635FCA2@xxxxxxxxxxxxxxxxx>
References: <20011130204515.74D7635FCA2@xxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Russell Coker writes:
> 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

OK, fixed.

> Also does the LOOKUP entry provide any benefit?

Hm. Probably not. I've removed it. Perhaps it was there as part of
some other example. The comment I had suggested there were some other
config lines there. I've removed that comment too.

BTW: have you had a chance to play with the new permissions
management? Specifically, using the RESTORE directive? It's really
neat.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • Re: default config for cdrom links, Richard Gooch <=