Label for mmc drives shortened more
December 25, 2019 —
BarryK
The drive partition icons on the desktop have labels, such as
"sda1", etc. A problem is that memory cards, on an actual memory-card
interface, not USB interface, are named like "mmcblk0p1" which is too
long for the icon spacing.
So far, the label has been cut down to "mm0p1", however, that is still a bit too long if partition numbers get into two digits.
Mouse-over shows the full partition name, so users will know that a truncated label is being used on the desktop.
I have cut it down more, so now "mmcblk0p1" will be labelled as "m0p1".
The script that does this is /usr/local/pup_event/frontend_funcs
Tags: easy