Page MenuHomeFreeBSD

mfsBSD: Vendor import mfsBSD (mmatuska/mfsbsd@0da8061)
Needs ReviewPublic

Authored by soobinrho on Sep 3 2023, 1:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 30, 2:58 PM
Unknown Object (File)
Mon, Sep 30, 2:58 PM
Unknown Object (File)
Sat, Sep 28, 6:24 AM
Unknown Object (File)
Thu, Sep 26, 2:30 AM
Unknown Object (File)
Tue, Sep 24, 10:05 AM
Unknown Object (File)
Sat, Sep 21, 10:20 PM
Unknown Object (File)
Sat, Sep 21, 4:03 PM
Unknown Object (File)
Sat, Sep 21, 4:03 PM

Details

Reviewers
gjb
dch
Group Reviewers
releng
Summary

"mfsBSD is a toolset to create small-sized but full-featured mfsroot
based distributions of FreeBSD that store all files in memory (MFS)
[Memory File System] and load from hard drive, usb storage device or
optical media. It can be used for a variety of purposes, including
diskless systems, recovery partitions and remotely overwriting other
operating systems." (Martin Matuska)

This is the first out of three commits for integrating mfsBSD into
the main FreeBSD release tool set. This commit imports mfsBSD to the
/usr/src/contrib/mfsbsd location, and to streamline the future update
and maintenance process, I've introduced as little changes to the
upstream code as I possibly can. Just two modifications have been made:

  1. Deleted mfsbsd/.cirrus.yml to prevent collision with

/usr/src/.cirrus.yml.

  1. Increased mfsbsd/Makefile MFSROOT_MAXSIZE from 120m to 4700m

because otherwise makefs exits with the following error:

Creating and compressing mfsroot ... makefs: ...
size of 1237352448 is larger than the maxsize of 125829120.

Changelog: https://github.com/mmatuska/mfsbsd/commit/0da806178042b0d3cd20fb6b2e6e38a338a24b9c
Obtained from: https://github.com/mmatuska/mfsbsd
Sponsored by: Google, Inc. (GSoC 2023)
Signed-off-by: Soobin Rho <soobinrho@FreeBSD.org>

Diff Detail

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

Event Timeline

@soobinrho, this isn't something you have to worry about, but before this could be committed, it will require an actual vendor import and merge to contrib/. This is something one of us can deal with later.

In D41704#950458, @jrm wrote:

@soobinrho, this isn't something you have to worry about, but before this could be committed, it will require an actual vendor import and merge to contrib/. This is something one of us can deal with later.

Awesome. Thank you!

Updated mfsbsd/Makefile MFSROOT_MAXSIZE from 120m to 4700m.

I don't like the idea of having "vendor" code as part of the FreeBSD release process. As far as I'm concerned, it's either part of FreeBSD or it isn't -- we can bring mfsBSD into FreeBSD if @mm wants but if we're going to do that it should be maintained in the FreeBSD tree.

I don't like the idea of having "vendor" code as part of the FreeBSD release process. As far as I'm concerned, it's either part of FreeBSD or it isn't -- we can bring mfsBSD into FreeBSD if @mm wants but if we're going to do that it should be maintained in the FreeBSD tree.

Understood. @mm and @cperciva