LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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


Reply
  Search this Thread
Old 01-18-2008, 09:51 AM   #1
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
mounting a usb dvd writer


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?
 
Old 01-19-2008, 10:38 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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.
 
  


Reply

Tags
dvd, fstab, mount, usb, writer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:42 AM
DVD writer+CDRW mounting/writing problems tanchu Linux - Hardware 8 01-04-2006 10:59 AM
Mounting an HP dvd movie writer dc3000(4000) Endorpheus Linux - Hardware 0 11-30-2005 01:08 AM
mounting a dvd writer chardome Linux - Hardware 2 10-04-2005 11:10 AM
Problems Mounting a DVD Writer slave187 Linux - Hardware 7 05-06-2005 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration