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?
|