Mail Archives: cygwin/2001/02/22/17:34:39
On Thu, Feb 22, 2001 at 04:34:19PM -0500, Larry Hall (RFK Partners, Inc) wrote:
> Ah, OK. I guess I don't know how the "attribute of the links" are represented
> but if the symlinks are recreated, that should take care of the basic problem.
> So these "attributes" would still be platform specific, just like the current
> symlinks, right?
Larry,
you're thinking way too complicated currently. Imagine:
- Source system: Root on C:\cygwin
- There's a symlink (shortcut) to /usr/include/foo
- The POSIX path inside is /usr/include/foo
- The DOS path inside is C:\cygwin\usr\include\foo
- tar cvf will create a tarball containing only the information that
there's a symlink to /usr/include/foo
- Target system: Root on D:\target
- tar xvzf will create a new symlink containing
- The POSIX path /usr/include/foo
- The DOS path D:\target\usr\include\foo
Voila!
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -