LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2004, 12:47 PM   #1
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Rep: Reputation: 15
How To Mount Both Your Dvd Drives With Slackware 9.1


Good Morning,

I have searched these forums, googled, altavista'd
for hours, days on end, looked for a how-to(there
isn't one) and read the man page over and over
on this age old subject . . .

"HOW TO MOUNT BOTH YOUR DVD DRIVES WITH SLACKWARE 9.1?"
(ggrrr! Sorry to yell ggrrr!)

Could someone please help me or point me in the
right direction?
An example from someone with similar drives who
is able to mount BOTH DVD drives would be great.

Here are my drives:
IDE DVD-ROM 16X, ATAPI CD/DVD-ROM Drive (hdc)
HL-DT-ST DVDRAM GSA-4040B, ATAPI CD/DVD-ROPM Drive (hdd)

Here's my FSTAB:
/dev/hda8 / ext2 defaults 1 1
/dev/hda1 /mnt/c:\winxp vfat defaults 1 0
/dev/hda5 /mnt/e:\internet vfat defaults 1 0
/dev/hda6 /mnt/f:\misc vfat defaults 1 0
/dev/hda7 /mnt/g:\bin vfat defaults 1 0
/dev/hdb1 /mnt/d:\delta vfat defaults 1 0
/dev/hdc /mnt/cdrom1 udf,iso9660 auto,user,ro 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 auto,user,ro 0 0
/dev/fd0 /mnt/a:\ vfat,auto auto,user,rw 0 0
/dev/fd1 /mnt/b:\ vfat,auto auto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


I've also tried:
/dev/cdrom1 /mnt/dvd1 udf,iso9660 auto,user,ro 0 0
/dev/cdrom2 /mnt/dvd2 udf,iso9660 auto,user,ro 0 0

/dev/dvd0 /mnt/dvd1 udf,iso9660 auto,user,ro 0 0
/dev/dvd1 /mnt/dvd2 udf,iso9660 auto,user,ro 0 0

And many other variants thereof . . .

I always add the dirs to /mnt

Any SlackWare help appreciated
Thanks!
 
Old 07-14-2004, 12:56 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
With these settings :
/dev/hdc /mnt/cdrom1 udf,iso9660 auto,user,ro 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 auto,user,ro 0 0

You should be able to mount your dvd drives by :
mount /mnt/cdrom1
mount /mnt/cdrom2

If no, what are the error outputs please ?
 
Old 07-14-2004, 01:14 PM   #3
luxitan
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
I don't have the udf before iso9660 and it works... what is the udf flag for?
 
Old 07-14-2004, 07:39 PM   #4
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by luxitan
I don't have the udf before iso9660 and it works... what is the udf flag for?
I'm guessing other filesystems?

Can you get either of your dvd-rom drives to mount? How about play movies?
do ls -l /dev/cdrom* and ls -l /dev/dvd*

Also, see what permissions your actual devices are (/dev/hdc and /dev/hdd I'm guessing)

How are the drives set up physically? Are they both on the same IDE channel? Which one is master and which is slave?
 
Old 07-14-2004, 07:48 PM   #5
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
UDF, or Universal Disk Format, is an alternative filesystem used on some CDs & DVDs (mostly DVDs)

Google Search: define:UDF................
 
Old 07-15-2004, 12:47 AM   #6
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Original Poster
Rep: Reputation: 15
keefaz,

Thanks for the tip,
Here's what I get when I key mount /dev/cdrom1 OR
mount /dev/cdrom2:
mount: can't find /devcdrom1 in /etc/fstab or /etc/mtab

here's my fstab:
/dev/hda8 / ext2 defaults 1 1
/dev/hda1 /mnt/c:\winxp vfat defaults 1 0
/dev/hda5 /mnt/e:\internet vfat defaults 1 0
/dev/hda6 /mnt/f:\misc vfat defaults 1 0
/dev/hda7 /mnt/g:\bin vfat defaults 1 0
/dev/hdb1 /mnt/d:\delta vfat defaults 1 0
/dev/hdc /mnt/cdrom1 udf,iso9660 auto,user,ro 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 auto,user,ro 0 0
/dev/fd0 /mnt/a:\ vfat auto,user,rw 0 0
/dev/fd1 /mnt/b:\ vfat auto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

/mnt/cdrom1 + /mnt/cdrom2 both do exist.

I thought you weren't supposed to edit mtab?

Thanks,
John.
 
Old 07-15-2004, 11:52 PM   #7
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Original Poster
Rep: Reputation: 15
Can you get either of your dvd-rom drives to mount? How about play movies?
No


do ls -l /dev/cdrom* and ls -l /dev/dvd*
Did this, but nothing changed . . .


Also, see what permissions your actual devices are (/dev/hdc and /dev/hdd I'm guessing)
Thats right.


How are the drives set up physically? Are they both on the same IDE channel? Which one is master and which is slave?
DVD Reader=master DVD Writer=slave



When I use this I can mount the writer:
/dev/hdc /mnt/cdrom1 udf,iso9660 auto,user,ro 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 auto,user,ro 0 0
but it won't let me unmount



With this I can mount the reader:
/dev/sr0 /mnt/dvd1 udf,iso9660 auto,user,ro 0 0
/dev/sr1 /mnt/dvd2 udf,iso9660 auto,user,rw 0 0
but it won't let me unmount

How to mount both??

Thanks
 
Old 07-16-2004, 12:37 AM   #8
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Original Poster
Rep: Reputation: 15
After hours of hacking(grrr) around,
Here's what I did to get this to work.
I mount/umount both DVD's at the same time!
It WORKS, but is it a fluke or what.
Is there a textbook way to do this?


Here's my new and improved fstab:
/dev/hda8 / ext2 defaults 1 1
/dev/hda1 /mnt/c:\winxp vfat defaults 1 0
/dev/hda5 /mnt/e:\internet vfat defaults 1 0
/dev/hda6 /mnt/f:\misc vfat defaults 1 0
/dev/hda7 /mnt/g:\bin vfat defaults 1 0
/dev/hdb1 /mnt/d:\delta vfat defaults 1 0

/dev/sr0 /mnt/dvd1 udf,iso9660 auto,user,ro 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 auto,user,ro 0 0

/dev/fd0 /mnt/a:\ vfat auto,user,rw 0 0
/dev/fd1 /mnt/b:\ vfat auto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


Any thoughts on this?
I hope I'm not the only SlackWare 9.1 person in the
world using 2 DVD drives . . .

Thanks for all the help.
 
Old 07-16-2004, 12:52 AM   #9
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Original Poster
Rep: Reputation: 15
Altered these lines, still works fine . . .

/dev/sr0 /mnt/dvd1 udf,iso9660 auto,user,ro 0 0
/dev/hdd /mnt/dvd2 udf,iso9660 auto,user,rw 0 0
 
Old 07-16-2004, 02:46 AM   #10
snop
Member
 
Registered: Aug 2003
Location: Bcn
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
Hi all,

It's a pitty that we still need to mount drives like cdrom's, dvd's, floppys or mass storage devices...

There's a kernel patch called supermount (http://supermount-ng.sf.net/ and also included at the great Con Kolivas patches http://members.optusnet.com.au/ckolivas/kernel/). With supermount you won't need to mount anything: just change your cd, change your floppy, etc. freely.

IMHO supermount should have been merged an polished into the kernel since... well, it should have been there since the begining.

Bye

PD: Haven't you ever lost data in floppy just because you forgot to do "umount /mnt/floppy" ? Isn't this a "security" issue (this is, by far, the most easiest way to lose data) ?
 
Old 07-16-2004, 10:56 AM   #11
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by snop
Hi all,

It's a pitty that we still need to mount drives like cdrom's, dvd's, floppys or mass storage devices...

There's a kernel patch called supermount (http://supermount-ng.sf.net/ and also included at the great Con Kolivas patches http://members.optusnet.com.au/ckolivas/kernel/). With supermount you won't need to mount anything: just change your cd, change your floppy, etc. freely.

IMHO supermount should have been merged an polished into the kernel since... well, it should have been there since the begining.

Bye

PD: Haven't you ever lost data in floppy just because you forgot to do "umount /mnt/floppy" ? Isn't this a "security" issue (this is, by far, the most easiest way to lose data) ?
Supermount has problems, and that's why it's not built in completely. Having to mount and unmount isn't a bad thing. It helps prevent you from accidentally opening your CD-ROM tray if you're doing something important, for one thing. I recommend not going the Supermount option.

One thing that strikes me oddly is that both dvd drives mount whenever you issue a mount command for one. Are they linked to each other in any way? When you do ls /dev/sr0 -l what is the output?
 
Old 07-16-2004, 04:59 PM   #12
snop
Member
 
Registered: Aug 2003
Location: Bcn
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
Hi again,

I've just had problems with supermount and mass storage devices (it doesn't detect properly when a device is unplugged). For cd's and floppys it works like a charm. But as I said in my last post supermount should be polished (improved if you want) and THEN merged.

Having to mount and unmount a device IS a bad thing for certain devices (specialy floppys and other writeable-removable devices such as usb bars). Most of times using the "traditional method" the info isn't written until the device is unmounted (because of buffer cache I guess). This isn't intutive at all. Pressing the "eject" button on a cd/dvd and seeing that it does nothing isn't intuitive too. Supermount solves this too issues (or at least it tries to solve them).

Anyway supermount is just another OPTION (you can go the old way whenever you want). IMHO it should be almost a must for desktop computers.

Bye

SnOp

PD: I don't want to start a flame war here because of supermount. I just wanted to give some advice and I'd respect any opinion. This is way linux is great (and chaotic sometimes): you can chose from multiple options and customize your whole system.

Last edited by snop; 07-16-2004 at 05:01 PM.
 
Old 07-18-2004, 02:07 PM   #13
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by snop
Hi again,

I've just had problems with supermount and mass storage devices (it doesn't detect properly when a device is unplugged). For cd's and floppys it works like a charm. But as I said in my last post supermount should be polished (improved if you want) and THEN merged.

Having to mount and unmount a device IS a bad thing for certain devices (specialy floppys and other writeable-removable devices such as usb bars). Most of times using the "traditional method" the info isn't written until the device is unmounted (because of buffer cache I guess). This isn't intutive at all. Pressing the "eject" button on a cd/dvd and seeing that it does nothing isn't intuitive too. Supermount solves this too issues (or at least it tries to solve them).

Anyway supermount is just another OPTION (you can go the old way whenever you want). IMHO it should be almost a must for desktop computers.

Bye

SnOp

PD: I don't want to start a flame war here because of supermount. I just wanted to give some advice and I'd respect any opinion. This is way linux is great (and chaotic sometimes): you can chose from multiple options and customize your whole system.
It's pretty much this way for OSX. I learned it the hard way, too. If you plug in a usb key/pen drive/whatever you wish to call it, you have to drag the icon on the desktop to the trash bin, otherwise whatever files you wrote or modified on the device will become corrupt. Yes, I learned this by ruining a homework assignment (Big paper and powerpoint presentation, luckily it wasn't the last day any of the times any of the files got corrupted, so I could re-do them). If there were only a way to physically eject a pen drive from a usb port, like if it shot it out how it does for floppies and cd-roms... But then it would require new hardware, which is always a negative....
 
  


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
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
unable to mount DVD burner, Slackware 9.1 kernel 2.4.22 apaterra Linux - Hardware 5 12-04-2004 08:43 AM
Mount cd and dvd drives dlchadwick Linux - Hardware 2 11-28-2004 10:04 AM
cd-rom and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
howto mount dvd image on slackware? carboncopy Slackware 3 10-25-2003 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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