|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Hardware Questions about drivers, peripheral cabling, configuration |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all !
Can someone tell me how (or where ?) I should setup options for mounting devices which mount "automatically" : I think mainly of USB-sticks with windows file-systems which I'd like to respect my typing with upper and lower case letters. Thanks in advance ! |
|
|||
|
didess wrote:
> Can someone tell me how (or where ?) I should setup options for > mounting devices which mount "automatically" : I think mainly of > USB-sticks with windows file-systems which I'd like to respect my typing > with upper and lower case letters. "shortname=[lower|win95|winnt|mixed]" is an option you can use to mount vfat devices. I.e., "shortname=mixed" "man mount" gives you full info on this. THT. Greetings, -- Camaleón |
|
|||
|
Thank you for the option.
Now that you gave me the good option, where do I set it up? Exemple : just a few minutes ago, I plugged an USB-stick which mounted automatically on /media/SomeDirectory. This SomeDirectory didn't exist previously and will disappear after the dismounting. So, how can I set up this option? while I cannot quote this file-system in /etc/fstab ? |
|
|||
|
didess wrote:
> Thank you for the option. > Now that you gave me the good option, where do I set it up? Mmm, you can manually mount the usb key :-) Umount the device (if already automatically mounted) and from xterm run: *** mount -t vfat -o shortname=mixed /dev/sdb1 /media *** Please, note you'll have to adjust the device (sdxx) and the mount point (media) to fit your requirements. The "one liner" above is just for testing purposes. If it works as you expect, you may need to specify "codepage", "umask","uid" and "gid=500" for the mounted device. Is the only way I know to achieve this. Almost sure there must an automatic way to get this but dunno. Maybe someone can expand this a bit O:-) Greetings, -- Camaleón |
|
|||
|
Quote:
Here's how I figured out how to tweak the automatic mounting of a DVD DVD Automounting UDF Problems. - Page 2 - openSUSE Forums All you should need to do is edit the vfat mount options in gconf-editor. |
|
|||
|
Thanks to cameleon : your "by hand" solution works fine : I re-discovered my directories and files with their "case-respected" names.
I have to work a little harder to find how to automatize that !! (directory creation, finding the proper device - because it disappears after the use ...) If I find more I'll post here Thanks to all! |
|
|||
|
You can and should mount your USB key under /media - if you define the volume name, the USB key will appear as a folder underneath /media with the same name.
If you're using Gnome I can help with the automation. |
|
|||
|
Yes, I use Gnome (sometimes XFCE, but mainly Gnome)
|
|
|||
|
didess wrote:
> Thanks to cameleon : your "by hand" solution works fine : I > re-discovered my directories and files with their "case-respected" > names. > > I have to work a little harder to find how to automatize that !! Didn't you try KJ44's advice? :-? Open GConf editor and go to /system/storage/default_options/vfat/mount_options and there you can edit the options that will be appended to all vfat mounted devices. I guess here you can change it to "shortname=mixed". You have to take into account that after the change, *all vfat mounted devices* would follow that rule. BTW, it is documented here: GNOME/Desktop Policy http://en.opensuse.org/GNOME/Desktop_Policy Greetings, -- Camaleón |
|
|||
|
Hi all !
That's it !! In a gnome session, in an xterm window, with my current login, even not a root session,I started "gconf-editor", then : system storage default-options vfat double-click on the only line Button "Modify" Replace "shortname=lower" by "shortname=mixed" Button "Validate" (may be OK, mine was "Valider" because I'm using French) I just umounted, then re-mounted my USB key and all was allright !!! Just a remark : it seems stange to me that it be a Desktop setup, I thought it was deeper in Linux ... That's life Many thanks to all of you |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|