symbolic link with jffs2
Jose Pascual
josepascual at almudi.com
Tue May 11 07:37:19 EDT 2004
Hi,
It seems as strlen of names in symbolic links is wrong or the '\0' is
forgotten at the len of name,
the symlink is correct until first ? appear. Shouln't be a '\0' instead
Where ? appear.
regards
>
> Hi,
>
> I'm using kernel 2.4.25-vrs2 and my own patch for my specific
> board. I updated my kernel to 14/4/2004 MTD snapshot (cvs).
>
> I have mounted a jffs2 fs in mtdblock2 (nor in my case) but
> when I make symbolic link something doesn't work as you can
> se below, (appear some ? simbols in name, so symbolic links
> are broken)
>
> do you have seen this problem before? any suggestion?
>
> ----------------------------------------------------------------
> [root at IA-CPU-9200 lib]$ls -la
> total 1534
> drwxrwxrwx 1 root root 0 Jan 1 00:18 .
> drwxr-xr-x 1 root root 0 Jan 1 00:17 ..
> -rwxr-xr-x 1 root root 116853 Dec 21 2003 ld-2.2.3.so
> lrwxrwxrwx 1 root root 11 Jan 1 00:16
> ld-linux.so.2 ->
> ld-2.2.3.so?1?.so?
> -rwxr-xr-x 1 root root 1348598 Dec 21 2003 libc-2.2.4.so
> lrwxrwxrwx 1 root root 13 Jan 1 00:16 libc.so.6 ->
> libc-2.2.4.so?.so?
> -rwxr-xr-x 1 root root 29479 Dec 21 2003
> libcrypt-2.2.3.so
> lrwxrwxrwx 1 root root 13 Jan 1 00:16 libcrypt.so ->
> libcrypt.so.1?.so?
> lrwxrwxrwx 1 root root 17 Jan 1 00:16
> libcrypt.so.1 ->
> libcrypt-2.2.3.so?
> -rwxrwxrwx 1 root root 74712 Dec 21 2003
> libpthread-0.8.so
> lrwxrwxrwx 1 root root 15 Jan 1 00:16
> libpthread.so ->
> libpthread.so.0?.2
> lrwxrwxrwx 1 root root 17 Jan 1 00:18
> libpthread.so.0
> -> libpthread-0.8.so?
> lrwxrwxrwx 1 root root 17 Jan 1 00:16
> libpthread.so.0.bad -> libpthread-0.8.so?
> [root at IA-CPU-9200 lib]$
> ----------------------------------------------------------------
>
> thank you in advanced
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/lin> ux-mtd/
>
>
>
> __________ Información de NOD32 1.755 (20040511) __________
>
> Este mensaje ha sido analizado con NOD32 Antivirus System
http://www.nod32.com
__________ Información de NOD32 1.755 (20040511) __________
Este mensaje ha sido analizado con NOD32 Antivirus System
http://www.nod32.com
More information about the linux-mtd
mailing list