linux - "Not enough clusters for a 16 bit FAT", but I'm above minimum size. Why? -


i'm trying make fat16 filesystem on ubuntu.

so, first create file dd if=/dev/zero of=fat16.bin bs=1024 count=8192.

this create 8mb file full of zeros.

then, format file fat16 filesystem issuing following command: mkfs.vfat -f2 -n fat16 -r 224 -s8 -s512 -f16 fat16.bin.

but gives me following error.

warning: not enough clusters 16 bit fat!  filesystem misinterpreted having 12 bit fat without mount option "fat=16" 

as far i'm concerned, minimum size of fat16 filesystem 4mb, don't understand what's happening here.

probably it's says - not enough clusters 16 bit fat. guess needed space calculated, trying e.g. 16mb doesn't cause warning:

$ dd if=/dev/zero of=fat16.bin bs=$((1024*1024)) count=16 16+0 records in 16+0 records out 16777216 bytes (17 mb) copied, 0.0561285 s, 299 mb/s  $ mkfs.vfat -v -f2 -n fat16 -r224 -f16 fat16.bin mkfs.fat 3.0.26 (2014-03-07) fat16.bin has 64 heads , 32 sectors per track, hidden sectors 0x0000; logical sector size 512, using 0xf8 media descriptor, 32768 sectors; drive number 0x80; filesystem has 2 16-bit fats , 4 sectors per cluster. fat size 32 sectors, , provides 8171 clusters. there 1 reserved sector. root directory contains 256 slots , uses 16 sectors. volume id 30bd4358, volume label fat16      . 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -