You are not logged in.

#1 2018-04-21 19:17:37

CptMuffins
Member
Registered: 2018-04-21
Posts: 2

[SOLVED] Hiding Partitions with Udisks / Udiskie

I am trying to hide partitions so that they don't show up in the file manager but I am having a hard time getting it to work. I followed the Wiki but I can still see the boot partition in the file manager.  I am not sure where I am going wrong with this or if I am forgetting to do a command it is assumed that I should know at this point.  Any help would be greatly appreciated.

Details:

Newly installed Arch (base & base-devel) with XFCE. Installed udisks2 and udiskie. Little else installed at the moment beyond ufw/gufw as I am still getting the basics setup. 

Steps so far:

After installed udisks2 and udiskie, I saw here that I can hide partitions. I currently have "File System", "Filesystem root", and "boot" displayed in the file manager. Needless to say I just need to see "File System". 

I typed in the following to find the uuid for each partition:

ls -l /dev/disk/by-uuid/

The result:

lrwxrwxrwx 1 root root 10 Apr 21 13:51 04bde516-2d3b-4747-96d8-fb2b4e1a19a1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 21 13:51 211de7f3-b5cd-4d21-84e7-06d713fe8793 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 21 13:51 ece8661b-b8f9-4210-a257-7d148706f9fa -> ../../sda3

As per the wiki, I then typed

sudo nano /etc/udev/rules.d/10-local.rules

I added the following text into the file:

ENV{ID_FS_UUID}=="04bde516-2d3b-4747-96d8-fb2b4e1a19a1", ENV{UDISKS_IGNORE}="1"

I saved the file, rebooted, and nothing. The boot partition still shows up.  Udisks2 and udiskie seem to be working fine otherwise though as I managed to set up automounting USB sticks without issue.  Am I skipping a step without realizing it? Any help on this would be greatly welcomed.

My fstab if it matters any at all:

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=211de7f3-b5cd-4d21-84e7-06d713fe8793       /               ext4            rw,relatime,data=ordered        0 1

# /dev/sda1
UUID=04bde516-2d3b-4747-96d8-fb2b4e1a19a1       /boot           ext4            rw,relatime,data=ordered        0 2

# /dev/sda3
UUID=ece8661b-b8f9-4210-a257-7d148706f9fa       none            swap            defaults,pri=-2 0 0

Last edited by CptMuffins (2018-04-22 02:33:08)

Offline

#2 2018-04-21 20:55:23

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] Hiding Partitions with Udisks / Udiskie

Apparently installing gvfs should be enough to make at least the Filesystem root entry go away. I'm not sure what's really going on here though. I don't use gvfs myself and I've not really looked into it.

* https://bbs.archlinux.org/viewtopic.php … 7#p1685327
* https://forum.xfce.org/viewtopic.php?pid=44180#p44180

Offline

#3 2018-04-22 02:32:27

CptMuffins
Member
Registered: 2018-04-21
Posts: 2

Re: [SOLVED] Hiding Partitions with Udisks / Udiskie

THANK YOU! Argh this has been bugging me all day, and I didn't come across the gvfs stuff in my searching around since I was unsure what to look for beyond udisks and udiskie stuff.  Installing that cleaned everything up though and now it is as it should be.  Thanks!

For future reference should anyone else come across this thread, simply installing gvfs and rebooting solved the problem. I didn't need to configure anything. So make sure to grab it at least if you use XFCE and the default Thunar file manager that comes with it.

Offline

Board footer

Powered by FluxBB