You are not logged in.

#1 2011-09-03 16:06:28

virubakkh
Member
From: Esana Deyyabradeso
Registered: 2011-08-08
Posts: 10

fdisk command don't show USB drive's partition type to FAT32.

I creat FAT32  partition in USB drive with mkfs.vfat command.

mkfs.vfat -F 32 /dev/sdb1

When I check it with fdisk command, it show as LINUX patiton type.

[redsock@myhost ~]$ fdisk -l

Disk /dev/sdb: 3953 MB, 3953131520 bytes
48 heads, 6 sectors/track, 26808 cylinders, total 7720960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000bf78

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     7720959     3859456   83  Linux
[redsock@myhost ~]$

However I can mount it in Windows, and copy files to it.
What's wrong with it?

Edit : ...
I just run fsck, it show FAT32 partition type.

[redsock@myhost ~]$ fsck /dev/sdb1
fsck from util-linux 2.19.1
dosfsck 3.0.11, 24 Dec 2010, FAT32, LFN
/dev/sdb1: 0 files, 1/962978 clusters

What do this mean?

Last edited by virubakkh (2011-09-03 16:49:31)


คารโว จ นิวาโต จ
สนฺตุฏฺฐี จ กตญฺญุตา

Offline

#2 2011-09-03 16:10:44

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: fdisk command don't show USB drive's partition type to FAT32.

filesystem id in partition entry != filesystem in partition.

In fdisk t -> 1 -> b -> w -> q

Offline

Board footer

Powered by FluxBB