You are not logged in.

#1 2011-11-30 01:17:19

justdanyul
Member
Registered: 2011-09-29
Posts: 137

Mount issues

Hi everybody,

I hope this is the correct place to post this question, it might be in hardware and kernel but I'm not really sure.

Anyways heres my issue, I installed arch on a dual booting machine and I'm running XFCE 4.8 as my DE. The thing is, i can see my windows partitions on my desktop and in the file manager. I really dont need them, and I would love to get rid of them.

Since they aren't in fstab, i suspected udev was mounting them. And I tried creating a udev rule to make it stop mounting it, but somebody in the UDEV room on freenode pointed out to me that ignore_device was no longer supported and suggested I looked into udisks.

I been trying to find some useful information, but I cant seem to be able to find what I need. So I was wondering if anybody inhere could give me a hand? All I want is for my box to stop mounting a device at boot time and putting its partitions on my desktop. Thats all smile

Cheers,
Daniel

Offline

#2 2011-11-30 02:07:44

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: Mount issues

/etc/udev/rules.d/90-hide-partitions.rules

KERNEL=="sda2",ENV{UDISKS_PRESENTATION_HIDE}="1" 
KERNEL=="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1"

change or add lines to meet your partitions

Offline

#3 2011-12-03 00:17:42

justdanyul
Member
Registered: 2011-09-29
Posts: 137

Re: Mount issues

thank you so much big_smile worked like a charm smile

Offline

#4 2012-11-20 23:49:44

justdanyul
Member
Registered: 2011-09-29
Posts: 137

Re: Mount issues

this doesn't work anymore, seems it stopped to worked after systemd.

Last edited by justdanyul (2012-11-23 11:55:47)

Offline

Board footer

Powered by FluxBB