the command:
sudo mlabel -i /dev/sdb1 ::my_external
meant to apply the new label my_external
for the /dev/sdb1
drive or partition, if only it's a separate device one. what would be the command for changing one of the partitions label name on the disk image file?
it would be very nice to get automation based solution as to be used for disk image generation recipes, scripts, etc.
gparted
, which has a graphical user interface. – sudodus Apr 25 '18 at 13:10