On 06/12/2018 06:09 PM, Kate Draven wrote:
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
I've tested pclos a few times over the years, I wanted to love it, but
always got bitten, for me it was hardware that was not supported and we
could not fix it.
Here's one I've tested, it's a nice tight system with the Trinity
Desktop, you can run it live and/or install and if you have the skills
you can convert to a pure Trinity+Devuan system as none of the hocus
pocus they've done is needed.
https://distrowatch.com/table.php?distribution=exe
It would be nice to see a Trinity+Devuan live .iso.
Cheers,
--
Jimmy Johnson
Devuan Jessie - KDE 4.14.2 - AMD A8-7600 - EXT4 at sda5
Registered Linux User #380263