JFFS2 problem with filename length > 7

Wedepohl, Martin Martin.Wedepohl at gdcanada.com
Tue Sep 26 17:27:52 EDT 2006


I'm running into a problem with filename lengths greater than 7
characters.
Everything is fine until I unmount and then remount the device.

I'm running Linux 2.6.17 on a PowerPC 5200.

Any help would be greatly appreciated

bash-3.00# uname -r
2.6.17-g4e21eb5f-dirty
bash-3.00# eraseall /dev/mtd7
Erased 2048 Kibyte @ 0 -- 100% complete.
bash-3.00# mount -t jffs2 /dev/mtdblock7 /mnt
bash-3.00# touch /mnt/1
bash-3.00# touch /mnt/22
bash-3.00# touch /mnt/333
bash-3.00# touch /mnt/4444
bash-3.00# touch /mnt/55555
bash-3.00# touch /mnt/666666
bash-3.00# touch /mnt/7777777
bash-3.00# touch /mnt/88888888
bash-3.00# touch /mnt/999999999
bash-3.00# touch /mnt/aaaaaaaaaa
bash-3.00# ls -al /mnt
total 4
drwxr-xr-x   3 root root    0 Jan  1 01:01 .
drwxr-xr-x  15 7099  500 4096 Sep 26  2006 ..
-rw-r--r--   1 root root    0 Jan  1 01:01 1
-rw-r--r--   1 root root    0 Jan  1 01:01 22
-rw-r--r--   1 root root    0 Jan  1 01:01 333
-rw-r--r--   1 root root    0 Jan  1 01:01 4444
-rw-r--r--   1 root root    0 Jan  1 01:01 55555
-rw-r--r--   1 root root    0 Jan  1 01:01 666666
-rw-r--r--   1 root root    0 Jan  1 01:01 7777777
-rw-r--r--   1 root root    0 Jan  1 01:01 88888888
-rw-r--r--   1 root root    0 Jan  1 01:01 999999999
-rw-r--r--   1 root root    0 Jan  1 01:01 aaaaaaaaaa
bash-3.00# umount /dev/mtdblock7
bash-3.00# mount -t jffs2 /dev/mtdblock7 /mnt
bash-3.00# ls -al /mnt
ls: /mnt/8888: No such file or directory
ls: /mnt/9999: No such file or directory
ls: /mnt/aaaa: No such file or directory
total 4
drwxr-xr-x   3 root root    0 Jan  1 01:00 .
drwxr-xr-x  15 7099  500 4096 Sep 26  2006 ..
-rw-r--r--   1 root root    0 Jan  1 01:01 1
-rw-r--r--   1 root root    0 Jan  1 01:01 22
-rw-r--r--   1 root root    0 Jan  1 01:01 333
-rw-r--r--   1 root root    0 Jan  1 01:01 4444
-rw-r--r--   1 root root    0 Jan  1 01:01 55555
-rw-r--r--   1 root root    0 Jan  1 01:01 666666
-rw-r--r--   1 root root    0 Jan  1 01:01 7777777
bash-3.00#

The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message. 
Thank you. 





More information about the linux-mtd mailing list