Any tool under linux to parsing BPB/Bs/FAT table?

loody miloody at gmail.com
Fri Mar 4 07:09:17 EST 2011


hi:
2011/3/4 Beraldo Leal <beraldo at beraldoleal.com>:
> On Fri, Mar 04, 2011 at 10:28:58AM +0800, loody wrote:
>> hi :
>>
>> But the disk did have dirs and files
>> # mount
>> /dev/sdc1 on /media/disk type vfat (rw)
>> # ls /media/disk
>> ifrename  iwconfig  iwevent  iwgetid  iwlist  iwpriv  iwspy  strace
>> strace.output  strace.output.tar.bz2
>> #
> Please, print the ./fat-util info /dev/sdc1 output
here it is :

# ./fat-util info /dev/sdc1
JMP opcodes: EB 58 90
OEM Name:  mkdosfs
Bytes per sector: 512
Sectors per cluster: 8
# reserved sectors: 32
# FATs on volume: 2
# root directory entries: 0
Sectors in volume: 0
Media descriptor type: 248
Sectors per FAT: 0
Sectors per Track: 62
# heads: 63
# hidden sectors: 0
Huge sectors in volume: 3941092
FAT Type: 32
Drive number: 0
Signature: 29
Volume ID: -1598503492
Volume Label:
FAT Type: FAT32
Root Cluster: 2
#

appreciate your help,
miloody



More information about the Kernelnewbies mailing list