[CentOS] Fedora and CentOS no longer on speaking terms

Anne Wilson cannewilson at googlemail.com
Sat Aug 20 18:41:48 UTC 2011


On Saturday 20 Aug 2011 17:58:13 John Hodrien wrote:
> On Sat, 20 Aug 2011, Anne Wilson wrote:
> > Hi, John.  That sounds really useful, particularly on the netbook where I
> > have to remember to disable the mounts before travelling.  The only
> > problem is, I don't know how to do that.  Can you either describe it to
> > me or point me to suitable reading?  Thanks
> 
> Basically the automounter will just step in and mount things when you try
> to access files within the directory.
> 
> http://www.linux-consulting.com/Amd_AutoFS/autofs.html
> 
> That probably tells you everything you need, but I'll just note the basics.
> 
> Basically you can have:
> 
> /etc/auto.master:
> 
> /remote /etc/auto.remote
> 
> /etc/auto.remote:
> 
> somemount -rw,intr,rsize=32768,wsize=32768,udp nfsserver:/blah/blah
> someothermount -rw,intr,rsize=32768,wsize=32768,udp nfsserver:/foo/foo
> 
> chkconfig autofs on
> service autofs start
> 
> Then you should be able to do:
> 
> cd /remote/somemount
> 
> When you do that, autofs will mount the share.
> 
> There's a lot more you can do, you really do need to read the
> documentation. Executable automount maps and ldap based maps really give
> you a lot of flexibility on how you can use it, but you probably need
> something very simple.
> 
Thanks.  Plenty to read, then :-)

Anne
-- 
New to KDE Software? - get help from http://userbase.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20110820/2c4973db/attachment.sig>


More information about the CentOS mailing list