sh-2.03# cd /bin
sh-2.03# ls -l rbash
lrwxrwxrwx    1 root     root            0 Jan  1 00:14 rbash -> bash
sh-2.03# tar cfv /tmp/xyzzy.tar rbash
rbash
sh-2.03# ls -l rbash
lrwxrwxrwx    1 root     root            0 Jan  1 00:14 rbash -> bash
sh-2.03# cd /tmp
sh-2.03# ls -l rbash
ls: rbash: No such file or directory
sh-2.03# tar xvf xyzzy.tar
rbash
sh-2.03# ls -l rbash
lrwxrwxrwx    1 root     root            1 Jan  1 00:22 rbash -> b
sh-2.03#

Looking at the .tar file it seems the problem is when it is made (ie
xyzzy.tar really thinks that the link is to 'b')

I'm using 2.4.10-ac10-rmk1 (with the previous (non-matching) -npx) patch +
my own hacks on a jffs2 fs. The tar is dated April 2 2001 and 139036 bytes
long.

I've also tries this on an iPaq running familiar 0.5pre3 (Linux version
2.4.7-rmk3-np1-devfs ([EMAIL PROTECTED]) (gcc version 2.95.2
19991024 (release)) #6 Fri Sep 21 17:06:13 EDT 2001 and it breaks in a
similar way.

    Ken

PS sorry anyone who is on both lists.


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to