Skip to content

udisks inhibit polling #409

@swestlake

Description

@swestlake

Here as a user I'd like to emphasize the intent of udisks,

for a long time I have been able to prevent the Linux desktop from
auto-mounting usb drives by using udisks --inhibit-all-polling.

The way this command worked is it can be done by a standard user on demand while the Desktop is running. This is a very featureful thing to use because if one needs to be doing "dd" somewhere on a usb device, the Desktop would not try to be auto-mounting(and possibly write) to this device while it is being written to from another account..

Debian has /usr/lib/udisks2/udisks2-inhibit from the udisks2 package, but it appears not to operate the same as it basically just makes a rule
echo 'SUBSYSTEM=="block", ENV{UDISKS_IGNORE}="1"' > /run/udev/rules.d/90-udisks-inhibit.rules

In the past "udisks --inhibit-all-polling" can be called from a Desktop terminal window where it says to hit "Ctl-c" to stop inhibiting polling, and it was quite simple to use..

I was told by the mailing list that I can try to request this with udisks2 ..

Is it possible this tool/feature can be brought back into udisks2? There are users who have been using this particular feature for quite a number of years but some distros recently upgraded and did a large jump to udisks2 causing a bit of a surprise what is in udisk2 vs what is used to with udisks...

So, is it possible developers can get together on this and bring this really great feature back? It would be great to be working with the Desktop open and simply use this command while other root-account work can be done simultaneously on other devices..

thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions