Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Stanislav Brabec
Michael Biebl wrote: 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). Which problems it had? I think that moving as much of removable media mount mechan

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Michael Biebl
2015-04-27 19:34 GMT+02:00 Stanislav Brabec : > 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,

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Stanislav Brabec
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 a

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Stanislav Brabec
Dne 27.4.2015 v 19:09 Andrei Borzenkov napsal(a): В Mon, 27 Apr 2015 18:58:44 +0200 Stanislav Brabec пишет: - Use udisks2 / gnome-disks for user configuration. Huh? gnome-disks sets options in /etc/fstab which is hardly possible as normal user - and if you need to be root you can just as

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Michael Biebl
2015-04-27 19:09 GMT+02:00 Andrei Borzenkov : > В Mon, 27 Apr 2015 18:58:44 +0200 > Stanislav Brabec пишет: > >> >> - Use udisks2 / gnome-disks for user configuration. >> > > Huh? gnome-disks sets options in /etc/fstab which is hardly possible as > normal user - and if you need to be root you can

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Andrei Borzenkov
В Mon, 27 Apr 2015 18:58:44 +0200 Stanislav Brabec пишет: > > - Use udisks2 / gnome-disks for user configuration. > Huh? gnome-disks sets options in /etc/fstab which is hardly possible as normal user - and if you need to be root you can just as well edit udev rules. And it does not have any w

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Stanislav Brabec
Stanislav Brabec wrote: Michael Biebl wrote: If you also add "x-gvfs-show", they'll show up in nautilus as removable media. If I'm not mistaken, you can easily edit those mount options with gnome-disks. Ah, I see it now! It is well hidden there: Click to the device at left, then see gears ic

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Andrei Borzenkov
В Mon, 27 Apr 2015 18:35:51 +0200 Stanislav Brabec пишет: > Andrei Borzenkov wrote: > > > Personally I miss possibility to set per-fstype options. I do want FAT > > to show Russian names correctly ... :) > > > I think that such rule should already work with my patch: > I mean "I miss it curren

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Stanislav Brabec
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 a

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Stanislav Brabec
Michael Biebl wrote: If you also add "x-gvfs-show", they'll show up in nautilus as removable media. If I'm not mistaken, you can easily edit those mount options with gnome-disks. Ah, I see it now! It is well hidden there: Click to the device at left, then see gears icon in right in the middle

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Stanislav Brabec
Andrei Borzenkov wrote: Personally I miss possibility to set per-fstype options. I do want FAT to show Russian names correctly ... :) I think that such rule should already work with my patch: [Fix Russian Filenames] Type=vfat Options=codepage=...; However I think that exactly this could be h

Re: [PATCH RFC] udisks2 mount options configuration files

2015-04-27 Thread Richard Hughes
On 24 April 2015 at 21:36, Martin Pitt 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. Richard. ___