Why symbolic links can be created across filesystem boundaries ?

Symbolic links use pathname to establish a link and not the inode number.

Path names are also unique making it possible for link creation

ls -l  /home/user1/file1 /tmp/file2

check the inode of both "file1" and "file2" by using the command

ls -i /home/user1/file1
ls -i /tmp/file2

we can find different inode number for both these files.

No comments: