Anderson Lizardo
andersonlizardo at yahoo.com.br
Sat Oct 22 21:24:04 CDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pitt wrote:
> sudo blkid /dev/sd*
>
> and look at the LABEL="..." attributes. Unfortunately there is no
> readily availble program to change the disk label for vfat partitions,
> so you either need to reformat your stick with
>
> sudo mkdosfs -n "yourlabel" <device>
>
> or grab a hex editor and change the volume label in-place.
Actually, there is at least one method to change the volume label on
vfat partitions, that worked for me to change the label of a usb key.
Here it is:
1) Install mtools (available on "main" for 5.10):
apt-get install mtools
2) Edit /etc/mtools.conf and add the following line:
drive c: file="/dev/sda1"
change "/dev/sda1" to the name of the device that contains the vfat
partition you which to change the volume label.
3) To change the label, use this command:
mlabel c:
it will ask for the new label.
Regards,
- --
Anderson Lizardo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFDWvRDtyCO/xz4QpMRAogPAKCGBRNyVpf888hy7eLDD8/wg4Fj3wCfUY4T
Ux+j/VrGmXgektD74Pgo3Ro=
=6Pyj
-----END PGP SIGNATURE-----
_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/
More information about the ubuntu-devel
mailing list