You are not logged in.

#1 2010-12-30 20:17:53

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Autofs "no such file" Problem

I've set up autofs as per the wiki and when I plug my usb devices in the directories are created under /media.  However, when I try and go into those directories I get a

No such file or directory

error.

My auto.master:

# 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

And my auto.media:

# 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/cdrom
#floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fl
#usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sda1

cowon -fstype=autp,async,nodev,nosuid,umask=000 :/dev/disk/by-uuid/20A0-683F
cowonsd -fstype=autp,async,nodev,nosuid,umask=000 :/dev/disk/by-uuid/A036-C3DF

There is a blank line at the bottom of both files.

Any ideas what I'm missing?

Offline

#2 2011-01-01 05:16:05

rockin turtle
Member
From: Montana, USA
Registered: 2009-10-22
Posts: 227

Re: Autofs "no such file" Problem

Is that a space after media in your auto.master file?

If so, that is probably your problem.

Offline

#3 2011-01-02 19:21:41

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Autofs "no such file" Problem

Thanks for the reply - no there is not.  There is a blank line after it - which, I am led to believe, is necessary... I tried removing that line, however, and it hasn't helped.

Offline

#4 2011-01-02 19:30:01

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Autofs "no such file" Problem

Nevermind - I took another look at my auto.media and realised that the fstype was set to autp... Doh!

Offline

Board footer

Powered by FluxBB