that is interesting, Brian; thank you.<br clear="all"><div>:-)~MIKE~(-:</div>
<br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 8:34 AM, Brian Cluff <span dir="ltr"><<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 01/29/2013 12:24 AM, Michael Havens wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a question<br>
though, I tested it and when I copied a file into /home/bmike1/Pictures<div class="im"><br>
the file went to the desired directory. Why if I copy it to the desired<br>
directory directly does it not go to /home/bmike1/Pictures also? It must<br>
have to do with the order you put the the two directories in<br>
</div></blockquote>
<br>
A bind mount works like mounting any other hard drive. Everything below the place that you mount the filesystem gets replaced by the drive you mount on top of it. If your filesystem were a tree it would be like cutting off a limb and grafting a new limb onto where you cut it off.<br>
There is a way to layer up directories, it's call a Union filesystem and allows you to merge directories together, but they are a little harder to setup that just a simple mount.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
sudo mount ~bmike1/Pictures<br>
<br>
why is it '~bmike1/Pictures' and not '~/bmike1/Pictures'?<br>
</blockquote>
<br></div>
the ~ means "home directory of", if you have just a ~ by itself it will refer to the home directory of the current user, if you put a ~ in front of a user name, it means the home directory of that user.<br>
Since you were most likely mounting stuff as root, you needed to include the user name after the ~, otherwise you could have simply put ~/Pictures.<br>
In your case if you were to have put ~/bmike1/Pictures, as root it would actually turn into the path /root/bmike1/Pictures or if you had run the command as bmike1 it would have really meant /home/bmike1/bmike1/pictures<span class="HOEnZb"><font color="#888888"><br>
<br>
Brian Cluff</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br>