Hello there!
I've recently switched from Fedora 11 to CentOS6. Now my SD cards (automatically mounted on plug) contents is displayed as UPPERCASE filenames.
I well see in mount's man that vfat's shortname option can be set to either lower, win95, winnt, mixed. OK, that's for entries in /etc/fstab or when mounting manually.
I'd like to change the defaults for devices that automatically mount in GNOME.. is this possible?
In gconf-editor, I don't see a storage/ subdir in system/..
Any hint?
Regards,
From: wwp subscript@free.fr
I've recently switched from Fedora 11 to CentOS6. Now my SD cards (automatically mounted on plug) contents is displayed as UPPERCASE filenames. I well see in mount's man that vfat's shortname option can be set to either lower, win95, winnt, mixed. OK, that's for entries in /etc/fstab or when mounting manually. I'd like to change the defaults for devices that automatically mount in GNOME.. is this possible? In gconf-editor, I don't see a storage/ subdir in system/.. Any hint?
Still under 5.x but maybe try gconf-tool2... $ gconftool-2 -g /system/storage/default_options/vfat/mount_options $ gconftool-2 -s /system/storage/default_options/vfat/mount_options --list-type=string -t list [shortname=lower,uid=,utf8]
JD
Hello John,
On Mon, 29 Aug 2011 07:19:31 -0700 (PDT) John Doe jdmls@yahoo.com wrote:
From: wwp subscript@free.fr
I've recently switched from Fedora 11 to CentOS6. Now my SD cards (automatically mounted on plug) contents is displayed as UPPERCASE filenames. I well see in mount's man that vfat's shortname option can be set to either lower, win95, winnt, mixed. OK, that's for entries in /etc/fstab or when mounting manually. I'd like to change the defaults for devices that automatically mount in GNOME.. is this possible? In gconf-editor, I don't see a storage/ subdir in system/.. Any hint?
Still under 5.x but maybe try gconf-tool2... $ gconftool-2 -g /system/storage/default_options/vfat/mount_options $ gconftool-2 -s /system/storage/default_options/vfat/mount_options --list-type=string -t list [shortname=lower,uid=,utf8]
Hmm interesting hint. I tried for both my current user and as root, the key was not existing yet, I wrote it. Unplugged device, replugged devices, filenames are still UPPERcase :-.
Regards,
On Mon, 2011-08-29 at 15:45 +0200, wwp wrote:
I've recently switched from Fedora 11 to CentOS6. Now my SD cards (automatically mounted on plug) contents is displayed as UPPERCASE filenames.
My current camera has file names on a SD card like:-
IMG_6988.JPG
so I used a simple bash programme to change the prefix and make JPG lowercase. the output is
e6988.jpg
Then I use another bash script to copy the contents of a HDD directory to another directory, reducing the size to 700 pixels wide for my cataloguing program. That program lets me optionally impose the date and time, various texts and logos on a standard 900 pixels wide copy for use elsewhere.
With Centos it seems the possibilities are endless :-)
Hello,
On Mon, 29 Aug 2011 15:42:04 +0100 Always Learning centos@u61.u22.net wrote:
On Mon, 2011-08-29 at 15:45 +0200, wwp wrote:
I've recently switched from Fedora 11 to CentOS6. Now my SD cards (automatically mounted on plug) contents is displayed as UPPERCASE filenames.
My current camera has file names on a SD card like:-
IMG_6988.JPG
so I used a simple bash programme to change the prefix and make JPG lowercase. the output is
e6988.jpg
Then I use another bash script to copy the contents of a HDD directory to another directory, reducing the size to 700 pixels wide for my cataloguing program. That program lets me optionally impose the date and time, various texts and logos on a standard 900 pixels wide copy for use elsewhere.
With Centos it seems the possibilities are endless :-)
I well understand your point. I'm used to shell scripting, and I use it all day long, but my point was not how to import-n-rename files, but how to get mounted vfat fs to use lowercase. Thanks anyway!
Regards,