Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just followed the instructions from Cyberciti.biz to format my Kingston USB 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?

share|improve this question
    
Related on Unix.SE: How to change the volume name of a FAT32 filesystem? –  Palec Oct 12 at 19:20

2 Answers 2

You're looking for dosfslabel.

share|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

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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