LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-17-2005, 03:03 PM   #1
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Unhappy automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/


Hi, I am trying to get automounting to work on my Slackware 10.0 box so it's a bit friendlier as a home workstation, which is how I am using it. (It is not a server). Mounting my CD-ROMs by hand is a pain and shouldn't be necessary in this day and age!

I followed the advice given in this thread:

http://www.linuxquestions.org/questi...postid=1149234

but it still is not working for me. The daemon is running:

Code:
root@radhagovinda:/mnt/media# ps -ef | grep auto
root      3059     1  0 18:52 pts/2    00:00:00 /usr/sbin/automount -p /var/run/automount.pid -t 3 /mnt/media file /etc/auto.media -timeout=3
but whenever I try to access an automounted device, I get some information in the log file /var/log/messages like this:

Code:
Oct 17 18:53:18 radhagovinda automount[3059]: attempting to mount entry /mnt/media/cdrom0
Oct 17 18:53:18 radhagovinda automount[3072]: >> Usage: mount -V                 : print version
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount -h                 : print this help
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount                    : list mounted filesystems
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount -l                 : idem, including volume labels
Oct 17 18:53:18 radhagovinda automount[3072]: >> So far the informational part. Next the mounting.
Oct 17 18:53:18 radhagovinda automount[3072]: >> The command is `mount [-t fstype] something somewhere'.
Oct 17 18:53:18 radhagovinda automount[3072]: >> Details found in /etc/fstab may be omitted.
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount device             : mount device at the known place
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount directory          : mount known device here
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount -t type dev dir    : ordinary mount command
Oct 17 18:53:18 radhagovinda automount[3072]: >> Note that one does not really mount a device, one mounts
Oct 17 18:53:18 radhagovinda automount[3072]: >> a filesystem (of the given type) found on the device.
Oct 17 18:53:18 radhagovinda automount[3072]: >> One can also mount an already visible directory tree elsewhere:
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount --bind olddir newdir
Oct 17 18:53:18 radhagovinda automount[3072]: >> or move a subtree:
Oct 17 18:53:18 radhagovinda automount[3072]: >>        mount --move olddir newdir
Oct 17 18:53:18 radhagovinda automount[3072]: >> A device can be given by name, say /dev/hda1 or /dev/cdrom,
Oct 17 18:53:18 radhagovinda automount[3072]: >> or by label, using  -L label  or by uuid, using  -U uuid .
Oct 17 18:53:18 radhagovinda automount[3072]: >> Other options: [-nfFrsvw] [-o options] [-p passwdfd].
Oct 17 18:53:18 radhagovinda automount[3072]: >> For many more details, say  man 8 mount .
Oct 17 18:53:18 radhagovinda automount[3072]: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/cdrom0
which looks very helpful but turns out, on closer inspection, not to be any help at all!

My configuration files are:

/etc/auto.master:
Code:
# /etc/auto.master
#
/mnt/media /etc/auto.media --timeout=3
/etc/auto.media:
Code:
# /etc/auto.media
#
floppy -fstype=vfat,sync,user,umask=002,gid=users :/dev/fd0
cdrom0 -fstype=iso9660,ro:/dev/hda
cdrom1 -fstype=iso9660,ro:/dev/hdb
Any tips on what to look for/try/read will be very gratefully received! Thanks for reading this.

Last edited by vasudevadas; 10-17-2005 at 04:26 PM.
 
Old 10-17-2005, 03:22 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
Code:
cdrom0 -fstype=iso9660,ro :/dev/hda
                         ^
maybe put a " " ( space ) there. ( above the ^ ).

egag

Last edited by egag; 10-17-2005 at 04:07 PM.
 
Old 10-17-2005, 03:34 PM   #3
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
Smile Aha!

What it actually needed was:

Code:
cdrom0 -fstype=iso9660,ro :/dev/hda
cdrom1 -fstype=iso9660,ro :/dev/hdb
                         ^
                         Space here
But thank you very much! You put me on the right track. It works fine now.
 
Old 10-17-2005, 03:50 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
sorry, but i don't see the difference .
but nice you got it working.

egag
 
Old 10-17-2005, 03:53 PM   #5
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
Wink

I think we are having font issues!
 
Old 10-17-2005, 04:05 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
oh...i will use
Code:
..
next time...

( i edited my post )

egag

Last edited by egag; 10-17-2005 at 04:08 PM.
 
  


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: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
can mount C not D FAT: invalid media value (0x45) mount: wrong fs type, bad option Emmanuel_uk Linux - Newbie 10 11-29-2005 03:47 AM
how to mount a Rock Ridge iso9660 disc as a standard user? zero79 Debian 5 11-13-2005 01:18 PM
Should it be mnt or mount cheetahman Suse/Novell 9 04-28-2005 08:34 PM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 05:51 AM


All times are GMT -5. The time now is 04:22 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration