I just followed the instructions here to format my Kingston usb drive http://www.cyberciti.biz/faq/howto-format-usb-pen-drive/

Instead of ext2, I formatted the drive to vfat. I forgot to use the naming option when using mkfs.vfat (webpage doesn't mention it) and when I try to use mren I get:

sudo mren /dev/sdb1 KINGSTON

Can't open /dev/fd0: No such device or address

Cannot initialize 'A:'

Is there a way to rename the file system or do I just have to wait until the next time I reformat it?

link|improve this question

0% accept rate
feedback

2 Answers

You're looking for dosfslabel.

link|improve this answer
When I try that command I get: bash: dosfslabel: command not found How do you get dosfslabel? – snooper Aug 24 '10 at 14:38
I'm running Ubuntu 8.04 Hardy. – snooper Aug 24 '10 at 14:43
feedback

Try the following:

> sudo -i
> apt-get install apt-file
> apt-file update
> apt-file search dosfslabel

dosfstools: /sbin/dosfslabel
dosfstools: /usr/share/man/man8/dosfslabel.8.gz
dosfstools-dbg: /usr/lib/debug/sbin/dosfslabel
manpages-fr-extra: /usr/share/man/fr/man8/dosfslabel.8.gz
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.