geo_c wrote: Sat Oct 29, 2022 12:22 am
So what I struck out of that earlier post is perhaps first creating the directory for the drive in /run/media/root and then running the command: mount /dev/disk/by-label/my-label /run/media/root/my-label would achieve the same result as clicking on it in Thunar.
@rockedge, that actually worked. The mount script looks like this:
Code: Select all
mkdir /run/media/root/my-label
mount /dev/mmcblk0p1 /run/media/root/my-label
And it all shows up where it should on the desktop and in thunar. Really quite simple, it just takes me awhile to get a grip on reality, but there is a catch. Unmounting from a right click on the desktop does in fact unmount, but it doesn't remove the directory from /run/media/root like it usually does.
My unmount script will remove that directory, but mix and match might not be the best idea. I'll play around with it.
Also I should probably try the original command:
Code: Select all
mount /dev/disk/by-label/my-label /run/media/root/my-label
Just in case the drive letters are different than expected, since KLV is displaying drives by label everywhere else.