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?
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
On Sun, 5 May 2013 15:36:37 +0100 Frank Murphy frankly3d@gmail.com wrote:
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?
From my config: /etc/auto.master /misc /etc/auto.misc --timeout=60 --ghost
/etc/auto.misc WDC160 -fstype=auto,noatime,nodiratime :/dev/disk/by-label/WDC160 WD500-Canyon -fstype=auto,noatime,nodiratime :/dev/disk/by-label/WD500-Canyon WD500-MyBook -fstype=auto,noatime,nodiratime :/dev/disk/by-label/WD500-MyBook
Another way (from man mount): ... The bind mounts. Since Linux 2.4.0 it is possible to remount part of the file hierarchy some- where else. The call is mount --bind olddir newdir or shortoption mount -B olddir newdir or fstab entry is: /olddir /newdir none bind ...
BR, Bob
On Sun, 5 May 2013 17:04:04 +0200 Bob Marcan bob.marcan@gmail.com wrote:
From my config: /etc/auto.master /misc /etc/auto.misc --timeout=60 --ghost
Curious what the --ghost couldn't see anything clearly in man auto.master
On Sun, 5 May 2013 16:10:23 +0100 Frank Murphy frankly3d@gmail.com wrote:
On Sun, 5 May 2013 17:04:04 +0200 Bob Marcan bob.marcan@gmail.com wrote:
From my config: /etc/auto.master /misc /etc/auto.misc --timeout=60 --ghost
Curious what the --ghost couldn't see anything clearly in man auto.master
It will make mount points visible all the time. Useful for gui access.
BR, Bob