[PATCH RFC] udisks2 mount options configuration files

Stanislav Brabec sbrabec at suse.cz
Mon Apr 27 09:58:44 PDT 2015


Martin Pitt wrote:
> Hello all,
>
> just a quick drive-by answer, I'll look more closely next week.
>
> Stanislav Brabec [2015-04-24 19:56 +0200]:
>> However having a possibility to configure mount options directly in
>> udisks2 would be nice, especially if it would support advanced
>> features like per-volume and per-device options.
>
> Note that there is https://bugs.freedesktop.org/show_bug.cgi?id=33461
> with an alternative approach using udev rules. That sounds better to
> me than introducing yet another config file location/format?

Thanks for pointing to that. I was thinking about that approach as well.
This has few downsides:
- You cannot define mount options as user.
- You cannot pick correct options based on logged user's locale or time
   zone.

That is why I consider the first example of use in the comment 3 as an 
abuse.

And technically, there should be a possibility to add mount options, not 
only define.

I agree, that this approach looks better integrated.

Maybe the best solution would be:

- Use udev for root based configuration.

- Use udisks2 / gnome-disks for user configuration.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec at suse.cz
Lihovarsk√° 1060/12                            tel: +49 911 7405384547
190 00 Praha 9                                 fax:  +420 284 084 001
Czech Republic                                    http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76


More information about the devkit-devel mailing list