OVERLAY(1)

πŸ“¦
version 0 Β· 2 versions
, in fedora 43

πŸ¦‹ OVERLAY β€” the overlay(1) manual, bestie edition

okay so picture this: you're deep in OverlayFS land, everything is layered, and you just need somebody to hold your hand and tell you which files actually changed. that's this. it's the overlay(1) page, and yes it's literally just called overlay. we're doing this together, grab a snack πŸ“


✨ NAME ✨

overlay β€” the manual page for overlay 77bf3f7. that's the whole name section, she's lowkey humble about it πŸ’…


🌸 SYNOPSIS 🌸

overlay command options

yeah. a command and then some options. that's the whole vibe. iconic structure, no notes πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

πŸ’– Commands:

so there are four commands and each one is a different flavor of "let me handle your overlay for you". pick your fighter:

  • vacuum β€” removes duplicated files in upperdir where a copy_up has been done but the file isn't actually modified. like, girl, you didn't even change, why are you taking up space 😭 cleaning up the posers.
  • diff β€” shows the list of the files that are actually, genuinely changed. no fakes, no phonies, just the real ones ✨
  • merge β€” merges all the changes from upperdir into lowerdir, and then clears out upperdir. everything comes together, main character energy, the layers become one 🫢
  • deref β€” copies changes from upperdir into a new upperdir, unfolding redirect and metacopy. yes, unfolding. like a little origami situation but for filesystem metadata 🧚

πŸ”₯ OPTIONS πŸ”₯

every single one, no skipping, we respect the full list in this house:

  • -l, --lowerdir=LOWERDIR β€” the lowerdir of OverlayFS. this one is required, so don't come to the function without it πŸ’€
  • -u, --upperdir=UPPERDIR β€” the upperdir of OverlayFS. also required. the two required besties that must arrive together πŸ«‚
  • -m, --mountdir=MOUNTDIR β€” the mountdir of OverlayFS. this one's optional, she can come if she wants to 🌸
  • -L, --lowernew=LOWERNEW β€” the lowerdir of the new OverlayFS. optional. the sequel lowerdir πŸ’œ
  • -U, --uppernew=UPPERNEW β€” the upperdir of the new OverlayFS. optional. the sequel upperdir ⭐
  • -v, --verbose β€” with the diff action only: when a directory exists in just one version, still list every file of that directory. so it's giving thorough. it's giving receipts. it's giving "no I want the WHOLE list" πŸ“‹
  • -b, --brief β€” with the diff action only: conform to the output of diff --brief --recursive --no-dereference. so it goes short and snappy instead of chatty πŸŽ€
  • -h, --help β€” shows this help text. the classic. the comfort option. we love her πŸ’–
okay bestie, real talk for a sec: see https://github.com/kmxz/overlayfs-tools/ for warnings and more information. warnings!! plural!! go read them, I'm not joking, don't just rawdog an overlay tool without checking the warnings πŸ™ˆ

and that's the whole page πŸ¦‹ you ate this. go forth and diff responsibly, no cap.

β€” cute little sign-off, as promised: this is overlay 77bf3f7, dated July 2025, and that's a wrap, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from