Monday, March 30, 2026

Re: Fwd: possible bug or edge case ?

On 2026-03-30, eelco van der vlugt <vitalae@gmail.com> wrote:
> --000000000000188784064e4174b6
> Content-Type: text/plain; charset="UTF-8"
> Content-Transfer-Encoding: quoted-printable
>
> ---------- Forwarded message ---------
> From: eelco van der vlugt <vitalae@gmail.com>
> Date: Mon, Mar 30, 2026 at 6:10=E2=80=AFPM
> Subject: Re: possible bug or edge case ?
> To: Jan Stary <hans@stare.cz>
>
>
> Hello,
>
> thanks for the feedback,
>
> the target USB has 16G and has been emptied and has fat layout.
>
> - The partition set up is the "auto" option, so that should be ok since
> default ...?

auto partitioning for sizes around there is hopeless, you will need
to carve it up yourself or edit the auto defaults (I suggest deleting
/usr/src /usr/obj /usr/X11R6, then using R to adjust sizes on others
- I'd give / 1GB, /usr maybe 6GB or so, probably bump /usr/local up
a bit if you're installing many things from packages)


$ cat /usr/src/regress/sbin/disklabel/18000.ok
=== Start 18000MB disk ===
Writing MBR at offset 0.

a: 0.3G 128 4.2BSD 2048 16384 1 # /
a: 655232 128 4.2BSD 2048 16384 1
b: 0.4G 655360 swap
b: 859940 655360 swap
d: 0.4G 1515328 4.2BSD 2048 16384 1 # /tmp
d: 802592 1515328 4.2BSD 2048 16384 1
e: 0.5G 2317920 4.2BSD 2048 16384 1 # /var
e: 1068768 2317920 4.2BSD 2048 16384 1
f: 1.8G 3386688 4.2BSD 2048 16384 1 # /usr
f: 3768096 3386688 4.2BSD 2048 16384 1
g: 0.5G 7154784 4.2BSD 2048 16384 1 # /usr/X11R6
g: 995232 7154784 4.2BSD 2048 16384 1
h: 1.5G 8150016 4.2BSD 2048 16384 1 # /usr/local
h: 3141280 8150016 4.2BSD 2048 16384 1
i: 2.1G 11291296 4.2BSD 2048 16384 1 # /usr/src
i: 4333504 11291296 4.2BSD 2048 16384 1
j: 8.1G 15624800 4.2BSD 2048 16384 1 # /usr/obj
j: 17055648 15624800 4.2BSD 2048 16384 1
k: 2.0G 32680448 4.2BSD 2048 16384 1 # /home
k: 4185600 32680448 4.2BSD 2048 16384 1

/dev/vnd0a / ffs rw 1 1
/dev/vnd0k /home ffs rw 1 2
/dev/vnd0d /tmp ffs rw 1 2
/dev/vnd0f /usr ffs rw 1 2
/dev/vnd0g /usr/X11R6 ffs rw 1 2
/dev/vnd0h /usr/local ffs rw 1 2
/dev/vnd0j /usr/obj ffs rw 1 2
/dev/vnd0i /usr/src ffs rw 1 2
/dev/vnd0e /var ffs rw 1 2
/dev/vnd0b none swap sw
=== End 18000MB disk ===

No comments:

Post a Comment