Date: Sun, 12 Feb 1995 19:46:25 -0500 (EST) From: Marc Ramirez <mrami@mramirez.sy.yale.edu> To: questions@FreeBSD.org Subject: union fs Message-ID: <Pine.BSI.3.91.950212191603.212A-100000@mramirez.sy.yale.edu>
next in thread | raw e-mail | index | archive | help
Am I reading the mount_union manpage correctly? (2.0-950210-SNAP) I thought at some point I should see the files 1, 2, and 3 all together... I just had the following exchange: mrami[2]$ls a 1 3 mrami[2]$touch /tmp/b/2 mrami[2]$ls /tmp/b 2 mrami[2]$mount_union /tmp/b /usr/home/mrami/test/a # a/ should contain 1,2,3 mrami[2]$ls /tmp/b 2 mrami[2]$cd a mrami[2]$ls 2 mrami[2]$touch 4 mrami[2]$ls 2 4 mrami[2]$cd .. mrami[2]$ls /tmp/b 2 4 mrami[2]$mount /dev/sd0a on / (local) /dev/sd0e on /usr (local) /dev/sd1a on /usr/home (local) procfs on /proc (local) <above>/tmp/b on /usr/home/mrami/test/a (local, user mount) mrami[2]$umount '<above>/tmp/b' mrami[2]$ls a 1 3 mrami[2]$ls /tmp/b 2 4 mrami[2]$ How do I mount /tmp/b/ over a/ so that the files in a are visible, but new files go into /tmp/b/ ? The reason I am asking: I want to mount /usr/local/xbin over /usr/X11R6/bin so that I can foil all the programs that ty to install themselves into /usr/X11R6/bin. I make heavy use of the concept of 'local'. :) Marc. -- DeForrest Gump - "Dammit, Jim! Life is like a box of chocolates!"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.950212191603.212A-100000>