linking directories
Hi All,
This question has probably been asked before, but i can't seem to find a answer which works. My problem is linking one directory to another. What i want to achieve is the following: /data/ISO -> /data/IDE/ISO I have tried ln -s and can't seem to get it to work. Please can you help David |
Hello,
Quote:
from man ln: Quote:
what happens, why cannot you link them? You may also consider mount --bind where you mount one directory to another place. I don't know what are the advantages of the second approach. best, Ott |
Thanks that worked I think I had ln -s /data/IDE/ISO /data/ISO/ note the extra / at the end
Thanks again for your help |
The key part is where the man page shows it as ' ln [OPTION]... TARGET [LINK_NAME]' so it goes 'ln -s /DIR_TO/TARGET_NAME LINK_NAME' which to me seems backwards. This always throws me off when I make a link since I always try 'ln LINK_NAME TARGET' and then have to remember that it's backwards. Or maybe I now know to put the target first but still think it's backwards so I type it wrong anyhow? :confused:
|
All times are GMT -5. The time now is 09:33 PM. |