According to hwinfo --cdrom, the DVD writer is /dev/sr0
So I have the usb DVD writer mounted like:
mount /dev/sr0 /media/hpwriter
So now I can read what is on the DVD. Also, I have to remount the usb DVD drive each time I use it and I noticed that I have to umount before I can take the disk out. Should I add the DVD writer to the fstab entries if I want it to be mounted and unmounted automatically every time I use it?
I'm using SuSE 10.0.
So, my fstab entries are this:
Code:
cat /etc/fstab
/dev/hda2 / reiserfs acl,user_xattr 1 1
/dev/hda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrecorder2 /media/cdrecorder2 subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0
none /subdomain subdomainfs noauto 0 0
So, would I add it like this?:
Code:
/dev/sr0 /media/hpwriter subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
Can/should the dvd writer be turned on when I add the fstab entry?
I have another question:
Why is it that a usb pen-drive gets mounted automatically for reading and writing and unmounted automatically after closing the session but the DVD writer does not?