Originally Posted by
rrfish72
Trying to get dvd to play and this is what I was informaed to do. How is this done? Here is my fstab:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,users,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/sr0 /cdrom iso9660 defaults,users,noexec 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/sr2 /dvd iso9660 defaults,ro,users,noexec 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 ext2 users,exec 0 0
Is this set right? Any help in resolving this would be appreciated.
Ouch! My fstab never looked like that, pointing to your sr0 and sr2 devices, that is...
First off, where is your sr1 device? Is sr1 symlink'ed to cdrom1, and why do you have two entries for /dev/cdrom1 - each one is pointing to a different mount point...
Here is what my fstab file looks like:
Code:
root@Morpheus:~# cat /etc/fstab
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
/dev/hda6 /home auto defaults,auto 0 2
/dev/hda3 none swap defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
proc /proc proc defaults 0 0
/dev/hdc1 /mnt/hdc1 vfat defaults,users,noauto,exec,umask=000 0 0
/dev/hdc2 /mnt/hdc2 ext3 defaults,users,noauto,exec 0 0
/dev/sda1 /mnt/sda1 vfat noauto,users,exec,noatime,umask=000 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio1 /cdaudio1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
root@Morpheus:~#
And I have symlinks for all my CDROM and DVD devices that "point" to my sr# devices...
Like so:
Code:
root@Morpheus:~# ls -la /dev/cdrom*
lrwxrwxrwx 1 root root 3 Jul 2 08:58 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Jul 2 08:59 /dev/cdrom1 -> sr1
root@Morpheus:~# ls -la /dev/cdaudio*
lrwxrwxrwx 1 root root 3 Jul 2 08:57 /dev/cdaudio -> sr0
lrwxrwxrwx 1 root root 3 Aug 7 10:19 /dev/cdaudio1 -> sr1
root@Morpheus:~# ls -la /dev/dvd
lrwxrwxrwx 1 root root 3 Jul 2 08:57 /dev/dvd -> sr0
root@Morpheus:~#
to create a symlink, do the following, in a root Konsole screen:
ln -sf linkto linkfrom
Where "linkto" is the target for the link, and "linkfrom" is the source...
So if you wanted to create a symbolic link, that is "forced" ( i.e. if a link already exists, remove it, and make this one, for it ) -=- between /dev/dvd and /dev/sr0 - do the following:
ln -sf /dev/sr0 /dev/dvd
With the above, using /dev/dvd would ultimately point to the "real" device on /dev/sr0 - the "symlink" here would make a nicer way of knowing what "device" is actually represents - a dvd device -=- whereas, sr0 doesn't give much of a clue what the actual device is, by name.
Hope this helps,
Ms. Cuddles