if i need to play a dvd i have all of my players set to read /dev/cdroms/cdrom0. /dev/dvd was always just a symlink anyway so did away with it altogether.. oh and i don't have anything like those devfsd.conf setting you have.
]]>thanks for your help
]]>[edit]
erm, i've found a solution - but it's a bit confusing.... mount /dev/hdd /mnt/dvd works... hmmm, what happend to my good old /dev/cdroms/cdrom1?
[/edit]
#
# Pseudo filesystems
#
...
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
...
Furthermore, your dvd may be formated with udf, therefore you should compile this filesystem into the kernel. Also, when using devfs, your dvd should be recognized as /dev/cdroms/cdrom?, check it and change the fstab:
/dev/cdroms/cdrom2 /mnt/dvdrom iso9660,udf ro,user,noauto,unhide 0 0
Parts may differ on your system, because I use a pure scsi machine, but I suppose it to be the same.
]]>here's my config:
dmesg | grep hdd
ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:DMA, hdd:DMA
hdd: Pioneer DVD-ROM ATAPIModel DVD-116 0122, ATAPI CD/DVD-ROM drive
hdd: attached ide-cdrom driver.
hdd: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(66)
/etc/fstab:
/dev/dvd /mnt/dvd iso9660 user,unhide,noauto,ro,users
/etc/devfsd.conf
LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink cdroms/cdrom1 dvd
REGISTER ^cdrom/cdrom1$ CFUNCTION GLOBAL mksymlink $devname dvd
UNREGISTER ^cdrom/cdrom1$ CFUNCTION GLOBAL unlink dvd
ls -al /dev/dvd
lr-xr-xr-x 1 root root 13 2004-02-04 12:01 /dev/dvd -> cdroms/cdrom1
atithi [/home/atithi/] # mount /mnt/dvd
mount: No medium found[root@heisl ]# mount /dev/dvd /mnt/dvd/ -t iso9660
mount: block device /dev/dvd is write-protected, mounting read-only
mount: No medium found[root@heisl ]# mount /dev/cdroms/cdrom1 /mnt/dvd/ -t iso9660
mount: block device /dev/cdroms/cdrom1 is write-protected, mounting read-only
mount: No medium found
I'm using a self-compiled kernel (2.4.24) with the ck-patches. the kernel worked well with gentoo, so the kernel-config should be okay.
thanks in advance for your help, martin
]]>