On 01/03/13 00:52, Vincent Rivière wrote:
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.
No, this is not different from other systems, and rooted symlink behaviour is the same. The only additional problem with FreeMiNT is we can't re-create the deleted symlink because our U:/ drive can't make directories. That's just a filesystem diffieciency.
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.
Indeed. You don't need the -h option if you are unpacking to a filesystem such as ext2 directly.
Anyway, very good, there is no more abnormal tar behavior on FreeMiNT :-)
Right. Alan.