While auto-mounting a VFAT volume in a desktop environment, there is no way to select required mount options for the particular volume.
But there is no combination of options that will fit to all purposes. Without being able to choose mount options, some tasks work in an inferior way.
The goal is writing a pop-up tool and configuration tool, that will make possible to configure per-volume mount options.
There is several ways to implement it:
as a wrapper mount.vfat
as a part of udisks2
as a part of udev
There is not sure, what will be the best way.
Purpose of the tool
Time zone manipulation:
It is useful to use local time for cameras. But kernel does not support DST (Daylight Saving Time), so the time stamps of older files may vary. (And mapping from local time with DST part of the year to UTC is even not unique.)
It is useful to mount volumes used by rsync with a fixed time zone (e. g. UTC)
Short name manipulation:
The default shortname=mixed works well in most cases.
But if shortname=mixed is used for a camera that don't support VFAT (only FAT), all names are uppercase. It is ugly. Even uglier is the fact that copying lowercase-named file will create VFAT entry on the medium, which is not understood by the camera. shortname=lower should be used.
Other short name options can have its use case as well.
Also other options for VFAT, FAT and other file systems could be useful sometimes.
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 12
This project is one of its kind!