LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-06-2005, 12:32 PM   #1
cjnodell
Member
 
Registered: Jun 2005
Location: Remchingen, Deutschland
Distribution: Undecided
Posts: 50

Rep: Reputation: 15
fstab/automount/dvd-ram problem


I am using suse 9.3 with the default kde install. I am trying to make it so that when I put a dvd-ram into the drive the automount will mount it as a fat 32 read-write system. After doing some research, i found that the fstab would be a good place to start, so i started working thre. here is my modified fstab (which works):

/dev/hda2 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda3 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrom /media/cdrom auto noauto,user,ro,exec 0 0
/dev/dvdram /media/dvdram auto noauto,user,rw,exec 0 0

basicly, when i put in my dvd-ram, and suse automounts it, it cant even read the disk, let alone write to it. But when i un-mount it then remount it from the console, it wourks perfectly. This is fin for me, but my wife dosn't want to have to type anything, espicialy from the command line. So how can i make itso that it automounts fully functional, like it dose when i mount it manualy?

I have also considered making a shell script that would automaticly un-mount and remount the dvd-ram, but am not sure how to do so, and don't know if it is possible to run shell scripts by clicking on them from the kde desktop.

Thanks for any help!
 
Old 08-07-2005, 03:25 AM   #2
bp12345
Member
 
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104

Rep: Reputation: 15
Remove the 'noauto' form the fstab options after dev/dvdram (and dev/cdrom if you want) It should then automount.
Also, why would you want to (actually, I don't think that it is possible to) mount a DVD as a vfat filesystem? It should detect the fs automatically, and there is no real need to have a vfat fs on a DVD.
 
Old 08-07-2005, 09:48 AM   #3
cjnodell
Member
 
Registered: Jun 2005
Location: Remchingen, Deutschland
Distribution: Undecided
Posts: 50

Original Poster
Rep: Reputation: 15
when ms windows uses a dvd-ram, it formats fat32, and it is usable from that point foward as a removable hard drive of sorts. this only works with dvd-rams, not dvd+-rws. While i do not want to use windows, it is important that my dvd-rams are ms compatible, so thats why i am usinf vfat.

also, the dvd-ram dose automount when placed in the drive, it is simply not readable when automounted. If i want to be able to read-write to the dvd-ram, i have to put in the disk, let it be automounted, then go into a console and un mount it, then mount in using the console. After doing so suse can read and write to the dvd-ram. It simply dosn't work when i first stick it in and let it be automounted. I am guessing that when it is automounted, it is using diferent peramiters than what i have set up with the fstab. I just dont know how to adjust those peramaters.

also i thought that the auto/noauto was to determine if the drive was mounted on startup, not upon disk insertion?
 
Old 08-08-2005, 02:48 AM   #4
bp12345
Member
 
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104

Rep: Reputation: 15
I'm not sure about the auto/noatuo, but I think it covers both. If the drive is present at startup, then it mounts it. When you insert removable media (after booting) it also mounts that too.
If you only use DVD-RAM discs on the drive, try changing 'auto' to 'vfat'. Then it will force linux to look for a fat filesystem. If you use both DVD-RAM and other types of DVD, then perhaps you could create two mountpoints, or three if the CD is the same drive, and make /media/dvdram and /mnt/dvdrw , for example.
Sorry, didn't notice the DVD-RAM, thought it was DVD-ROM.
 
  


Reply


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
dvd-ram problem os2 Linux - Software 1 10-22-2005 01:42 AM
Automount network smb share with fstab phatboyz Linux - Networking 2 11-03-2004 12:05 PM
automount vs fstab Walter Sobchek Linux - Networking 10 08-16-2004 09:23 AM
Automount DVD and playback when DVD installed khurtwilliams Linux - Software 2 05-28-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:29 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