How to override /media as a mount point?

Neil Bird neil at fnxweb.com
Thu Sep 2 08:36:49 UTC 2010


   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.

-- 
[neil at fnx ~]# rm -f .signature
[neil at fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil at fnx ~]# exit


More information about the users mailing list