on Sat, 29 Apr 2023 13:40:51 +0200
"Peter N. M. Hansteen" <[email protected]> wrote:
> On Fri, Apr 28, 2023 at 09:55:13PM -0600, Theo de Raadt wrote:
>> > > Do not assume "desireable" and "possible" are always the same.
>> >
>> > My point was whether the wording "installable on 512MB of storage" is
>> > appropriate to put in the OpenBSD 7.3 FAQ, and whether "desirable" and
>> > "possible" are the same is outside the discussion.
>>
>> No, it is optimistic oversell by the faq authors
>>
>> It should be realistic & accurate, or it should say nothing at all.
>
> If I rembember correctly, the 512MB number was somewhere in the "possible
> but not comfortable" range way back when the text was originally written.
> But that was before several space consuming things such as the relinking
> at boot steps happened.
>
> A more realistic estimate looking a the various systems I have within reach
> suggests "you can squeeze in a full install inside 1GB, but if you plan on
> installing any packages or storing data locally, there is no point in setting
> yourself up for the pain of running out of storage".
If that is the case, then it is wrong to write "installable on 512MB of
storage" in the FAQ webpage.
At the very least, you should write a value that works without the installation
of additional ports, etc., and if you can make it user-friendly,
you should change it to the minimum value that can be used normally, excluding
the user area.
> You could probably find the absolute minimim (an actually quite useless
> number) by
> checking the uncompressed sizes of the *.tgz install sets, but the last time I
> remember doing a "df -h" on a fresh install before installing any packages or
> introducing any data, the total ran to somewhere in excess of 650MB.
In my amd64 environment, with no additional software installed,
the results of "df -h" were as follows.
hoge# df -h
Filesystem Size Used Avail Capacity
Mounted
/dev/sd0a 1.9G 91.5M 1.8G 5%
/
/dev/sd0g 4.8G 18.0K 4.6G 1%
/home
/dev/sd0d 1.9G 6.0K 1.8G 1%
/tmp
/dev/sd0f 9.7G 1.3G 7.9G 14%
/usr
/dev/sd0e 3.9G 8.0M 3.7G 1%
/var
Taking this as an example, this means that about 1.4 GB is being used.
Of course, the data capacity required for any partition increases as it is used,
so why not rewrite the FAQ as 1.5 GB as a minimum value
(but not recommended for use as a comfortable environment)?
---
WATANABE, Takeo
[email protected]