[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Bug 194: open("/") fails



On 01/02/13 16:34, Alan Hourihane wrote:
On 01/02/13 15:44, Alan Hourihane wrote:
On 01/02/13 00:41, Vincent Rivière wrote:
On 30/12/2012 23:44, Alan Hourihane wrote:
Anyway, I've taken a quick look and yes, it's the kernel that's the
problem here.

I'll fix this.

http://sparemint.atariforge.net/bugtracker/view.php?id=194

Thanks for your fix, Alan.
Now the testcase passes.

However, there is still an issue in tar, the one I encountered first: it removes the root symlinks ! I will investigate that in a different thread.

There's probably more to this than my trivial patch does to get the basic test working. Essentially fleshing out the unifs functions.

For now, you can add the '-h' option to tar..... e.g...

tar -C / -xvhf xxxx.tar

Actually 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.

Alan.