> Van: Lyle Kopnicky
> I'm wondering if the GnuWin32 version of tar will preserve symbolic links 
> across platforms.
> I realize there are some issues, such as the fact that NTFS symbolic links 
> are absolute, but
> Posix ones can be relative. And that you can't have more than 31 > 
> symbolic links in the same
> path in NTFS. And that you have to have special permission to create 
> symbolic links in Windows.
> But does GnuWin32 tar make an effort to preserve symbolic links?

GNU tar and BSD tar do not know about NTFS symbolic links. So it is not 
possible to preserve them as symbolic links across operating systems. Even 
when tarring and untarring on MS-Windows, their behavior depends on how the 
operating system presents these files to them through the C-runtime 
(msvcrt.dll). I think, but I'm not sure, that they are simply stored as 
separate files, which perhaps are, or are not, represented as symbolic links 
again on untarring on MS-Windows. An experiment would probably give more 
insight.

Kees Zeelenberg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to