Hi. I've been looking for cleanest way of automatically mounting my Windows NTFS partition on login. I've looked on pam_mount but I didn't like it. Here's my solution:
- Allow yourself to mount it without password: http://ask.fedoraproject.org/questio...thout-password (follow accepted answer, not the one with most votes).
- Run
Code:
gnome-session-properties
and add entry with following command:
Code:
udisksctl mount --block-device /dev/disk/by-uuid/UUID_OF_YOUR_PARTITION
- Profit!
It will be available in /run/media/$USER/UUID_OF_YOUR_PARTITION (same as if you mount it via Nautilus). Now I need to figure out how to suppress gnome "NEW DRIVE AVAILABLE" notification.