Hi all!
Is it just me or can sombody else replicate this behaviour:
- pmount installed, udisks2 not installed: I get the "device
inserted .."-dialog, but the device icons do not show up. Mounting and unmounting works. After removing all external devicis I still have /media/ populated with "interesting" folders, each containing one file ".creaded_by_pmount". Zhese survive a reboot, so I have to remove them by hand.
- udisks2 is installed, pmount not instaled: I get the "device
inserted .."-dialog, and all device icons as expected. Mounting and unmounting works. /media/ is working as expected, i.e. folders disappear when the device is removed.
So ... save to say "install udisks2 and forget aboult pmount" ? pmount i
used in exegnulinux, that's why I ran into it.
Nik
--
Hi Nik
I don't use pmount, so I can't speak to its behavior. udisk2, as you described, is how it works for me. udisk2, at least for me, works perfectly. However, I would wait for the remaining collective to speak. We might just learn something.
Cheers,
Kate
On Friday 06 November 2020 00:35:03 BorgLabs - Kate Draven wrote:
Hi all!
Is it just me or can sombody else replicate this behaviour:
- pmount installed, udisks2 not installed: I get the "device
inserted .."-dialog, but the device icons do not show up. Mounting and unmounting works. After removing all external devicis I still have /media/ populated with "interesting" folders, each containing one file ".creaded_by_pmount". Zhese survive a reboot, so I have to remove them by hand.
- udisks2 is installed, pmount not instaled: I get the "device
inserted .."-dialog, and all device icons as expected. Mounting and unmounting works. /media/ is working as expected, i.e. folders disappear when the device is removed.
So ... save to say "install udisks2 and forget aboult pmount" ? pmount i
used in exegnulinux, that's why I ran into it.
Nik
--
Hi Nik
I don't use pmount, so I can't speak to its behavior. udisk2, as you described, is how it works for me. udisk2, at least for me, works perfectly. However, I would wait for the remaining collective to speak. We might just learn something.
Cheers,
Kate
There was a much earlier thread, originally started by deloptes (I believe), under this heading: "Auto-mount no longer auto-mounts (TDE mediamanager)"
In response to this thread, I mentioned that suddenly some of my external drives were creating their own weird mount points, for example:
/media/Elements_25A1 /media/External_HDD____ /media/Mass_Storage_Device /media/My_Book_________ /media/<some_new_name> /media/<user_name> /media/USB_Storage
(Note that I always create custom mount points for all my hard drives, so that they don't keep changing on me if they somehow get unmounted. These points did not obey my rules in fstab, but suddenly everything is more or less back to normal.)
Does this sound like what you describe?
Bill
Anno domini 2020 Fri, 6 Nov 05:14:10 -0800 William Morder via tde-users scripsit:
On Friday 06 November 2020 00:35:03 BorgLabs - Kate Draven wrote:
Hi all!
Is it just me or can sombody else replicate this behaviour:
- pmount installed, udisks2 not installed: I get the "device
inserted .."-dialog, but the device icons do not show up. Mounting and unmounting works. After removing all external devicis I still have /media/ populated with "interesting" folders, each containing one file ".creaded_by_pmount". Zhese survive a reboot, so I have to remove them by hand.
- udisks2 is installed, pmount not instaled: I get the "device
inserted .."-dialog, and all device icons as expected. Mounting and unmounting works. /media/ is working as expected, i.e. folders disappear when the device is removed.
So ... save to say "install udisks2 and forget aboult pmount" ? pmount i
used in exegnulinux, that's why I ran into it.
Nik
--
Hi Nik
I don't use pmount, so I can't speak to its behavior. udisk2, as you described, is how it works for me. udisk2, at least for me, works perfectly. However, I would wait for the remaining collective to speak. We might just learn something.
Cheers,
Kate
There was a much earlier thread, originally started by deloptes (I believe), under this heading: "Auto-mount no longer auto-mounts (TDE mediamanager)"
In response to this thread, I mentioned that suddenly some of my external drives were creating their own weird mount points, for example:
/media/Elements_25A1 /media/External_HDD____ /media/Mass_Storage_Device /media/My_Book_________ /media/<some_new_name> /media/<user_name> /media/USB_Storage
(Note that I always create custom mount points for all my hard drives, so that they don't keep changing on me if they somehow get unmounted. These points did not obey my rules in fstab, but suddenly everything is more or less back to normal.)
Does this sound like what you describe?
That is exactly what happens with pmount. e.g.: /media/12.7MB ( sdb1 )
Nik
Bill ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
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.
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
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@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
{snip it all!}
You should be able to force a specific mount point just by adding a UUID line to fstab or cryptab. I believe (okay, can’t remember) that will also stop the "device inserted .."-dialog.
Note: These have been modified from my actual entries, so use only as a guide, do not copy/paste. Copy/paste will most likely fubar your system. (Especially if your external drive is formatted something other than ext4.)
Examples:
UnEncrypted: - ADD to /etc/fstab UUID={huge UUID number} /media/michael/hdsda ext4 defaults,noatime,nofail 1 2
Encrypted: - ADD to /etc/crypttab lesda /dev/disk/by-uuid/{huge UUID number} /root/.luks/keyfile.sda luks,nofail - ADD to /etc/fstab /dev/mapper/lesda /media/michael/hdsda ext4 defaults,noatime,nofail 1 2
See the last LUKS post I made for more details on encrypted.
Best, Michael
Am Freitag, 6. November 2020 schrieb Dr. Nikolaus Klepp:
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"
That. Nagged me, too, but not enough to come to investigate it yet.
Thanks, Nik
Cheers, Stefan