On 02/01/2013 17:53, Alan Hourihane wrote:
tar -C / -xvhf xxxx.tarActually it seems like this is the right approach. On Linux, if I try to attempt extraction to a rooted symlink, it get's re-created as a real directory. In our case, we can't create real directories at /, so tar fails, and ends up removing the symlink. Using -h on Linux and FreeMiNT works fine when using rooted symlinks.
Indeed, you are very right =-O tar does the right thing with the -h option.This should be documented somewhere, as the behavior (because of root symlinks) is different with FreeMiNT than on other systems.
At first, I thought to a special MiNT patch for tar to remove the need of the -h option, but that would probably be insane.
Anyway, very good, there is no more abnormal tar behavior on FreeMiNT :-) -- Vincent Rivière