From nobody Wed Aug 17 07:41:28 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M70ML4MF6z4ZPXX for ; Wed, 17 Aug 2022 07:41:34 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M70MK5gH5z3kgL for ; Wed, 17 Aug 2022 07:41:33 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id A585B207BD; Wed, 17 Aug 2022 08:41:31 +0100 (BST) Message-ID: <2928d051-77aa-e090-b4ac-3c41204f588c@qeng-ho.org> Date: Wed, 17 Aug 2022 08:41:28 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: How fast can I get FBSD to boot? Content-Language: en-GB To: Pete Wright , questions@freebsd.org References: <62bc3208799efbb5d6cb4f9f8251716466146a7f.camel@riseup.net> From: Arthur Chance In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4M70MK5gH5z3kgL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.244 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-2.30 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[qeng-ho.org]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N 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é.