• Re: move /var/log to a RAMDISK

    From David Taylor@21:1/5 to The Natural Philosopher on Mon Jul 31 07:45:33 2023
    On 29/07/2023 18:34, The Natural Philosopher wrote:
    Embedded Raspberry Pi Zero W. Minimal logs generated but I only use
    logs for debugging and why wear the SD card?

    My question is simple. If I make a 50MByte or so RAMDISK and mount it on /var/log, will the logging daemons recreate all the files and
    directories they need at boot time?

    Would this be of any interest?

    https://github.com/openenergymonitor/emonpi/blob/master/rpi-ro


    --
    Cheers,
    David
    Web: https://www.satsignal.eu

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Riches@21:1/5 to 23k304@bfxw9.net on Tue Aug 8 03:31:19 2023
    On 2023-08-07, 23k.304 <23k304@bfxw9.net> wrote:
    ...
    "Super-Fault-Tolerant" has always interested and
    impressed me. It's an art unto itself. There are
    only a few NEEDS - nuclear-weapons systems, nuke
    reactors and, coolest, space probes. The way NASA
    can essentially re-wire probes, work around even
    primary memory and maybe sub-processor failure and
    such, over a billion-mile remote connection is
    just spectacular.

    Yes, NASA does some amazing things.

    Another use for fault tolerance might be in an aircraft that is
    (by design) inherently so aerodynamically unstable that it cannot
    be flown directly by a human, so it has to be flown by the
    on-board computers. You don't want a fault in a CPU to cause the
    aircraft to fall out of the sky. One of however many of the CPUs
    in the F22's avionics package was designed for QMR. I don't know
    for a fact that the F22 uses that CPU in QMR mode, but if it is
    you could a bullet through one of the CPUs or push a screwdriver
    blade across bus lines, and the system would continue to function
    without losing a single cycle. I designed the instruction fetch
    unit of that chip:

    https://ubbcentral.com/store/item/Vintage-1990-Intel-80960MX-CPU-die-Military-grade-i960-unpackaged-die_264713800656.html

    https://duckduckgo.com/?q=80960mx&hps=1&start=1&ia=web

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Latham@21:1/5 to druck on Fri Oct 13 11:00:31 2023
    In article <ua960d$3chlq$1@dont-email.me>,
    druck <news@druck.org.uk> wrote:

    Secondly stop systemd spamming /var/log/syslog with all sorts of
    crap you have no interest in. Create a file called /etc/rsyslog.d/drop.systemd.conf containing

    # Drop messages from f***ing systemd
    :programname,startswith,"systemd" stop

    The latest bookworm release (32 bit lite) October 10th 2023 does not
    seem to have the directory

    /etc/rsyslog.d

    and so I created it and copied drop.systemd.conf into it. Is that the
    right thing to do ?

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)