libatasmart apparently has a bug where it will wake up a disk from
sleep just trying to open it, so use our own code to check the pm
state to avoid this.
Signed-off-by: Phillip Susi
---
src/udiskslinuxdriveata.c | 101 --
1 file changed, 52 insertions(
On Mon, 7 Oct 2013 12:41:06 +0200
Pawel Wieczorkiewicz wrote:
> Add new variables 'drive.removable.bus' and 'drive.removable.media'.
> It allows restricting or granting access to removable media based on
> its type by polkit authorization rules. It makes possible to grant
> access to USB devices