devfs
[Top] [All Lists]

Re: default config for cdrom links

To: Russell Coker <russell@xxxxxxxxxxxx>
Subject: Re: default config for cdrom links
From: Gary Shea <shea@xxxxxxxxxxxxx>
Date: Fri, 30 Nov 2001 15:29:49 -0700 (MST)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20011130204515.74D7635FCA2@lyta.coker.com.au>
Sender: owner-devfs@xxxxxxxxxxx
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.

        Gary


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