Hiding 'bind' partitions
Craig Hagerman
craighagerman at gmail.com
Sun Sep 3 15:47:55 UTC 2006
Hi,
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.:
/usr/local/java
/mnt/usr/local/java
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?
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060904/bd6f74cb/attachment.html>
More information about the ubuntu-users
mailing list