Stopping disk automounting for one disk
Cameron Hutchison
lists at xdna.net
Sun Jun 24 06:56:17 UTC 2007
I am setting up a backup drive on my system that will be hotplugged. I
have all the hotplugging working properly using scsiadd(8), where I can
make the device node appear and disappear with the correct use of
scsiadd.
I now have a problem that when I add the device, gnome is automounting
the disk. Also, because the device node is owned by group "disk" and the
desktop user is not a member of group disk (as you'd expect), a
privilege escalation prompt appears so that the disk can be mounted.
I do not want this disk to be automounted. I will mount it in my backup
script when I add the scsi device. But I do want the usual case of auto
mounting other hotplugged disks, such as USB devices, etc.
Can I disable automounting on a per-device basis?
More information about the ubuntu-users
mailing list