I have a new USB drive I've set up to replace some old internal drives, and I'd like to have it automount it's partitions to where the internal drives were mounted, instead of /media/fslabel.
I have to presume it's be some sort of udev config., but I can't for the life of me even see anything *choosing* /media, so I can only guess that it's hard-coded somewhere.
lshal does shopw a mount_point field for them, but given that HAL is being deprecated I suspect that's a dead-end, even if it isn't read-only.
Is it possible to override, on a per FS/device basis, where devices are auto-mounted?
In fact, what is is that even mounts things like that nowadays (I'm on F12), since gnome-mount et al. seems to have gone.
For now, I've added the partitions to /etc/fstab, but of course I then have to manually mount the things if the drive is not present on power up.
On Thu, 2010-09-02 at 09:36 +0100, Neil Bird wrote:
I have a new USB drive I've set up to replace some old internal drives, and I'd like to have it automount it's partitions to where the internal drives were mounted, instead of /media/fslabel.
If autofs is still used, I think you can play with /etc/auto.master and /etc/auto.misc.
Around about 02/09/10 11:10, Tim typed ...
If autofs is still used, I think you can play with /etc/auto.master and /etc/auto.misc.
I think that restricts my mounts to be under the autofs controlled dir. (in my case, /mnt/autofs).