LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-21-2010, 01:11 AM   #1
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 144Reputation: 144
Can't get AutoFS working, Arch Wiki page erroneous?


I've recently installed AutoFS to see if I can get my Arch machine to automount devices/media like I can in Ubuntu (this is what it's for, is it not?). I'm following the wiki page on setting it up, but I'm noticing that something's up, and I can't get anything to mount automatically.

According to the wiki page, my /etc/autofs/auto.master should look like this (or at least "similar" to it):

Code:
/var/autofs/misc	/etc/autofs/auto.misc
/var/autofs/net	/etc/autofs/auto.net
But I've got this instead:

Code:
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(5).

#/media /etc/autofs/auto.media
There is no auto.media, but there is an auto.misc, and I edited it to (presumably) suit my needs:

Code:
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/sr0
floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fd0
usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1
But even if I restart the daemon (/etc/rc.d/autofs restart), it still doesn't do anything when I plug in my USB stick. Well, okay, it shows up as an icon on my desktop, but it always has done that, and when I try to open it, I just get an error dialog:

Quote:
Failed to mount "PORTABLE".

Rejected send message, 1 matched rules; type="method_call", sender=":1.11" (uid=1000 pid=1754 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1097 comm="/usr/sbin/hald)).
So it's not mounting at all.

I apologize if this is a n00bish question, but I've searched around the forums, and I couldn't find anything that was pertinent enough to my situation to be helpful.
 
  


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
In a x86 arch, where is the page descriptor of a page frame stored? sudarg Linux - Newbie 0 03-31-2009 03:57 AM
LXer: Make your Thunderbird start page a wiki LXer Syndicated Linux News 0 09-14-2007 04:00 AM
automounting with autofs not working.. logicalfuzz Linux - Networking 2 11-21-2005 05:41 AM
Wiki: Show Printable Version / printer friendly version / wiki page setup Emmanuel_uk LQ Suggestions & Feedback 1 10-24-2005 08:09 AM
setting up a wiki page hk_linux Programming 5 08-11-2005 09:14 AM


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