Hiding 'bind' partitions
eamonn.sullivan at gmail.com
Sun Sep 3 15:56:06 UTC 2006
On 9/3/06, Craig Hagerman <craighagerman at gmail.com> wrote:
> I have /home and /usr on a separate partition from /. I have /etc/fstab set
> up like this:
> /mnt/home /home none bind 0 0
> /mnt/usr /usr none bind 0 0
> This makes them 'appear' to be at /home and /usr respectively. My problem is
> that when I do a find or locate I end up getting duplicate results. e.g.:
> Are the same file, but the file system thinks they are separate locations.
> How can I make the /mnt/home and /mnt/usr directories hidden?
Just out of curiosity, why mount them in two places (/mnt/home and
/home, for example). Why not just mount them once (/home)? I'm sure
I'm missing a good reason for this, so just tell me to go away...
More information about the ubuntu-users