udisks provides a daemon that implements interfaces that can be used to enumerate and perform operations on storage devices and a cli tool - udisksctl, to query and use the daemon.

learn more… | top users | synonyms

1
vote
1answer
39 views

How do I automatically force a umount on a usb drive that has already been removed?

I have debian system that auto mounts an entry in my fstab file when a usb drive is connected. This is done so as a read only device The device is mounted to /media/usb1 If i'm in the console and ...
0
votes
1answer
57 views

How can I permanently change the ownership of a mounted device under `/media/$USER`?

I'm using an encrypted (cryptsetup with LUKS with ext3) SD-Card as disk space extension. When entering the key in Nautilus, the device is decrypted (/dev/dm-3) and mounted in /media/$USER/. ...
2
votes
0answers
308 views

UDEV rule to run partprobe on loop device

I use udisks2 to mount raw image over a loop device: udisksctl -f image.img --no-user-interaction Policykit is configured, so no errors here. For some reason kernel does not want to re-read ...
1
vote
0answers
26 views

mount usb disk via udisksctl need root privilege

I don't know why, but on my ubuntu 16.04 laptop, udisksctl can work properly without root privilege. However, when I plug this disk to centos 7, the execution of same command needs root privilege and ...
1
vote
0answers
55 views

Udisks2, LUKS and btrfs

I just bought a portable USB HDD,on which i put 2 partitions : a LUKS one, which contains a btrfs fs and a fat32 one, in case I'd have to use a system which doesn't support LUKS or btrfs I use ...
1
vote
0answers
106 views

Setting default udisk2 NTFS option for removable drive

I am running debian/jessie amd64, and I would like to change the default options for ntfs-3g. Namely I'd like to state that any removable device for which filesystem is NTFS, should be mounted with ...
1
vote
0answers
151 views

Disk partition emptied during tar backup

This morning I was doing a routine backup of my development drive, one of 4 primary partitions on my hard-drive. The script I ran was: filename="/home/Backups/Devi_"`eval date +%Y%m%d`".tgz" touch $...