simple link question (ln)
i am trying to create a link from a mounted hard drive at /mnt/hd to a folder in my home directory /home/atlantis/hd and this is what i try, and these are the errors i get...
[root@localhost atlantis]# ln -s /home/atlantis/hd /mnt/hd
ln: creating symbolic link `/mnt/hd/hd' to `/home/atlantis/hd': Operation not permitted
[root@localhost atlantis]# ln -s /home/atlantis/hd /mnt
ln: `/mnt/hd': cannot overwrite directory
[root@localhost atlantis]#
i dont understand why /mnt/hd says that its creating a link /mnt/hd/hd ??
and what is the difference between a hard link and a symbolic link?
if i wanted to be able to add/remove files from my /mnt/hd through the link, can i do that with a symbolic link?
|