LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2008, 02:42 PM   #1
jjge
Member
 
Registered: Jun 2003
Location: Kalkar, Germany
Distribution: Slackware
Posts: 108

Rep: Reputation: 16
Strange behavior of rsync w.r.t filename cae


I am copying files from an e3fs to VFAT. Both should have filename case, as far as I can see. The VFAT FS is currently mounted as:
mount -t vfat -o utf8 /dev/disk/by-label/Elements /mnt/tmp
however, I think that it is immaterial, I have tried several combinations, to no avail.

The source has rather mixed cases:

-rw-rw---- 1 root dom_user 20224000 2008-04-06 15:04 /museum/foto-collectie/F-09000-F-100 00/F-09990.TIF
-rw-rw---- 1 root dom_user 11627574 2008-04-06 15:04 /museum/foto-collectie/F-09000-F-100 00/F-09991.TIF
-rw-rw---- 1 root dom_user 20573132 2008-04-06 15:04 /museum/foto-collectie/F-09000-F-100 00/F-09992.TIF
-rw-rw---- 1 root dom_user 14203458 2005-10-07 11:59 /museum/foto-collectie/F-09000-F-100 00/F-09993.TIF
-rw-rw---- 1 root dom_user 20216940 2008-04-06 15:05 /museum/foto-collectie/F-09000-F-100 00/F-09994.TIF
-rw-rw---- 1 root dom_user 21504168 2008-04-06 15:05 /museum/foto-collectie/F-09000-F-100 00/F-09995.tif
-rw-rw---- 1 root dom_user 19641726 2008-04-06 15:05 /museum/foto-collectie/F-09000-F-100 00/F-09996.TIF
-rw-rw---- 1 root dom_user 21269692 2008-04-06 15:05 /museum/foto-collectie/F-09000-F-100 00/F-09997.tif
-rw-rw---- 1 root dom_user 12744736 2008-04-06 15:05 /museum/foto-collectie/F-09000-F-100 00/F-09998.tif
-rw-rw---- 1 root dom_user 12977074 2008-04-06 15:05 /museum/foto-collectie/F-09000-F-100 00/F-09999.TIF

sorry for the formatting, I hope you can read it. You have a capital F, then a sequence number, then the extension, which may be TIF or tif.

Now I see that, if the extension is TIF, the initial F, as well as the extension become lower case:

root@linuxserver:/mnt/tmp/backup/museum/foto-collectie/F-09000-F-10000# ls -l f-0999*
-rwxr-xr-x 1 root root 20224000 2008-04-06 15:04 f-09990.tif
-rwxr-xr-x 1 root root 11627574 2008-04-06 15:04 f-09991.tif
-rwxr-xr-x 1 root root 20573132 2008-04-06 15:04 f-09992.tif
-rwxr-xr-x 1 root root 14203458 2005-10-07 11:59 f-09993.tif
-rwxr-xr-x 1 root root 20216940 2008-04-06 15:05 f-09994.tif
-rwxr-xr-x 1 root root 19641726 2008-04-06 15:05 f-09996.tif
-rwxr-xr-x 1 root root 12977074 2008-04-06 15:05 f-09999.tif

and if it is tif, then the F remains upper case.

root@linuxserver:/mnt/tmp/backup/museum/foto-collectie/F-09000-F-10000# ls -l F-0999*
-rwxr-xr-x 1 root root 21504168 2008-04-06 15:05 F-09995.tif
-rwxr-xr-x 1 root root 21269692 2008-04-06 15:05 F-09997.tif
-rwxr-xr-x 1 root root 12744736 2008-04-06 15:05 F-09998.tif

Somehow this makes no sense to me. Is there any way to do anything about it?
 
Old 09-25-2008, 06:56 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Odd indeed.

Don't know what's causing the weirdness, but try adding 'case=asis' to the mount options and see if things get a little more sane.

Dave
 
Old 09-25-2008, 04:03 PM   #3
jjge
Member
 
Registered: Jun 2003
Location: Kalkar, Germany
Distribution: Slackware
Posts: 108

Original Poster
Rep: Reputation: 16
asis only accepted for hpfs

Unfortunately mount won't accept case=asis for VFAT.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
strange blocking behavior gearoid_murphy Programming 5 11-17-2007 03:05 PM
rsync and FAT32 problems (filename case-sensitive) apachedude Linux - Software 5 01-21-2006 08:20 PM
Very Strange Behavior raysr Mandriva 4 08-31-2004 03:06 PM
Strange Behavior andrewb758 Linux - Hardware 5 08-31-2003 03:42 PM
strange behavior abhijit Linux - General 3 07-10-2003 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration