Page MenuHomeFreeBSD

nanobsd: embedded: Calculate FAT type and scheme
AcceptedPublic

Authored by jlduran on Fri, Jan 30, 7:44 PM.
Tags
None
Referenced Files
F145224857: D54975.id170802.diff
Tue, Feb 17, 7:16 AM
Unknown Object (File)
Sat, Feb 14, 12:35 PM
Unknown Object (File)
Mon, Feb 9, 12:16 AM
Unknown Object (File)
Wed, Feb 4, 1:13 AM
Unknown Object (File)
Tue, Feb 3, 7:19 AM
Unknown Object (File)
Mon, Feb 2, 10:09 PM
Unknown Object (File)
Mon, Feb 2, 1:57 AM
Unknown Object (File)
Sat, Jan 31, 9:32 AM
Subscribers

Details

Reviewers
imp
Summary

Determine the FAT (MS-DOS) type (FAT32, FAT16, or FAT12) and partition
scheme (fat32lba or fat16b) based on partition size.

Accept any (NetBSD) strsuftoll(3)-compatible string, as the value will
be fed to makefs(8) "-s" in a future commit.

NANO_SLICE_FAT_SIZEs defined in sectors (ending with an "s") will not be
supported. As a workaround, the letter "b" (blocks) may be used.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70311
Build 67194: arc lint + arc unit