gpt4 book ai didi

linux - "Not enough clusters for a 16 bit FAT",但我超过了最小尺寸。为什么?

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:51:40 24 4
gpt4 key购买 nike

我正在尝试在我的 Ubuntu 上制作 FAT16 文件系统。

因此,我首先使用 dd if=/dev/zero of=Fat16.bin bs=1024 count=8192 创建文件。

这将创建一个全为零的 8MB 文件。

然后,我通过发出以下命令将此文件格式化为 FAT16 文件系统:mkfs.vfat -f2 -n FAT16 -r 224 -s8 -S512 -F16 Fat16.bin

但这给了我以下错误。

WARNING: Not enough clusters for a 16 bit FAT! 
The filesystem will be misinterpreted as having a 12 bit FAT without mount option "fat=16"

就我而言,FAT16 文件系统的最小大小为 4MB,所以我不明白这里发生了什么。

最佳答案

我找到了答案,

来自 https://staff.washington.edu/dittrich/misc/fatgen103.pdf (参见“FAT 类型确定”)簇数必须在 4085 <=> 65525 之间才能格式化一个有效的 FAT16 分区。所以分区必须足够大才能存储4085个簇+FAT表等元数据信息。

关于linux - "Not enough clusters for a 16 bit FAT",但我超过了最小尺寸。为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29870413/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com