Page MenuHomeFreeBSD

nanobsd: Add an optional CIDATA partition
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Wed, Aug 19, 10:33 AM.
Tags
None
Referenced Files
F169953308: D58982.id184543.diff
Thu, Sep 3, 2:20 AM
F169934623: D58982.id185014.diff
Thu, Sep 3, 12:44 AM
F169930008: D58982.id184576.diff
Thu, Sep 3, 12:22 AM
F169928647: D58982.id185118.diff
Thu, Sep 3, 12:15 AM
F169922005: D58982.id185278.diff
Wed, Sep 2, 11:43 PM
F169894685: D58982.id184850.diff
Wed, Sep 2, 9:56 PM
F169872490: D58982.id184755.diff
Wed, Sep 2, 8:41 PM
F169807806: D58982.id.diff
Wed, Sep 2, 3:19 PM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

To be used when provisioning via nuageinit.

Nuageinit still needs to understand read-only root filesystems and
persist the changes to /cfg.

Diff Detail

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

Event Timeline

Address review comments: clarify nanobsd.sh is_defined() comment

Clean up merge conflict markers in defaults.sh

Why FAT?

tools/tools/nanobsd/gpt.sh
78

Why FAT?

In D58982#1355684, @imp wrote:

Why FAT?

As per my knowledge, nuageinit(7) manpage accepts either msdosfs (FAT) or cd9660 (ISO9660).
For why FAT was chosen over ISO9660, I need @jlduran's views on this.

In D58982#1355684, @imp wrote:

Why FAT?

As per my knowledge, nuageinit(7) manpage accepts either msdosfs (FAT) or cd9660 (ISO9660).
For why FAT was chosen over ISO9660, I need @jlduran's views on this.

I have no preference of one over the other. iso9660 sounds like a nice fit since it is inherently read-only; however, msdos is easier to provision. The idea was to replicate what Raspberry Pi images do: the user inserts the SD card into their PC, and it gets mounted as a FAT device that they can modify and easily provision.

tools/tools/nanobsd/customizations.sh
142

This change seems unrelated.

tools/tools/nanobsd/defaults.sh
162

This change seems unrelated.

1562

This change seems unrelated.

tools/tools/nanobsd/gpt.sh
290–291

Why remove this comment?

363

This change seems unrelated.

366

This change seems unrelated.

379

This change seems unrelated.

387

This change seems unrelated.
I think some of these changes should be squashed with D58964.

tools/tools/nanobsd/nanobsd.sh
38 ↗(On Diff #184850)

This comment seems unrelated.