trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: June 2018

Re: Re: [trinity-users] Disabling USB hard drive auto mount

From: Kate Draven <borglabs4@...>
Date: Tue, 12 Jun 2018 21:09:36 -0400
> On 06/11/2018 01:28 AM, Kate Draven wrote:
> > Hi people (and others)
> > 
> > I'm having a lot of trouble figuring out how to disable the auto mount
> > function for usb hard drives.
> > 
> > Every time I connect a HD via a usb HD dock. It auto mounts the drive.
> > 
> > Is there anyway to stop this? I think it's udisksd or something. Google 
was
> > useless regarding how to disable it.
> > 
> > I'm asking PCLinuxOS people but I expect I'll get an answer here faster.
> > 
> > Any help would be greatly appreciated.
> > 
> > 
> > Kate
> 
> 
> Hi Kate, you can write your drive to /etc/fstab using noauto.
> 
> If you want to add it to fstab and need some help let us know the dev 
> name or uuid, file system type and where you want to mount it, I use 
> /home/jimmy/sdb1 or it could be /mount/sdb1 or /media/sdb1. Here's a 
> example of how I handle sdb1 on this desktop.
> 
>   '/dev/sdb1 /home/jimmy/01-SDB1 ext4 noauto,users,exec,relatime 0 0'
> 
> But what you're seeing seems to be a PC Linux OS thing and is not the 
> behavior of devuan or debian.
> -- 
> Jimmy Johnson
> 
> Devuan Jessie - KDE 4.14.2 - AMD A8-7600 - EXT4 at sda5
> Registered Linux User #380263
> 
> 
> ---------------------------------------------------------------------
I agree, it is a pclos thing. They use udisks2. Which is notorious for 
automount problems. I can't uninstall it because trinity is dependant on it.
I know how to edit the fstab, but would rather not. It's also not going to 
help because it's rarely the same drive twice. This becomes a problem 
when/because I'm working on client drive data recovery.

I appreciate the help though,

Thank you Jimmy 

Kate