Friday, November 12, 2010

Victoria Secret Drug Test

Mount FAT mode device shortname = lower

some time ago how to mount the device type vfat changed in Linux went from being shortname = lower to shortname = mixed. A necessary change, as with the previous all filenames were displayed in lowercase letters, and new ones written in small letters on the device, which was certainly a problem when using devices with songs. The problem comes because rsync who used the previous mode, for example to backup or hard disk vfat, is now simply to have names that were previously always lowercase now are sometimes capitalized, with that no longer be the same names the backup program does not do what was expected.

The problem is there is no way to change this in HAL: It assumes that you could use a fdi file like the following:
 \u0026lt;? Xml version = "1.0" encoding = "UTF-8"?> \u0026lt; ;! - / Etc / hal / fdi / policy / preferences.fdi -> 
\u0026lt;deviceinfo version="0.2">
\u0026lt;device>
\u0026lt;match key="volume.fstype" string="vfat"> \u0026lt;merge
key="volume.policy.mount_option.shortname=lower" type="bool"> true \u0026lt;/ merge>
\u0026lt;/ match>
\u0026lt;/ device>
\u0026lt;/ deviceinfo>
but works: the system is discouraged volume.policy.mount_option by the developers of HAL, who say such things (the mount options) the should specify the desktop environment, and not a policy.

So I had to go to / etc / fstab to put it there, but of course no guarantee that a vfat device has a UUID, right? Finally

has been as follows:
 / dev/disk/by-id/usb-OLYMPUS_D555Z_C315Z_000J03011507-0 :0-part1 / media / olympus vfat users, rw, nosuid, nodev, uhelper = hal, utf8, shortname = lower, 0 0 
flush and do not know if that's good or bad: I do know is that I had to create the mount point, and it is not removed from the desktop.

0 comments:

Post a Comment