[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with autofs



Dne, 12. 04. 2011 20:52:08 je Aniruddha napisal(a):
Thanks for the help!

On Tue, Apr 12, 2011 at 7:38 PM, Klistvud <quotations@aliceadsl.fr> wrote:
> The quotes around the UUID may be superfluous.

> Try with LABEL=KINGSTON if you can't make it work with UUID...?
> Then again, Linux may just plain hate vfat...

I  tried with and without quotes, with the label and formatting the
drive as ext3.  I restarted autofs. None of these worked. When I cd to
 /var/autofs/removable it's empty.

It's supposed to be empty. After you cd to it, try issuing:
ls usb

Or, even better, use the --ghost option in your auto.master, like this:

/var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid,ghost

My current settings:

# cat  /etc/auto.master
/var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid

# cat  /etc/auto.removable
usb -fstype=auto UUID=b5fe478b-26f5-4182-a264-ba2b0a7c33c8

# blkid /dev/sdc1
/dev/sdc1: LABEL="KINGSTON"
UUID="b5fe478b-26f5-4182-a264-ba2b0a7c33c8" SEC_TYPE="ext2"
TYPE="ext3"


--
Cheerio,

Klistvud http://bufferoverflow.tiddlyspot.com Certifiable Loonix User #481801 Please reply to the list, not to me.


Reply to: