On Fri 25 Jul 2025 at 14:51:03 (-0400), Stefan Monnier wrote:
> >> On one of my (Debian stable) machines, all the partitions that aren't
> >> mentioned in /etc/fstab end up mounted in /media/root/<UUID>, and that's
> >> apparently a "feature" of `udisks2`.
> >> 
> >> How can I tell udisks2 to refrain from doing that?
> >
> > I'm not sure if it's the best/easiest way, but in the past I've used
> > udev rules with ENV{UDISKS_IGNORE}="1":
> >
> >     https://wiki.archlinux.org/title/Udisks#Hide_selected_partitions
> 
> So far it seems to be the best option, thank you.  Sadly the doc I found
> doesn't say what is the meaning/effect of `UDISKS_IGNORE/SYSTEM/AUTO`
> nor what values those vars can take (e.g. I had tried "yes" instead of
> "1" and that seem to have no effect).

true/false I would imagine. See:

  https://storaged.org/doc/udisks2-api/latest/udisks.8.html

and:

  
https://storaged.org/doc/udisks2-api/latest/gdbus-org.freedesktop.UDisks2.Block.html

No idea why they split the information across two pages.

Cheers,
David.

Reply via email to