You are not logged in.
Pages: 1
Topic closed
Hi,
I have several btrfs subvolumes mounted in my /home/user directory. The annoying thing about it, is that Nautilus lists all these subvolumes in the left panel as devices. Is there a way to avoid this behavior? I've already tried to create a file /etc/udev/rules.d/99-hide-disks.rules with the rule
KERNEL=="sdb3", ENV{UDISKS_IGNORE}="1"but this does not work for btrfs subvolumes.
Last edited by aexl (2014-03-21 03:56:34)
Offline
there's some good stuff here: https://bbs.archlinux.org/viewtopic.php?id=156371
But I really don't have much experience with nautilus.
Offline
Thank you very much! Using systemd *.mount Unit files to mount the subvolumes instead of mounting them in the /etc/fstab solved the problem for me.
Offline
Hi,
I got the same problem. I want to avoid using anything else than fstab. And the weird thing is, that my current archlinux install does NOT show those entries, while a new one does. And I dont know why.
I installed all packages from my current system on the new one (testing inside a vm), but that also did not help.
I compared the fstab entries, but they look quite identical:
Old:
UUID=c91384af-f210-48f5-ba19-d6415a1bb447 /home/arch/hackallthethings btrfs rw,relatime,nossd,space_cache,subvolid=2781,subvol=/@hackallthethings,subvol=@hackallthethings 0 0
New:
UUID=ba0cf405-6377-4dbb-a15a-f4e52fce689f /home/user/git btrfs rw,relatime,space_cache,subvolid=265,subvol=/subvolumes/custom/git,subvol=subvolumes/custom/git 0 0
I also tried the "x-gvfs-hide" mount option without success. And I also dont remember that I configured anything on my current system, I never had this issue. But the system is running for some time now, I originally started with xfce, now I am using gnome.
Does anyone know, what could cause the icons to show on one system, but not the other?
Edit: I found a bug report here:
https://bbs.archlinux.org/viewtopic.php … 0#p1712030
But it is working for me on one system for years!?
Edit2:
It appears that out of all entries ONE RANDOM is picked and ignored by the UI. looks like a bug to me. On my existing machines only one of such mounts is used, thatswhy it was not shown until now. The post linked above contains a link to the bugreport, that might help once it is fixed. I hope it will get fixed...
Last edited by NicoHood (2018-09-22 10:06:50)
Offline
You can use the mount option x-gvfs-hide in /etc/fstab to hide it in nautilus
/dev/sda1 /mnt/sda1 ext4 defaults,x-gvfs-hide 0 2Offline
Mod note: closing this old solved thread.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed