Results 1 to 2 of 2
Hey all,
I'm wondering what the difference between a mount and a link is? if you mount /home/username to /home/username2/username its almost like a link is created there /home/username2/username points ...
- 10-30-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 1
Mount vs Link?
Hey all,
I'm wondering what the difference between a mount and a link is? if you mount /home/username to /home/username2/username its almost like a link is created there /home/username2/username points to /home/username.
I'm exploring the characteristics of a mounted directory, as in trying the following:
-d file True if file exists and is a directory.
-l file True if file exists and is a link
The -d passes - but I'm getting the -l to fail - which says mounted dirs are not links. How are they different?
- 10-31-2007 #2
by mounting you can mount any place you want to your mount place, then you can unmount it and mount there another place
but if you create a link, you can't change where it links, it will still link to the same place...


Reply With Quote