Ich hab diese /etc/fstab
/dev/hda2 / reiserfs defaults 1 1
/dev/hda5 /video reiserfs defaults 1 2
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0
/dev/hdc /cdfs cdfs ro,noauto,user 0 0
und diese /usr/local/src/VDR/mount.sh
#!/bin/bash
#
# This script is called from VDR to mount/unmount/eject
# the sources for MP3 play.
#
# argument 1: wanted action, one of mount,unmount,eject,status
# argument 2: mountpoint to act on
#
# mount,unmount,eject must return 0 if succeeded, 1 if failed
# status must return 0 if device is mounted, 1 if not
#
action="$1"
path="$2"
case "$action" in
mount)
eject -t "$path" exit 1 # close the tray
mount "$path" exit 1 # mount it
;;
unmount)
umount "$path" exit 1 # unmount it
;;
eject)
eject "$path" exit 1 # eject disk
;;
status)
cat /proc/mounts | grep -q "$path" # check if mounted
if [ $? -ne 0 ]; then # not mounted ...
exit 1
fi
esac
exit 0
und diese /video/plugins/mp3sources.conf
/mp3;Locale Platte;0
/media/dvd;DVD;1
/cdfs;CD-Audio;1;*.wav
Wenn ich nun im MP3 Plugin das DVD Laufwerk auswähle und es montiere funktioniert alles.
Will ich aber das DVD Laufwerk demontieren geht das nicht
Wenn ich mount mache sieht das so aus
linux90:~ # mount
/dev/hda2 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda5 on /video type reiserfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hdc on /media/dvd type iso9660 (ro,nosuid,nodev)
Habe hier Suse 9 und mp3-0.8.3 im Einsatz.
Ich komm nicht drauf was es sein könnte ........
Vielleicht könnt ihr mir helfen