On 26/07/2025 04:56, Stefan Monnier wrote:
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

Ah, that's where those HintFoo thingies are documented.

It is an issue with man pages. Hyperlinks are lost, they are links only on the project site.

I don't think the end-users reading the manpage should have to refer to
the DBus interface docs to know what to do and what does what.

I agree that it is not clear that these hints are mostly interpreted by 3rd party applications. Which way udev attributes are converted to boolean values is obscure as well. On the other hand examples in Arch wiki use namely "1". Somebody may file a bug. For me priority is rather low.

# cat /etc/udev/rules.d/99-my-stop-udisk.rules ENV{UDISKS_IGNORE}="1"
    #

I would consider a more specific rule just to avoid pollution of attributes of unrelated devices.

    SUBSYSTEM=="block", ENV{UDISKS_IGNORE}="1"

Reply via email to