I have ubuntu 12.04 and I need a portable solution (to work on various linux systems) and to be in my user's home directory for mounting a partition after login or after boot.
From what I searched on web I saw that using udisks is the best solution but what I did not find is how to mount the auxiliary partition to a specified mount point (directory path)
What I have so far is (by device name):
/usr/bin/udisks --mount /dev/sdbX
or (by uuid):
/usr/bin/udisks --mount /dev/disk/by-uuid/1313-F422
but there is no example on how to specify the mount point.
For me, it is mandatory to have a specific directory target (/media/AUX/ for example).
Is there a way to do this (not necessarily using udisks) ?