autofs issue

Maccy maccy at maccomms.co.uk
Thu Dec 22 14:17:00 UTC 2005


Hi guys,

I'm using FC4 and autofs version 4.1.3-155. My users want to be able to cd 
into /usr/local from a client and see all the directories as on the server 
without having to cd into them first (as per a statically mounted 
filesystem via NFS), is that possible?

So I've experimented with the ghost option but not getting any closer to a 
solution. Does my syntax look OK? What am I missing?

/etc/auto.master :-
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
#/misc  /etc/auto.misc
#/net   /etc/auto.net
/usr/local  /etc/auto.local --timeout=300 --ghost

/etc/auto.local :-

*     -fstype=nfs,rw,nosuid,soft      server:/usr/local/&

Do I need anything in /etc/sysconfig/autofs ? I'd like to do the same 
thing for our home and data disks.

Many thanks in advance!

Maccy




More information about the users mailing list