Hi folks, In this case is not my will express my complains about why removable devices are mounted on /run/media but I'd want to know how udisks/udev/systemd/whoever chooses where it will mount the device, and even took a look to logs, udev and udisks monitor, nothing, nothing at all
I was looking for through udisks/udev/systemd and I haven't found nothing at all, apologise my ingnorance, but how that task is performed?
Please could you enlighten me?
Thanks in advance
-- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org
On Thu, 2013-05-02 at 07:36 -0300, Sergio Belkin wrote:
Hi folks, In this case is not my will express my complains about why removable devices are mounted on /run/media but I'd want to know how udisks/udev/systemd/whoever chooses where it will mount the device, and even took a look to logs, udev and udisks monitor, nothing, nothing at all
I was looking for through udisks/udev/systemd and I haven't found nothing at all, apologise my ingnorance, but how that task is performed?
Please could you enlighten me?
Thanks in advance
Sergio,
This change was made upstream in udisks2. It seems like it's hard coded and is not a configurable option. More information here:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1020759/comments/3
Google search terms "udisks run media" will get you even more information.
On Thu, 2013-05-02 at 07:36 -0300, Sergio Belkin wrote:
Hi folks, In this case is not my will express my complains about why removable devices are mounted on /run/media but I'd want to know how udisks/udev/systemd/whoever chooses where it will mount the device, and even took a look to logs, udev and udisks monitor, nothing, nothing at all
I was looking for through udisks/udev/systemd and I haven't found nothing at all, apologise my ingnorance, but how that task is performed?
Please could you enlighten me?
If you want to configure where a given device will be mounted, you can simply add a line for it to /etc/fstab , as has been the case for eons. udisks respects /etc/fstab ; if a device is listed there, then when udisks comes to mount it, it'll mount it in the location specified.
You can even configure this graphically via GNOME's Disks app; click a partition / volume, click the 'gears' (options) icon for it, select Edit Mount Options..., and change Mount Point to whatever you like. Whatever mount point you set will be remembered. (I don't remember if it writes the setting out to /etc/fstab or somewhere else).