Re: how do I stop automount of Hitichi Lifestudio USB drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux