OSTREE-ADMIN-CONFIG-DIFF(1)

πŸ’… ostree-admin-config-diff

okay bestie, welcome to the OSTREE ADMIN CONFIG corner of the manual pages πŸŽ€ this one is short, sweet, and honestly kind of iconic β€” it's the "what did u change in /etc" detector. let's get into it ✨


🌸 NAME 🌸

ostree-admin-config-diff β€” diff current /etc configuration versus default πŸ¦‹

like, it's literally a vibe check for your config directory. no cap.


✨ SYNOPSIS ✨

ostree admin config-diff [OPTIONS...]

that's it. that's the whole thing. slay πŸ’…


πŸ”₯ DESCRIPTION πŸ”₯

so here's what it does, bestie: it prints the differences between the current /etc directory and the default configuration in /usr/etc. compare and contrast era fr fr 🌈

and the output is prefixed so you can tell at a glance what happened to each file:

  • newly added files β€” meaning files that are present in /etc but not in /usr/etc β€” get prefixed with 'A' 🌱
  • modified files get prefixed with 'M' ✏️
  • deleted files get prefixed with 'D' πŸ’€

three little letters, three whole stories. it's giving detective energy πŸ”


🫢 OPTIONS 🫢

  • --os="STATEROOT" β€” use a different operating system stateroot than the current one. yeah, you heard her β€” if you've got more than one stateroot in your life (main character energy πŸ‘‘), this is how you point at a different one instead of just vibing with whatever's current.

🌟 EXAMPLE 🌟

run it plain and simple like this, gorgeous:

$ ostree admin config-diff

and you'll get something like:

            M   shadow
            A   example.txt

see that? shadow is modified (M) and example.txt is brand new (A). iconic. the diff is diffing. πŸ’–

ngl this is one of those commands u run and immediately feel like a sysadmin genius. no notes. 🧚

πŸŽ€ bye bestie πŸŽ€

that's the whole page, and yes it really was that short β€” this one lives under the OSTREE ADMIN CONFIG banner (the nearly-empty little footer at the bottom is literally just the page name again, no extra lore, we checked πŸ™ˆ). go forth, diff ur configs, and remember: /etc is temporary but the vibes are forever πŸ’œπŸŒΈπŸ¦‹

πŸ“¦ where this page comes from