[darcs-users] Exchanging patches between case sensitive/insensitive filesystems

Aaron Kaplan lists2546 at aaronkaplan.info
Thu Mar 27 23:10:37 UTC 2008


On Thu, 27 Mar 2008 15:48:47 -0500
Rob Hoelz <hoelz at wisc.edu> wrote:

> Here's the funny thing.  I copy the repo on to the flash drive w/darcs
> get, and IDEAS becomes ideas.  I do the following:
> 
> $ mv ideas ideas2
> $ mv ideas2 IDEAS
> $ ls
> authors ideas include/ src/
> 
> Interestly enough:
> 
> $ mv ideas ideas2
> $ mv ideas Ideas
> $ ls
> Ideas authors include/ src/
> 
> I doubt this behavior is intentional;  perhaps it's a bug in the Linux
> FAT32 module?

To me it's clearly a bug, but the kernel maintainers inexplicably call
it a feature. To get the behavior that you and anyone in his right mind
expects, mount the fat32 volume with the option shortname=mixed.  If
you mount the volume by hand then you can specify this option on the
command line (with mount -o shortname=mixed if memory serves).  If usb
drives are mounted automatically, then you need to modify a
configuration file somewhere to change the options that are used to
mount them.  In Fedora I got it working by modifying a HAL fdi file
somewhere; you can probably dig up relevant web pages as well as I, but
if you don't find it then feel free to get back to me and I'll find my
notes on the subject.

-Aaron


More information about the darcs-users mailing list