public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* JFFS2 problem with filename length > 7
@ 2006-09-26 21:27 Wedepohl, Martin
  2006-09-27  0:21 ` Josh Boyer
  0 siblings, 1 reply; 10+ messages in thread
From: Wedepohl, Martin @ 2006-09-26 21:27 UTC (permalink / raw)
  To: linux-mtd

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. 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* JFFS2 problem with filename length > 7
@ 2006-09-27  5:13 Martin Wedepohl
  2006-09-27  6:12 ` David Woodhouse
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Wedepohl @ 2006-09-27  5:13 UTC (permalink / raw)
  To: linux-mtd

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#

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-09-28 20:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26 21:27 JFFS2 problem with filename length > 7 Wedepohl, Martin
2006-09-27  0:21 ` Josh Boyer
2006-09-27 19:10   ` Jamie Lokier
2006-09-28  0:03     ` Josh Boyer
  -- strict thread matches above, loose matches on Subject: below --
2006-09-27  5:13 Martin Wedepohl
2006-09-27  6:12 ` David Woodhouse
2006-09-27 21:18   ` Martin Wedepohl
2006-09-27 21:35     ` David Woodhouse
2006-09-28 18:00       ` Martin Wedepohl
2006-09-28 20:26         ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox