View previous topic :: View next topic |
Author |
Message |
dirtbag Guru
Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Thu Jul 26, 2007 1:00 am Post subject: dev aliases for cdrom and/or dvd drives |
|
|
hey, simple question im sure, but I cant find the answer..
my /dev/cdrom and /dev/dvd gets aliased to the wrong things
i.e.
dellbox ~ $ ls -al /dev/cdrom*
lrwxrwxrwx 1 root root 8 Jul 25 20:46 /dev/cdrom -> /dev/hdd
lrwxrwxrwx 1 root root 3 Jul 11 04:12 /dev/cdrom1 -> hdc
dellbox ~ $ ls -al /dev/dvd*
lrwxrwxrwx 1 root root 3 Jul 11 04:12 /dev/dvd1 -> hdc
hdc is my dvd drive
hdd is my cdrw drive
but since hdc is my main readonly drive, Id like it to be aliased as /dev/cdrom by the system..
im guessing its the
/etc/devfsd.conf
file that controls this, but I just dont understand it
LOOKUP ^cdrom$ CFUNCTION GLOBAL mksymlink cdroms/cdrom0 cdrom
REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom
UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom
is all I have thats uncommented... no dvd entries..
-db |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Thu Jul 26, 2007 2:58 am Post subject: |
|
|
devfsd.conf? You're not using devfs still, are you? _________________ Thomas S. Howard |
|
Back to top |
|
|
dirtbag Guru
Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Thu Jul 26, 2007 3:21 am Post subject: |
|
|
to be honest, im not sure..
* sys-fs/devfsd
Latest version available: 1.3.25-r9
Latest version installed: 1.3.25-r8
its installed, but how do I tell if its being used?
-db |
|
Back to top |
|
|
|