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
F170671179: D58982.id184949.diff
Sat, Sep 5, 10:54 PM
F170649508: D58982.id184755.diff
Sat, Sep 5, 7:43 PM
F170632145: D58982.diff
Sat, Sep 5, 5:47 PM
F170619700: D58982.id185278.diff
Sat, Sep 5, 4:27 PM
F170619636: D58982.id185278.diff
Sat, Sep 5, 4:26 PM
F170607092: D58982.id184533.diff
Sat, Sep 5, 3:06 PM
F170592314: D58982.id184549.diff
Sat, Sep 5, 1:33 PM
F170584983: D58982.id185398.diff
Sat, Sep 5, 12:48 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 75973
Build 72856: 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
157

This change seems unrelated.

1557

This change seems unrelated.

tools/tools/nanobsd/gpt.sh
292

Why remove this comment?

362

This change seems unrelated.

365

This change seems unrelated.

378

This change seems unrelated.

386

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

tools/tools/nanobsd/nanobsd.sh
38

This comment seems unrelated.