LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 01-18-2008, 10:51 AM   #1
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0
mounting a usb dvd writer


[Log in to get rid of this advertisement]
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?
gymnart is offline  
Tag This Post , , , ,
Reply With Quote
Old 01-19-2008, 11:38 PM   #2
bigrigdriver
Senior Member
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: openSUSE 10.3 Debian 4.0
Posts: 4,654
Thanked: 13
Quote:
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?
The pen drive has storage media that can be mounted immediately. The dvd drive does not. It can't be mounted if there is no disk in the drive. It can't be mounted if the disk in the drive contains music or video. It can only be mounted if the disk in the dive has a filesystem, such as an .iso or data files.

As far as adding an entry to fstab to automatically mount the drive, read my remarks above. With usb, in order to have a persistent mount in fstab, there is at least one file in /etc that you will have to edit to make the dvd mount point persistent, plus adding it to fstab. I can't put my fingers on the htm I used a couple of years ago in a similar situation.

www.google.com/linux is your friend. Search for usb and persistent mount points.
bigrigdriver is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting a usb dvd writer... daveoily DamnSmallLinux 13 01-18-2008 10:42 AM
DVD writer+CDRW mounting/writing problems tanchu Linux - Hardware 8 01-04-2006 11:59 AM
Mounting an HP dvd movie writer dc3000(4000) Endorpheus Linux - Hardware 0 11-30-2005 02:08 AM
mounting a dvd writer chardome Linux - Hardware 2 10-04-2005 12:10 PM
Problems Mounting a DVD Writer slave187 Linux - Hardware 7 05-06-2005 11:40 AM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration