[CentOS] how do I stop automount of Hitichi Lifestudio USB drive

Wed Aug 12 21:17:15 UTC 2015
Michael Hennebry <hennebry at web.cs.ndsu.nodak.edu>

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