You are not logged in.

#1 2023-05-11 17:33:41

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

[SOLVED] Hiding partitions using UUID with udisks needs rule > 60

Hi

Following https://wiki.archlinux.org/title/Udisks … partitions

I was trying to hide several partitions from PCManFM,
  but crearting a rule in 10-local.rules and using UUIDs not work.

SUBSYSTEM=="block", ENV{ID_FS_UUID}=="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX", ENV{UDISKS_IGNORE}="1"

However it worked for.

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

I tried use a rule with a number > 60 as said here: Arch Linux Forum
answer #15, and then it works.


So, to use UUIDS you need a rule with a number > 60.
  by example: 90-local.rules

(It is solved, but I am not an expert in udisks rules to be sure about the reason.)
(May be someone with more knowing than me about udisks can add a note in the wiki.)


Thank you for taking the time to read the post.

Last edited by Alber (2023-05-11 21:06:38)


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#2 2023-05-11 20:01:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Hiding partitions using UUID with udisks needs rule > 60

This kind of information belongs in doubt into the relvant wiki entry, not into a PSA post on the forum (and merely parroting an earlier thread)

Edit, ok just noticed

(It is solved, but I am not an expert in udisks rules to be sure about the reason.)
(May be someone with more knowing than me about udisks can add a note in the wiki.)

You can make a suggestion in the articles discussion thread if you're unsure whether that information is relevant/required there.

Last edited by seth (2023-05-11 20:03:18)

Offline

#3 2023-05-11 21:33:21

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [SOLVED] Hiding partitions using UUID with udisks needs rule > 60

First, Thank you for the answer Seth,
I know you do a good work helping in the forums. Seriously I think that.
I remember you help me in other occasions.

But i don't think I was "merely parroting an earlier thread", that thread is about 2012, not solved.
The title "using udev rules right"; last add, #15, is a necrobump (a year after).
That same post has a link to another gentoo post with a similar case, but in this case the solution is (because it is solved) to use ID_PART_ENTRY_UUID (that didn't work).
I took a lot of time searching instead of posting: "it doesn't work..."

I've also posted, because I think this info will help people searching with words like "hide partitions uuids..." while wiki is changed. I didn't know how much time can take it.

I marked it as solved, I will look how make a suggestion in the article.

Take care Seth


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#4 2023-05-12 06:19:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] Hiding partitions using UUID with udisks needs rule > 60

I didn't mean to offend you and parroting might have been the wrong term, but
1. PSA-style HowTo posts are generally wrong
2. the linked, very old, thread literally has

brebs wrote:
hesse wrote:

ENV{ID_FS_UUID}==

Such matching can only be done after the ENV vars have been set up, which is done in 60-persistent-storage.rules

So use a rule filename > 60 wink

which is the exact answer to your exact problem and the solution you went about and parr… suggest here.
Concerns about your preferred search terms are not relevant to this. The forum isn't for SEO and ftr, the oracle of mountain view finds neither thread for eg. 'udev "ENV{ID_FS_UUID}" does not work'

Looking at the wiki, it's clearly misleading by suggesting first "10-local.rules" and then the ENV{ID_FS_UUID} approach which is not going to work w/ that file and the correct path forward is to fix the wiki because that is where ppl. should be looking up the topic first.
In the very unlikely case that you get pushback there, you can still blog about it - and I'll give you a +1 wink

Offline

#5 2023-05-13 12:40:53

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [SOLVED] Hiding partitions using UUID with udisks needs rule > 60

No offense taken.
May be is a cultural thing.
The word "parroting" would mean "dumb repeating", "annoying repeating", or both "dumb annoying repeating".

For me it is a reference to the source, so that readers can assess the reliability, authority, and allow for a deep search.


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#6 2023-05-14 16:21:57

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [SOLVED] Hiding partitions using UUID with udisks needs rule > 60

Wiki already updated. smile


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

Board footer

Powered by FluxBB