You are not logged in.

#1 2013-12-01 05:04:51

! RT
Member
Registered: 2013-11-27
Posts: 8

How to "hide" Windows partitions?

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

KERNEL=="sda1", ENV{UDISKS_PRESENTATION_HIDE}="1"

Unfortunately, after rebooting, Windows partition is still there (Thunar and other apps).

How do I hide it?

Offline

#2 2013-12-01 05:10:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to "hide" Windows partitions?

Why do you want to hide it?

Offline

#3 2013-12-01 05:15:59

! RT
Member
Registered: 2013-11-27
Posts: 8

Re: How to "hide" Windows partitions?

  • I won't use those partitions;

  • It is safer (user-level errors) not to have them available.

I found a note somewhere about UDISKS_PRESENTATION_HIDE being replaced by UDISKS_IGNORE. I will try this as soon as I'll be at work today.

Offline

#4 2013-12-01 05:42:16

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How to "hide" Windows partitions?

Offline

#5 2013-12-02 13:07:49

Marshal Kilgore
Member
Registered: 2013-10-29
Posts: 11

Re: How to "hide" Windows partitions?

You can simply add your Windows partitions to the fstab with 'noauto' and they won't show up in file browsers.
Mounting requires root rights now and you could configure them read-only as a further safety.

Offline

#6 2013-12-02 15:43:53

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: How to "hide" Windows partitions?

Do you have ntfs-3g installed? If so, remove it, as its only use is to find, mount, read from and write to Windows block devices. If you don't have ntfs-3g installed, you shouldn't be able to access the drive, even  if it appears in Thunar.* I don't know why it would appear without ntfs-3g installed, though.

*This assumes that NTFS access isn't included in the kernel you're using; I don't think that feature is enabled in the vanilla kernel.

Offline

#7 2013-12-02 16:05:45

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: How to "hide" Windows partitions?

ANOKNUSA wrote:

*This assumes that NTFS access isn't included in the kernel you're using; I don't think that feature is enabled in the vanilla kernel.

I think it is available in the vanilla kernel, but it only provides read-only access.

Offline

Board footer

Powered by FluxBB