Am 05.05.2013 16:46, schrieb Frank Murphy: > On Sun, 05 May 2013 16:41:23 +0200 > Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote: > >> why would anybody do this? > > To only have /md2 mounted as necessary, > without clicking/typing anything.. > >> a bind-mount on your /etc/fstab is your friend >> >> /shareyumcache /var/cache/yum none bind >> > > Would this allow it to be only mounted when accessed > I'm not familiar with using bind. > man bind has just brought up 982 lines of confusion currently bind is not a command, bind is a mount-type look again at the line i posted! why would anybody mount it only on access to make the setup useless more fragile? this is a simple local alias! http://docs.1h.com/Bind_mounts _____________________________ my bind-mounts in /etc/fstab and /mnt/data is /dev/md2 # BIND-Mounts /mnt/data/home /home none bind /mnt/data/.tmp /tmp none bind /mnt/data/.tmp /var/tmp none bind /mnt/data/www/thelounge.net /Volumes/dune/www-servers none bind /mnt/data/www/phpincludes /Volumes/dune/www-servers/phpincludes none bind _____________________________ [root@srv-rhsoft:~]$ mount | grep /dev/md2 /dev/md2 on /mnt/data type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256) /dev/md2 on /Volumes/dune/www-servers type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256) /dev/md2 on /var/tmp type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256) /dev/md2 on /tmp type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256) /dev/md2 on /home type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256) /dev/md2 on /Volumes/dune/www-servers/phpincludes type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256) /dev/md2 on /mnt/data/www/thelounge.net/phpincludes type ext4 (rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256)
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org