On 03/25/2011 10:45 AM, Aaron Konstam wrote:
I can't find a mlabel command with an -i option that works as the mlabel command in the webpage listed above.
Yes I saw nothing in man mlabel but there is a bit in mtools Something about disk image.
I used the command as shown it the ubuntu page referenced in my page.
Without the -i it does not work : (with the flash plugged in, mounted or umounted but still assigned to sdb1 )
root hbin> mlabel -i /dev/sdb1 -s :: Volume label is FLASH_8GB
root hbin> mlabel /dev/sdb1 -s :: Mtools version 4.0.12, dated November 3rd, 2009 Usage: mlabel [-vscVn] [-N serial] drive:
root hbin> mlabel /dev/sdb1 :: Mtools version 4.0.12, dated November 3rd, 2009 Usage: mlabel [-vscVn] [-N serial] drive:
root hbin> mlabel -i /dev/sdb1 :: Volume label is FLASH_8GB Enter the new volume label : Delete volume label (y/n): y
root hbin> mlabel -i /dev/sdb1 -s :: Volume has no label
root hbin> mlabel -i /dev/sdb1 :: Volume has no label Enter the new volume label : FLASH_8GB
root hbin> mlabel -i /dev/sdb1 -s :: Volume label is FLASH_8GB
root hbin> mlabel -i /dev/sdb1 ::0123456789
root hbin> mlabel -i /dev/sdb1 -s :: Volume label is 0123456789ยก
root hbin> mlabel -i /dev/sdb1 ::01234567890
root hbin> mlabel -i /dev/sdb1 -s :: Volume label is 01234567890
root hbin> mlabel -i /dev/sdb1 ::0123456789012345
root hbin> mlabel -i /dev/sdb1 -s :: Volume label is 01234567890
root hbin> mlabel -i /dev/sdb1 ::FLASH_8GB
root hbin> mlabel -i /dev/sdb1 -s ::FLASH_8GB Volume label is FLASH_8GB
Also the command xsetwacom seems from the man page to do what you want but I have not really tried it.
I think that is for x devices.