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
m.roth at 5-cent.us
2015-Aug-12 21:22 UTC
[CentOS] how do I stop automount of Hitichi Lifestudio USB drive
Michael Hennebry wrote:> 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.autofs is what's mounting it. But if you turn it off, you'll have to manually mount anything that's not in /etc/fstab. Sounds like gnome's trying to be WinDoze.... mark
Jonathan Billings
2015-Aug-13 00:54 UTC
[CentOS] how do I stop automount of Hitichi Lifestudio USB drive
On Aug 12, 2015, at 5:22 PM, m.roth at 5-cent.us wrote:> autofs is what's mounting it. But if you turn it off, you'll have to > manually mount anything that's not in /etc/fstab. > > Sounds like gnome's trying to be WinDoze....Its not ?autofs? specifically (which is a simple thing) but udev talking to udisks, allowing your login session to use udisks to mount the volumes if allowed by PolicyKit, speaking through dbus. Yeah. -- Jonathan Billings <billings at negate.org>
Reasonably Related 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