You are not logged in.

#1 2004-09-10 21:06:32

Win
Member
Registered: 2004-03-04
Posts: 155

Addding a Missing /dev/dvd under DevFS

Hello.

I've just installed Arch Linux on a laptop with a removable CD-RW/DVD drive. This is recognized as /dev/hdb in dmesg. This system uses DevFS, not udev. I load ide-scsi in the MODULES line of rc.conf and have added a 'hdb=ide-scsi' line to grub's menu.lst.

What is mysterious to me is that while I have /dev/floppy/0 and /dev/cdrom, I can't seem to find /dev/dvd -- and when I set up a link to /dev/sr0, this link disappears on reboot.

Can anyone help me understand what I'm doing wrong here.

Thanks.

Win

Offline

#2 2004-09-10 23:01:04

Win
Member
Registered: 2004-03-04
Posts: 155

Re: Addding a Missing /dev/dvd under DevFS

Hi Everyone.

I've been able to figure out what to do to get /dev/dvd and /dev/dvdr:

(a) include 'ide-scsi' in MODULES in /etc/rc.conf
(b) make changes to /etc/devfsd.conf

# Use this to create /dev/dvd, /dev/dvdr
REGISTER    ^sr0$    CFUNCTION GLOBAL mksymlink $devname dvd
REGISTER    ^sr0$    CFUNCTION GLOBAL mksymlink $devname dvdr
UNREGISTER    ^sr0$  CFUNCTION GLOBAL unlink dvd
UNREGISTER    ^sr0$  CFUNCTION GLOBAL unlink dvdr

Regards,

Win

Offline

Board footer

Powered by FluxBB