# How do you hide disks from showing up in File Managers? Relying on a fixed partition name is error-prone! It's better to use UUID that are unique to a partition. Get your disk UUID: $ blkid Get extended information: $ lsblk -o NAME,LABEL,UUID,MOUNTPOINTS,SIZE,MODEL More extended information: $ udisksctl info -b /dev/sdxn (where /dev/sdxn is partition). Write the following in «/etc/udev/rules.d/99-hide-disks.rules»: # hide "Alien System" partition in UI SUBSYSTEM=="block", ENV{ID_FS_UUID}=="UUID_of_Partion_To_Hide", ENV{UDISKS_IGNORE}="1" The comments are optional, but recommended so that the UUID becomes less magic. Be sure not to mix up = with ==, one sets the variable, the other compares against a variable. After creating the rules file, apply it by rebooting or by running: sudo udevadm control --reload sudo udevadm trigger --subsystem-match=block Now run the udisksctl info -b /dev/sdxn command again and it should contain: HintIgnore: true ======================================================================== For fixed partition names, the general format is (this is case sensitive!): KERNEL=="device name", ENV{UDISKS_PRESENTATION_HIDE}="1" If it does not work, try: KERNEL=="device name", ENV{UDISKS_IGNORE}="1"