First make sure USB thumb drive is not mounted. Click on Places > Computer > Select USB thumb drive > Right click > Select Unmount Volume.
Let us assume that /dev/sda1 is your partition name for USB thumb drive. To format type the following command
$ sudo mkfs.ext3 /dev/sda1
Now use e2label command to change the filesystem label on the ext3 filesystem located on device /dev/sda1:
$ sudo e2label /dev/sda1 usb-thumbdrive
You can also create an MS-DOS/Windows XP file system under Linux, enter:
$ sudo mkfs.vfat /dev/sda1
Thanks : cyberciti.biz
ไม่มีความคิดเห็น:
แสดงความคิดเห็น