You are not logged in.
I found out, that nautilus uses gvfs to mount things like ssh, smb, etc.
I'm not sure gvfs handles mounting local partition too, but if i try it, i must enter my password. Maybe nautilus has nothing to do with this and gvfs is the fault?
$ cat /etc/fstab
...
/dev/sdb1 /media/Datengrab ext4 noauto,users 0 2
$ gvfs-mount -d /dev/sdb1
Mounted /dev/sdb1 at /media/DatengrabOffline
Did you try the option mentioned in the last post of this Thread?
Offline
Use..... lightweight device mounter..... ldm in the aur ...loads into MEDIA.
Check it out...very easy to set up and run.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Check it out...very easy to set up and run.
As far i understand this, doesn't mount the same?
Did you try the option mentioned in the last post of this Thread?
I just tried it and it didn't change anything.
For safety i did it the other way round (changed from "yes" to "auth_admin_keep") in an parallel installed ubuntu and the behaviour stayed the same.
So i think polkit is not the issue. Maybe udev can help me? I will see...
Offline
Crap, it's really that easy.
As mentioned in this wiki-article, only setup a new udev-rule and thats it.
So, thanks for your help, i mark this as solved ![]()
Offline
Wow, I would have never found that, way to go. BTW, it is a polkit rule, not udev. You could possibly classify it as a udisks[2] rule, but it is definitely not a udev rule.
Offline
BTW, it is a polkit rule, not udev. You could possibly classify it as a udisks[2] rule, but it is definitely not a udev rule.
Oh, right. Its under /etc/polkit-1/localauthority/50-local.d/, didn't note that.
But why is this in the wiki-article of udev?!
Offline
I think that udisks is related to udev. So you are using polkit to grant access to the user to mount partitions with udev's udisks. But if you look at the rest of that article and the udev rules, the rules are totally different than polkit rules.
Offline
I coincidentally just found something that is almost a little hack but i think it's a better solution than the polkit-rule:
If you want to automount something if a user requests access to it, this fstab-entry can do it (works only with systemd):
/dev/sdb1 /media/Datengrab ext4 noauto,comment=systemd.automount 0 2You can also use it to mount your /boot-partition. It will only be mounted, if you request access to your /boot-folder.
Brilliant, isn't it?
Offline