rename flash drive auto mount point

Aaron Konstam akonstam at sbcglobal.net
Fri Mar 25 20:33:34 UTC 2011


On Fri, 2011-03-25 at 16:22 -0400, Howard wrote:
> 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.
> 

Look I don't want to be difficult. But this is a Fedora list and the
command mlabel that you are using does not exist in Fedora 14. So your
information about changing usb drive labels using mlabel -i 
is useless to Fedora users.
-- 
=======================================================================
A pain in the ass of major dimensions. -- C.A. Desoer, on the solution
of non-linear circuits
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net



More information about the users mailing list