autofs mount point on same box?

Reindl Harald h.reindl at thelounge.net
Sun May 5 14:41:23 UTC 2013



Am 05.05.2013 16:36, schrieb Frank Murphy:
> Can a autofs mountpoint be used on the same pc?
> man autofs if from 1997, still talks about ~/init*
> 
> Box has:
> /md0 (boot,/)
> /md1 (home)
> /md2 (/shareyumcache)
> /dev/sdg (swap) [can't see a benefit in raiding swap]
> 
> I want to use autofs to mount /md2 
> into "/var/cache" so the result is:
> /var/cache/yum/...
> 
> autofs.shareyum
> yum  (mount options)  127.0.0.1://shareyumcache 
> would that be correct?

why would anybody do this?
a bind-mount on your /etc/fstab is your friend

/shareyumcache  /var/cache/yum  none  bind

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130505/1993f383/attachment.sig>


More information about the users mailing list