The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
23 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 ...
2
votes
1answer
32 views

How to disable asking for root password while ejecting USB drives?

When I mount usb drive it mounts successfully, but when I hit triangle button in Thunar (Eject) - I'm asked for root password! Executing $ udisks --eject /dev/sdd in console doesn't require root ...
1
vote
0answers
34 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
81 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 ...
0
votes
1answer
210 views

udev+udisks2: udisksctl gives 'Error looking up object for device'

In Debian Wheezy I had a special rule for my ntfs usb hdd. When it is inserted it is mounted in /media under a specific sub-folder. ACTION=="add", SUBSYSTEMS=="usb", ...
1
vote
1answer
93 views

udisksctl mount a different subvolume of an already mounted btrfs partition

I have a btrfs partition with several subvolumes, one of which is /. I have another subvolume with some other stuff that I also want to mount, but trying to mount it with udisksctl: udisksctl mount ...
0
votes
2answers
212 views

Mount a partition in Terminal with udisks

I'm running Linux Mint 17.1, based on Ubuntu Trusty. If I run udisks --mount /dev/sda7 then the partition is mounted in /media and not in /media/$USER as it should. What am I doing wrong?
6
votes
1answer
370 views

How do I change automatic mounts of removable vfat / fat32 drives/partitions to use “noexec”?

When I plug in a USB drive it is automatically mounted on /run/media/user/fslabel. This is done, I guess by some udev/dbus/thunar/nautilus/gvfs or other system, and I find this convenient and do not ...
1
vote
1answer
139 views

Make udisks2 clean up stale mount points?

udisks2 with udiskie are set up to automount USB storage devices. Connecting a pen drive labeled MYDRIVE, it is mounted to: /media/MYDRIVE When pulling the drive without prior unmounting, the above ...
1
vote
1answer
389 views

btrfs RAID1 array shows as two disks

I mounted 2 drives as a RAID1 btrfs array (btrfs v3.12, Ubuntu 14.04). Everything's working fine except nautilus and other GUI-based apps see two disks, both labeled "Raid1". One is mounted (the ...
0
votes
1answer
228 views

How to install udisks1 in CentOS 7?

I have several scripts that I need for various tasks with USB devices, but they were written with udisks1 in mind. Porting them over to udisks2 has proven difficult, if not impossible, so I'm ...
3
votes
1answer
350 views

Unlock LUKS partition using keyfile without root access?

Is there any way to unlock LUKS partition using keyfile while not having root priviliges? (using sudo is not an option) I know that udisksctl can open LUKS partition, however it can do it only with a ...
1
vote
0answers
250 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 ...
2
votes
1answer
1k views

How can I make udisks-glue run at startup and mount drives as particular user?

I'm trying to make udisks-glue work on my Raspbian Raspberry Pi. This works fine if I manually start udisks-glue via ssh. However, I wish to start it automatically on startup. Hence, a script at ...
2
votes
1answer
1k views

Mount image user-readable with udisks2

Loop devices, i.e. for mounting raw disk images, can be managed without root privileges using udisks. For testing purposes, an image can be created and formatted like so: dd if=/dev/urandom ...
1
vote
1answer
261 views

Can't run put udisks commands in udev scripts

I'm trying to launch a script when a LUKS drive is inserted. So I setup a udev rule: KERNEL=="sd*3", ACTION=="add", ATTRS{serial}=="XXX", ATTRS{manufacturer}=="XXX", ...
3
votes
2answers
2k views

USB memory stick failing to mount - Not Authorized

One of my customers uses a machine running CentOS 6.4 with Gnome 2.28.2. Whenever he plugs a USB memory stick or external hard drive into the machine he gets an error pop-up that simply states Unable ...
1
vote
3answers
927 views

udisks2: permission denied

When I mount blank btrfs partition in Dolphin, I get "Permission denied" on write. You can see that it's mounted on /run/media/%username% dir which is correct, but owner is root. [doctor@doctoror ...
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 ...
0
votes
3answers
379 views

List of partition labels vs devices using dbus/udisks in bash

I have a problem where using dbus and udisks seems to be the best approach. So I invented a problem: create a table of labels and devices for each partition "installed" ala: "" /dev/sda1 ...
5
votes
1answer
2k views

Make thunar mount drives into /media rather than /run/media/username?

It's pretty annoying that thunar mounts a drive to /run/media/user_name/XX instead of /media/XX, can I change that behavior ? I'm running latest arch linux
6
votes
2answers
3k views

How can I activate the current session in ConsoleKit?

I have a live Debian Squeeze system on a USB drive, containing a script I use to image another drive. This script uses udisks to mount a drive by label, but it doesn't work over a serial console. The ...
4
votes
3answers
3k views

Why is pcmanfm such a headache when it comes to mounting filesystems?

If I would have known how much 'customization' it takes to get LXDE and its default file manager, pcmanfm, just working, I would probably have never chosen to try it. I've got a problem. Lots of ...