Richard Hughes wrote:
On 24 April 2015 at 21:36, Martin Pitt <martin.p...@ubuntu.com> wrote:
That sounds better to
me than introducing yet another config file location/format?

Me too; I'm pretty sure David was dead against this kind of
configuration when we designed udisks/upower.

Well, me too. Partially.

But udev approach is clean and nice, but it requires root privileges. It is good for specifying system wide things, but bad for things like: Mount my camera SD card with shortname=lower.

I am all for removing system-wide configuration support from my patch and keep only a support for unprivileged stuff.

It would be nice, if the non-privileged configuration will be acceptable e. g. for gnome-disks.

And it would be nice to support all intended purposes by both system-wide and non-privileged configuration:

- Rule based configuration (e. g. removable disc => add "flush" for
  vfat).

- Per-volume configuration (e. g. this disc from camera should use my
  timezone, that backup disc should use UTC).

- Possibility to implement a pop-up after inserting a medium, asking
  for mount options before actually mount happens. (udisks2 already
  provides needed notification, so we should actually just prevent to
  make it impossible).

- Make possible to make decisions based on environment of calling task
  (i. e. desktop environment, e. g. codepage= based on locale,
  time_offset= based on timezone).

- Stuff that is safe for non-privileged users, should be doable by
  non-privileged users.

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbra...@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
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to