You are not logged in.
I have three partitions in my hard drive, which are not mentioned in my fstab, that are auto-mounted when I run startx to start GNOME.
Relevant lines in dmesg are
[ 17.066612] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 17.185785] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)Any idea on how I can prevent GNOME to automatically mount those partitions? More generally, is there a way of knowing which program within GNOME is mounting the partitions?
$gnome-shell --version
GNOME Shell 3.18.3
$ uname -a
Linux xxxxx 4.4.1-1-ARCH #1 SMP PREEMPT Mon Feb 1 08:16:18 CET 2016 x86_64 GNU/LinuxPS: Going to GNOME Menu > Disks, and then disabling automounting adds three lines to my fstab like this one:
UUID=3XXXXXXXXXXXXXXB /mnt/3XXXXXXXXXXXXXXB auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0But that does not help.
Offline
I have a same problem. Downgrading the kernel to 4.3.3-3 solves it. But I'm not sure if it's a kernel or gnome issue.
Offline
I have just updated the kernel to 4.4.1-2, and the issue I describe above is not solved.
Offline
While this is solved by another update, I followed https://wiki.archlinux.org/index.php/udisks to patch it and prevent partitions from being automounted. I created a file /etc/udev/rules.d/10-local.rules, with the following content:
KERNEL=="sda3", ENV{UDISKS_IGNORE}="1"
KERNEL=="sda6", ENV{UDISKS_IGNORE}="1"However, this also prevents the partitions from appearing in the file manager and thus if I want to mount them, I need to do it manually. Do you know of any rule that prevents the partitions from automonting but still shows them in the file manager?
Offline