LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 01-03-2007, 01:54 AM   #1
gravitek
LQ Newbie
 
Registered: May 2005
Posts: 10

Rep: Reputation: 0
Mounting USB DVD-ROM on connect


Hi all,
I have an external usb dvd-rom plugged in to a desktop running 2.6.15-1.2054_FC5. The device is present under /dev/scd0. When inserted, linux seems to detect it ok, but then does nothing about making it available for use...

It works ok when I use the mount command, but can I get it to mount when I insert it in to the usb port, and on startup? Obviously if no media is present in the DVD-ROM the mount will fail so inserting the mount command somewhere on startup probably won't work...

Also, can I somehow get it to appear in in Konqueror under storage media? (system:/media)

Thanks in advance!
 
Old 01-03-2007, 02:06 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 469

Rep: Reputation: 40
Google on automount.
 
Old 01-03-2007, 02:49 AM   #3
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
In konqueror, enter "sysinfo:/"
That may give the udev or had daemons a kick in the pants. I think that it should be mounting as you want. A problem with a service not mounting or a shared library used by dbusd

You might want to post your /etc/fstab file.

If you enter: udevinfo -q env -p /sys/block/scd
Does it print out information about your drive?

Check if the udevd and dbus daemons are running.

The /etc/fstab entry created by Fedora may give a hint which helper program or service mounts CDs. What is the value of the type field (3rd field)?

Last edited by jschiwal; 01-03-2007 at 03:11 AM.
 
Old 01-03-2007, 02:55 AM   #4
gravitek
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Samotnik
Google on automount.
ugh. apologies.

i added the line in to /etc/auto.misc below:
usbdvd -fstype=iso9660,ro,nosuid,nodev :/dev/scd0

then edited /etc/auto.master so it actually uses auto.etc with the line:
misc /etc/auto.misc --timeout=60

then /etc/rc.d/init.d/autofs -restart

even after a full system retart, it still isn't appearing in system:/media

any ideas?
 
Old 01-03-2007, 03:01 AM   #5
gravitek
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal
In konqueror, enter "sysinfo:/"
That may give the udev or had daemons a kick in the pants. I think that it should happen as you want.

You might want to post your /etc/fstab file.

If you enter: udevinfo -q env -p /sys/block/scd
Does it print out information about your drive?

Check if the udevd and dbus daemons are running. The /etc/fstab entry created by Fedora will give a hint what helper program is mount the filesystem. What is the value of the type field (3rd field)?

'Protocol not supported' for sysinfo:/ in Konqueror

fstab file:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0

/dev/VolGroup00/LogVol01 swap swap defaults 0 0
~

"no record for '/block/scd' in database" when typing
# udevinfo -q env -p /sys/block/scd

automount doesn't seem to be used to mount my internal cdrom drive anyway (which is working fine) becuase auto.misc was #'ed out in auto.master
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD-ROM Mounting Problems rignes Linux - Hardware 16 04-24-2004 09:48 PM
Mounting DVD ROM neosap Linux - Newbie 3 01-05-2004 04:31 PM
mounting cd-rom dvd-rom and cd-rw antoweb Mandriva 4 12-04-2003 10:37 AM
DVD-rom mounting jang Linux - Software 10 09-18-2003 02:49 PM
DVD-ROM mounting issue reynacho Mandriva 3 08-27-2003 10:12 PM


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

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration