On 9/4/06, <b class="gmail_sendername">Eamonn Sullivan</b> <<a href="mailto:eamonn.sullivan@gmail.com">eamonn.sullivan@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 9/3/06, Craig Hagerman <<a href="mailto:craighagerman@gmail.com">craighagerman@gmail.com</a>> wrote:<br>> Hi,<br>><br>> I have /home and /usr on a separate partition from /. I have /etc/fstab set<br>> up like this:
<br>><br>> /mnt/home /home none bind 0 0<br>> /mnt/usr /usr none bind 0 0<br>><br>> This makes them 'appear' to be at /home and /usr respectively. My problem is
<br>> that when I do a find or locate I end up getting duplicate results. e.g.:<br>><br>> /usr/local/java<br>> /mnt/usr/local/java<br>><br>> Are the same file, but the file system thinks they are separate locations.
<br>> How can I make the /mnt/home and /mnt/usr directories hidden?<br><br>Just out of curiosity, why mount them in two places (/mnt/home and<br>/home, for example). Why not just mount them once (/home)? I'm sure<br>I'm missing a good reason for this, so just tell me to go away...
<br><br>-Eamonn</blockquote><div><br>Ummm.... come to think of it I can't remember why I did that. I think I
was/am confused about the correct way to have filesystem directories on
another partition. I'll change my question to asking what the correct
way to do this is.<br>
<br>
Craig<br>
</div><br></div><br>