Date: Wed, 17 Aug 2022 08:41:28 +0100 From: Arthur Chance <freebsd@qeng-ho.org> To: Pete Wright <pete@nomadlogic.org>, questions@freebsd.org Subject: Re: How fast can I get FBSD to boot? Message-ID: <2928d051-77aa-e090-b4ac-3c41204f588c@qeng-ho.org> In-Reply-To: <f3ed170d-b315-c3e2-a2a6-463a54429767@nomadlogic.org> References: <CAHieY7RtGo6j=2bcXT1Xu7iEuz64X0_H%2BL8o=LxH3vz6B2Q4Ww@mail.gmail.com> <CAHieY7S%2BQr7FRVr=nzMhRrPS=xMRNZbtRh4XwteQ99xgFXJX6g@mail.gmail.com> <62bc3208799efbb5d6cb4f9f8251716466146a7f.camel@riseup.net> <f3ed170d-b315-c3e2-a2a6-463a54429767@nomadlogic.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17/08/2022 03:40, Pete Wright wrote: > > > On 8/16/22 18:04, Ralf Mardorf wrote: >> On Tue, 2022-08-16 at 15:06 -0400, Alejandro Imass wrote: >>> Thank you all for your suggestions and taking time to respond to this >>> thread! >>> >>> The Linux distro I have in mind is Tiny Core Linux, it boots really >>> fast and it's around 10MB in size. >> Hi, >> >> if you are in favour of FreeBSD consider to test BusyBox with FreeBSD. > > if you are looking for a stripped down userland like busybox might be > worth taking a look at tools/bsdbox in the src repo. The readme states > its a WIP - but might be worth testing if you are really space constrained. > > https://cgit.freebsd.org/src/tree/tools/bsdbox If bsdbox isn't ready enough yet, why not simply use /rescue? The man page says > To build a > FreeBSD system where space is critical, /rescue can be used as a > replacement for the standard /bin and /sbin directories; simply change > /bin and /sbin to be symbolic links pointing to /rescue. Since /rescue > is statically linked, it should also be possible to dispense with much of > /usr/lib in such an environment. As well as saving space, this will probably save time because the rescue binary doesn't need dynamic linkage every time a utility is run and it will probably be cached in the virtual memory system. -- All network cabling aspires to the condition of macramé.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2928d051-77aa-e090-b4ac-3c41204f588c>