Page MenuHomeFreeBSD

nanobsd: Decouple UFS filesystem logic from GPT partition scheme
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Aug 27 2026, 9:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 10, 8:22 AM
Unknown Object (File)
Fri, Oct 9, 11:15 AM
Unknown Object (File)
Sat, Oct 3, 10:28 AM
Unknown Object (File)
Fri, Oct 2, 7:48 PM
Unknown Object (File)
Fri, Oct 2, 6:54 PM
Unknown Object (File)
Thu, Oct 1, 3:27 AM
Unknown Object (File)
Wed, Sep 30, 7:16 PM
Unknown Object (File)
Fri, Sep 25, 9:20 PM
Subscribers

Details

Reviewers
jlduran
ashish
Summary

Rename gpt.sh to ufs.sh, moving filesystem-specific functions out of
defaults.sh and leaving partition layout logic independent of the
underlying filesystem format.

Co-authored-by: Jose Luis Duran <jlduran@FreeBSD.org>

Diff Detail

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

Event Timeline

tools/tools/nanobsd/defaults.sh
1481

Just UFS, no ZFS yet.

tools/tools/nanobsd/nanobsd.sh
52

This file does not exist yet. This change should be introduced only when ZFS support is introduced.
That is, it should remain as:

default() {
  . "${topdir}/ufs.sh"
}

This change should ideally be done with D58964.

tools/tools/nanobsd/ufs.sh
195