One Basic Question:Can a file have links accross filesystems?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alcazar
    New Member
    • Jun 2007
    • 10

    One Basic Question:Can a file have links accross filesystems?

    We, know that within a single filesystem we can create links in the follwing way:

    ln -s <file_name|file path> <Symbolic_nam e>

    Eg:bestcode/array21.txt has three symbolic links arr1,arr2,arr3.

    lrwxrwxrwx 1 sumit sumit 20 Jun 13 13:24 arr3 -> bestcode/array21.txt
    lrwxrwxrwx 1 sumit sumit 20 Jun 13 13:24 arr2 -> bestcode/array21.txt
    lrwxrwxrwx 1 sumit sumit 20 Jun 13 13:24 arr1 -> bestcode/array21.txt

    Now my question is,

    Suppose there are three files in three different file systems,is it possible to create symbolic links accross these three different file systems.


    Thanks,
    Alcazar
  • prn
    Recognized Expert Contributor
    • Apr 2007
    • 254

    #2
    Yes. It is possible to create symlinks across filesystems. That is one of the primary functions of symlinks, in fact.

    HTH,
    Paul

    Comment

    • alcazar
      New Member
      • Jun 2007
      • 10

      #3
      Ok.Thanks.

      Alcazar

      Originally posted by prn
      Yes. It is possible to create symlinks across filesystems. That is one of the primary functions of symlinks, in fact.

      HTH,
      Paul

      Comment

      Working...