public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* bug? VFAT copy problem
@ 2006-11-20 15:42 The Peach
  2006-11-20 17:32 ` OGAWA Hirofumi
  0 siblings, 1 reply; 26+ messages in thread
From: The Peach @ 2006-11-20 15:42 UTC (permalink / raw)
  To: linux-kernel

Hi all
I've recently found a problem with the VFAT module.
I'm working on a gentoo box with kernel 2.6.17 gentoo patched (recently upgraded from 2.6.15)

I've got a samba share on a reiser partition and a daily cron will copy its content to an external usb disk with vfat file system. The copy is done via bash scripting and some checks are done before mirroring the files.
btw _some_ random files are copied lowering all chars in the file name.

Here is an example:

# pwd
/home/b/dir
# ls -l
-rwxr-xr-x 1 b users 676389 Aug 10  2004 DSCN5967(1).JPG
-rwxr-xr-x 1 b users 710090 Aug 10  2004 DSCN5968(1).JPG
-rwxr-xr-x 1 b users 732903 Aug 10  2004 DSCN5981.JPG.rem.2006-10-27-1543 
-rwxr-xr-x 1 b users 622595 Aug 10  2004 DSCN5982.JPG.rem.2006-10-27-1543 
# cp -v * /mnt/iomega/dir/ 
`DSCN5967(1).JPG' -> `/mnt/iomega/dir/DSCN5967(1).JPG' 
`DSCN5968(1).JPG' -> `/mnt/iomega/dir/DSCN5968(1).JPG' 
`DSCN5981.JPG.rem.2006-10-27-1543' -> `/mnt/iomega/dir/DSCN5981.JPG.rem.2006-10-27-1543'
`DSCN5982.JPG.rem.2006-10-27-1543' -> `/mnt/iomega/dir/DSCN5982.JPG.rem.2006-10-27-1543' 
# ls -l /mnt/iomega/dir/ 
total 2784 
-rwxr-xr-x 1 b users 676389 Oct 27 16:55 DSCN5967(1).JPG 
-rwxr-xr-x 1 b users 710090 Oct 27 16:55 DSCN5968(1).JPG 
-rwxr-xr-x 1 b users 732903 Oct 27 16:55 dscn5981.jpg.rem.2006-10-27-1543 
-rwxr-xr-x 1 b users 622595 Oct 27 16:55 dscn5982.jpg.rem.2006-10-27-1543

even if 'cp' gives correct destination names, an 'ls' shows that this
is not always true.

Here is a second quick experiment I've made:

# pwd
/home/b/dir
# cp -v DSCN5981.JPG.rem.2006-10-27-1543 DSCN5981.JPG.rem.9999-99-99-9999 
`DSCN5981.JPG.rem.2006-10-27-1543' -> `DSCN5981.JPG.rem.9999-99-99-9999' 
# cp -v DSCN5981.JPG.rem.9999-99-99-9999 /mnt/iomega/dir/
`DSCN5981.JPG.rem.9999-99-99-9999' -> `/mnt/iomega/dir/DSCN5981.JPG.rem.9999-99-99-9999' 
# ls -l /mnt/iomega/dir/ 
total 2784 
-rwxr-xr-x 1 b users 676389 Oct 27 16:55 DSCN5967(1).JPG 
-rwxr-xr-x 1 b users 710090 Oct 27 16:55 DSCN5968(1).JPG
-rwxr-xr-x 1 b users 732903 Oct 27 17:01 DSCN5981.JPG.rem.9999-99-99-9999 
-rwxr-xr-x 1 b users 732903 Oct 27 16:55 dscn5981.jpg.rem.2006-10-27-1543 
-rwxr-xr-x 1 b users 622595 Oct 27 16:55 dscn5982.jpg.rem.2006-10-27-1543

if the code will not show up correctly you can find the full code
listings at this url:
http://forums.gentoo.org/viewtopic-t-511205-highlight-.html
(thread in italian, the code is quite self explaining)

Thanks in advance, I can do any further test if you need, and provide any other info on the system.

-- 
Matteo 'Peach' Pescarin

ICQ UIN = 71110111
Jabber ID = smartart@unstable.nl
Web Site = http://www.smartart.it
GeCHI = http://www.gechi.it

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

end of thread, other threads:[~2006-11-23 19:21 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20 15:42 bug? VFAT copy problem The Peach
2006-11-20 17:32 ` OGAWA Hirofumi
2006-11-20 17:49   ` The Peach
2006-11-21 15:46     ` OGAWA Hirofumi
2006-11-22 14:02       ` [OT] " Sergio Monteiro Basto
2006-11-22 14:53         ` DervishD
2006-11-22 16:07           ` OGAWA Hirofumi
2006-11-22 18:21             ` DervishD
2006-11-23  0:56           ` Sergio Monteiro Basto
2006-11-23  9:13             ` DervishD
2006-11-23 11:26               ` The Peach
2006-11-23 15:43                 ` DervishD
2006-11-23 11:38               ` OGAWA Hirofumi
2006-11-23 11:50                 ` [OT] " Renato S. Yamane
2006-11-23 11:59                   ` OGAWA Hirofumi
2006-11-23 19:21                     ` Sergio Monteiro Basto
2006-11-22 15:30       ` The Peach
2006-11-22 16:15         ` OGAWA Hirofumi
2006-11-22 19:10           ` The Peach
2006-11-22 19:29             ` OGAWA Hirofumi
2006-11-22 19:38               ` The Peach
2006-11-22 19:51                 ` OGAWA Hirofumi
2006-11-22 22:21                   ` The Peach
2006-11-23 11:32                     ` OGAWA Hirofumi
2006-11-23  3:50       ` junjiec
2006-11-23 11:08         ` OGAWA Hirofumi

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