WARNING: Re-reading the partition table failed with error 16: Device or
resource busy. The kernel still uses the old table. The new table will be
used at the next reboot.
WARNING: If you have created or modified any DOS 6.x partitions, please see
the fdisk manual page for additional information.
Syncing disks.
===========================================================================
=====
Now we've got both partitions, next step is formatting them.
NOTE: If the partitions (/dev/sdc1 and /dev/sdc2) does not exist, you should unplug the card
and plug it back in. Linux will now be able to detect the new partitions.
===========================================================================
=====
$ sudo mkfs.msdos -F 32 /dev/sdc1 -n LABEL
mkfs.msdos 2.11 (12 Mar 2005)
$ sudo mkfs.ext3 /dev/sdc2
mke2fs 1.40-WIP (14-Nov-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
195072 inodes, 389576 blocks
19478 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=402653184
12 block groups
32768 blocks per group, 32768 fragments per group
16256 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information:
===========================================================================
=====
All done!
NOTE: For convenience, you can add the -L option to the mkfs.ext3 command to assign a
volume label to the new ext3 filesystem. If you do that, the new (automatic) mount point
under /media when you insert that SD card into some Linux hosts will be based on that label.
If there's no label, the new mount point will most likely be a long hex string, so assigning a
label makes manual mounting on the host more convenient.