Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just followed the instructions from 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 '14 at 19:20

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
@snooper sudo apt-get install dosfstools – Den Mar 27 at 8:08

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .