Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

I just finished an amazing call.

Uncategorized
57 52 3

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • Hey #FreeBSD folks!

    Uncategorized freebsd sysadmin
    1
    0 Votes
    1 Posts
    8 Views
    Hey #FreeBSD folks!Ten years ago, disk ID labels (/dev/diskid) were often painfully encoded.Today, my WD drives show up cleanly. Is that just a WD thing? Do other vendors show up as encoded crud?If you could look in /dev/diskid and see what you have, I'd appreciate it.(diskID is disabled in 15, you'd need to uncomment kern.geom.label.disk_ident.enable="0" in /boot/loader.conf)TLDR: can I now recommend diskID labels as reasonable, or am I just lucky in my hard drives? #sysadmin
  • 0 Votes
    1 Posts
    8 Views
    Today, I lived through one of those (not only IT) horror stories. It's not over yet, but it’s definitely going to end up in a blog post. It's one of those situations where the 'horror' has already happened or is still going to happen, but this time, I'm the one handling the rescue. I couldn't prevent the disaster itself, but I managed to save the data. What-a-day!#IT #SysAdmin #HorrorStories #SaveTheData #OwnYourData
  • 0 Votes
    1 Posts
    6 Views
    @mwl@io.mwl.io’s post made me revisit RCS in a very small role: a safety net for individual files.Paired with nvi, a tiny wrapper lets me snapshot configs before risky edits. Simple, local, no magic.Example wrapper I’m using:#!/bin/sh## safeedit — RCS-backed safe editing with nvi#set -eif [ $# -ne 1 ]; then echo "usage: safeedit <file>" >&2 exit 1fiFILE="$1"if [ ! -f "$FILE" ]; then echo "safeedit: file not found: $FILE" >&2 exit 1fiDIR=$(dirname "$FILE")BASE=$(basename "$FILE")RCS_DIR="$DIR/RCS"RCS_FILE="$RCS_DIR/$BASE,v"mkdir -p "$RCS_DIR"chmod 700 "$RCS_DIR"if [ ! -f "$RCS_FILE" ]; then ci -l "$FILE"else ci -u "$FILE" || true co -l "$FILE"fiexec nvi "$FILE"nvi protects the session; RCS protects the decision.Original post by @mwl@snac.bsd.cafe: https://io.mwl.io/@mwl/115814245521209100#nvi #RCS #Unix #SysAdmin #ConfigManagement
  • 0 Votes
    1 Posts
    7 Views
    Thinking about migrating from Linux to the rock-solid security of FreeBSD? Our expert training is designed for you. Learn BSD fundamentals, command differences, and how to harness ZFS. Start your journey with confidence!https://bastillebsd.org/training/#FreeBSD #Training #runBSD #SysAdmin #DevOps #BastilleBSD