Bug 243178 - newfs_msdos: wrong FAT type determination
Summary: newfs_msdos: wrong FAT type determination
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2020-01-08 08:40 UTC by Xin LI
Modified: 2020-01-08 08:40 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer 2020-01-08 08:40:06 UTC
Creating a bug so this is not lost.

The automatic FAT type determination is broken.

Reproduction case:

$ truncate -s 2147483648 test
$ newfs_msdos ./test
newfs_msdos: warning, ./test is not a character device
newfs_msdos: 65519 clusters too few clusters for FAT32, need 65525