Michael Hennebry
2015-Aug-12 20:34 UTC
[CentOS] how do I stop automount of Hitichi Lifestudio USB drive
Most of the time, if I plug a USB drive into my computer, gnome/centos/whatever will ask me what I want to do with it. With a Hitachi Lifestudio, all the partitions mount without asking me. How do I stop that behavior? My suspicion is that the same kind of mechanism is what makes candy drops work. So far as I know, my backup drive is not candy, but I would still like to be able to control my computer. -- Michael hennebry at web.cs.ndsu.NoDak.edu "SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then." -- John Woods
Fred Smith
2015-Aug-12 20:47 UTC
[CentOS] how do I stop automount of Hitichi Lifestudio USB drive
On Wed, Aug 12, 2015 at 03:34:53PM -0500, Michael Hennebry wrote:> > Most of the time, if I plug a USB drive into my computer, > gnome/centos/whatever will ask me what I want to do with it. > With a Hitachi Lifestudio, all the partitions mount without asking me. > > How do I stop that behavior? > > My suspicion is that the same kind of > mechanism is what makes candy drops work. > So far as I know, my backup drive is not candy, > but I would still like to be able to control my computer.Not sure, but if you made entries for it in /etc/fstab that explicitly said not to mount, that might do the trick. It looks as if the "noauto" option should do the trick. Fred -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven." ------------------------------ Matthew 7:21 (niv) -----------------------------
Michael Hennebry
2015-Aug-12 21:17 UTC
[CentOS] how do I stop automount of Hitichi Lifestudio USB drive
On Wed, 12 Aug 2015, Fred Smith wrote:> On Wed, Aug 12, 2015 at 03:34:53PM -0500, Michael Hennebry wrote: >> >> Most of the time, if I plug a USB drive into my computer, >> gnome/centos/whatever will ask me what I want to do with it. >> With a Hitachi Lifestudio, all the partitions mount without asking me. >> >> How do I stop that behavior?> Not sure, but if you made entries for it in /etc/fstab that > explicitly said not to mount, that might do the trick. > > It looks as if the "noauto" option should do the trick.That might work. I could add 30 entries to fstab: /dev/sd[cde][1-9] My suspicion is that whatever is mounting the drive is treating it special and might ignore fstab. Ideally I'd learn the the name of the automounter and what database to edit. -- Michael hennebry at web.cs.ndsu.NoDak.edu "SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then." -- John Woods
Possibly Parallel Threads
- how do I stop automount of Hitichi Lifestudio USB drive
- how do I stop automount of Hitichi Lifestudio USB drive
- how do I stop automount of Hitichi Lifestudio USB drive
- how do I stop automount of Hitichi Lifestudio USB drive
- how do I stop automount of Hitichi Lifestudio USB drive