accessing nfs symbolic link (absolute path) from cygwin/windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andredz
    New Member
    • Jun 2010
    • 1

    accessing nfs symbolic link (absolute path) from cygwin/windows

    Is there away to access some NFS symlink files that are set using absolute paths from Windows?
    I'm able to access symlink files is there are set using relative paths.


    Assume on Linux (mylinux):
    /usr/local/file.c
    ln -s /usr/local/file.c fileX1.c (absolute path)
    ln -s file.c fileX2.c (relative path)

    Assume samba has been set up, so I can open these files on Windows:
    \\mylinux\usr\l ocal\file.c
    \\mylinux\usr\l ocal\fileX2.c

    But not:
    \\mylinux\usr\l ocal\fileX1.c

    I tried to mount (on Cygwin):
    mount "//mylinux" "/"

    So I can browse
    /usr/local/*

    but still can't open
    /usr/local/fileX1.c


    Is there away to make it work?
    Or it's just impossible due to file system differences.


    Thank you,
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    Originally posted by andredz
    Is there away to access some NFS symlink files that are set using absolute paths from Windows?
    I'm able to access symlink files is there are set using relative paths.


    Assume on Linux (mylinux):
    /usr/local/file.c
    ln -s /usr/local/file.c fileX1.c (absolute path)
    ln -s file.c fileX2.c (relative path)

    Assume samba has been set up, so I can open these files on Windows:
    \\mylinux\usr\l ocal\file.c
    \\mylinux\usr\l ocal\fileX2.c

    But not:
    \\mylinux\usr\l ocal\fileX1.c

    I tried to mount (on Cygwin):
    mount "//mylinux" "/"

    So I can browse
    /usr/local/*

    but still can't open
    /usr/local/fileX1.c


    Is there away to make it work?
    Or it's just impossible due to file system differences.


    Thank you,
    Could you please tell me the current directories in both the cases? i.e. when you create the link..

    Comment

    Working...