Why is it possible to create symbolic links across file system boundaries?
Symbolic links link by pathname rather than inode number. As you know, each pathname is a unique file on a system. Because of this, it is possible to create symbolic links across file system boundaries. Try to create symbolic links using following command:
$ touch /home/you/file1
# ln -s /home/you/file1 /tmp/file2
Find out inode of both file1 and file2
# ls -i /home/you/file1
1567789
# ls -i /tmp/file2
1567795
As you can see inode number are unique to each file. So it is possible to create symbolic links across file system boundaries. Please note that in above example both /tmp and /home are two different file systems.
See also:
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Unix Create a Symbolic Link
- How to: Linux / UNIX create soft link with ln command
- Linux / UNIX find files with symbolic links
- How to create a hard links in Linux / UNIX
- Can I set the permissions on a symbolic link under Linux/UNIX?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!



Recent Comments
Today ~ 9 Comments
Today ~ 6 Comments
Yesterday ~ 6 Comments
Yesterday ~ 68 Comments
Yesterday ~ 8 Comments