Re: pmount vs. udisks2

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

 



Anno domini 2020 Fri, 6 Nov 05:48:31 -0800
 William Morder via tde-users scripsit:
> 
> On Friday 06 November 2020 05:22:44 Dr. Nikolaus Klepp wrote:
> > Anno domini 2020 Fri, 6 Nov 05:14:10 -0800
> 
> > > Does this sound like what you describe?
> >
> > That is exactly what happens with pmount. e.g.:
> > /media/12.7MB ( sdb1 )
> >
> > Nik
> >
> 
> Somewhere online I had found some methods for forcing automount using my own 
> custom mount points; but now with most of my secrets and tricks buried in a 
> failed hard drive, I cannot tell you how exactly how I did it. It will take 
> some searching to find it again. 
> 
> In any case, now it works again, with one detail changed: instead of mounting 
> external drives as 
> /media/<user_name>/<custom_mount_point>/
> -- now it has reverted to an earlier usage, namely just 
> /media/<custom_mount_point>/
> -- which is how I organized mount points in Kubuntu. When I changed from 
> Kubuntu to Debian to Devuan, somewhere the <user_name> part got inserted, but 
> only for external (USB) hard drives; for my 3 internal hard drives (besides 
> sda1), everything remained the same throughout. 
> 
> While I did not intend to change anything in my setup, somehow this caused all 
> kinds of confusion; so I suspect it has to do with the installation of pmount 
> or udisks2, or maybe failure to install those packages. 

Now that solved one other mistery, that naged me for years. The answer is in "man udisks", and the correct udevd-rule is to be found in the arch wiki:
On devuan/debian, removeable devices are mounted under /media/$USER/<SOMENAME>
With this file in /etc/udev/rules.d/99-udisks2.rules, it's mounted under /media/<SOMENAME> - you don't even need to restart udevd to make it work :)

# UDISKS_FILESYSTEM_SHARED
# ==1: mount filesystem to a shared directory (/media/VolumeName)
# ==0: mount filesystem to a private directory (/media/$USER/VolumeName)
# See udisks(8)
# Source: https://wiki.archlinux.org/index.php/Udisks
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"

Nik


> 
> I will leave this to brighter minds to enlighten us, as it is a mystery to me, 
> but I will be following this thread. 
> 
> Bill
> ____________________________________________________
> tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
> Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx
> 



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux