devfs
[Top] [All Lists]

default config for cdrom links

To: devfs@xxxxxxxxxxx
Subject: default config for cdrom links
From: Russell Coker <russell@xxxxxxxxxxxx>
Date: Fri, 30 Nov 2001 21:45:15 +0100
Reply-to: Russell Coker <russell@xxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
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

Also does the LOOKUP entry provide any benefit?

-- 
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>