Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2025 20:25:59 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        "Steven Harms (High-Security Mail)" <sgharms@stevengharms.com>
Cc:        Tomek CEDRO <tomek@cedro.info>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Adjustments to userland for a quieter startup (RC system)
Message-ID:  <202502022026.512KQ05r004151@critter.freebsd.dk>
In-Reply-To: <44Sc-RwC_I83PwTD-UykFfG8EFcHnBwZscSteeNEqJ_sdnmc-wrhdj-kWf2XxYDln0qB70HW3AD9qqBLEkBNeohWxlugR68PuDNYVR85PBE=@stevengharms.com>
References:  <JDv17dtjl93rFR9A8XB9qHlawC2oW7JmmXWsnMKq2r51p61si48CAAOzIBi6pY_nTMdJ7zCvSL6M-Hics-CrqLhDJjZP2SG0v1zEHqH8Ug4=@stevengharms.com> <CAFYkXjmN7ma1GDuFP5p3KdHJtoO9Yri-iNLtuOL6mDKx91CBhA@mail.gmail.com> <CAFYkXjnEW8G03VKw4B77-aMQFnPLH7RZQApxWqCZpts5rpQWiA@mail.gmail.com> <S0scwcCr6CV-mqjXoa25r0XOQqm86TCcIXyl9iZ0mV-BrIKOlkfuHKxqjpbH8cuinimu4-9QRren6m9GGEZ5j_euqb9Vz0Wry1kXCalH30Y=@stevengharms.com> <CAFYkXjnKHjwEbsZ2r7n-HvdWZjvBBdNBBp5enLLdRy63D1Z02g@mail.gmail.com> <44Sc-RwC_I83PwTD-UykFfG8EFcHnBwZscSteeNEqJ_sdnmc-wrhdj-kWf2XxYDln0qB70HW3AD9qqBLEkBNeohWxlugR68PuDNYVR85PBE=@stevengharms.com>

index | next in thread | previous in thread | raw e-mail

I'm just going to throw this idea out here:

Various non-UNIX operating systems dedicate a small piece of raw
disk to logging purposes, and stick everything on there, instead
of blasting it at users, who seldom care and cannot read that
fast anyway.

The big advantage is that the log is incredibly robust, as long as
the disk works, it gets recorded.  But the log is also easy to get
to, both from a running system and from a disk which is beyond
repair.

Admittedly, most of the systems I have seen this on, had simple
disk-controller interfaces, whereas we have who knows how many
different kinds of devices and interfaces which masqurade as "disks".

But we already have infrastructure for swap-spaces and dumping to
them, even when the kernel is pretty hosed, so one would not have
to start the project from scratch.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502022026.512KQ05r004151>