[PATCH RFC] udisks2 mount options configuration files

Michael Biebl mbiebl at gmail.com
Mon Apr 27 10:51:06 PDT 2015


2015-04-27 19:34 GMT+02:00 Stanislav Brabec <sbrabec at suse.cz>:
> Michael Biebl wrote:
>
>> Well, yeah. As I mentioned earlier, there is currently no mechanism to
>> set global defaults. I think it would be useful to allow that.
>>
> Editing /etc/fstab by user utility using a root service sounds to me:
>
> - Wrong, because udisks2 already supports setting of mount options as user
> without writing to /etc/fstab.
>
> - Non-flexible, becaue /etc/fstab does not support setting e. g. mount
> options for all media with particular FS type.
>
> - And insufficient, because /etc/fstab cannot reflect users' locale or time
> zone, which is needed for friendly manipulation with vfat.
>
> - And ugly, because different users may have different opinion, and there is
> no way to remove them without having the device at hands.

Well, we had the per-user mount flags with gnome-mount. The
predecessor of udisks (based on hal).

gnome-mount could pass mount flags from the user session to HAL which
would then apply them. That wasn't without problems though and so was
removed eventually (or rather replaced by udisks).


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the devkit-devel mailing list