CASPER-SNAPSHOT(1)

πŸ’– CASPER-SNAPSHOT πŸ’–

okay bestie, so this is a user command (a section-1 manual page, iykyk) and honestly it's giving "tiny script, big responsibilities" energy. let me put you on. ✨


✨ NAME ✨

casper-snapshot β€” a simple little script whose whole job is to make persistence usage easier for you. no cap. 🫢


🌸 SYNOPSIS 🌸

casper-snapshot [-c|--cow DIRECTORY] [-d|--device DEVICE]
[-e|--exclude-list FILE] [-o|--output FILE] [-t|--type TYPE]

casper-snapshot -r|--resync-string STRING
casper-snapshot -h|--help
casper-snapshot -u|--usage
casper-snapshot -v|--version

πŸ’… DESCRIPTION πŸ’…

so casper-snapshot is a script, and its main character moment is building the right kinds of persistent image files β€” the ones casper actually supports. that's the whole vibe. πŸŽ€

it also gets called on exit by the casper init script, where it resyncs the boot-found snapshots devices. so it's not just a pretty face, it does real work in the background too. literally iconic. πŸ‘‘


πŸ¦‹ OPTIONS πŸ¦‹

  • -c, --cow DIRECTORY β€” tells it which input directory should get cloned into the image file. the default is "/cow" and honestly that's gonna be right for most of y'all. but β€” plot twist β€” it can be lowkey handy to pass "/home" instead, paired with ext2 as the type, so you end up with an image file that casper can directly mount as your home. slay. πŸ’–
  • -d, --device DEVICE β€” sets the device where the media is gonna live, i.e. where the snapshot / persistence file / partition gets put. if you don't specify it, a tmpfs gets used instead and it's linked to the user's desktop so you can move it wherever you need it. and if that device has no filesystem on it? no worries bestie, an ext2 fs gets automatically created and labelled β€” either using the values you gave after the --output value, or with a sane default. ✨
  • -e, --exclude-list FILE β€” a file with a list of filenames/paths that should not be saved. and the serve is that this exclude list gets remembered on the target snapshot media so you can reuse it later. 🌈
  • -o, --output FILE β€” the filename/label used for the output file/partition. if you leave it blank, casper-snapshot will go searching for a proper file on the device, or just use the whole partition. she's resourceful like that. πŸ’…
  • -r, --resync-string STRING β€” used internally on resyncs. not your problem, bestie, that's her business. πŸ™ˆ
  • -t, --type TYPE β€” and TYPE can be one of "cpio", "squashfs" or "ext2". pick your fighter. ⭐

πŸ’€ BUGS πŸ’€

casper-snapshot Time (and BTS) will tell. πŸ•°οΈ (yeah. that's the whole bug section. we love a mysterious queen.)


🌟 HOMEPAGE 🌟

Debian Live project <http://live.debian.net/>


πŸ‘€ SEE ALSO πŸ‘€

casper(7)


πŸŽ€ AUTHOR πŸŽ€

casper-snapshot was written by Marco Amadori <marco.amadori@gmail.com>.

This manual page was written by Marco Amadori <marco.amadori@gmail.com>, for the Debian project (but may be used by others).


okay that's the whole page, no notes. πŸ’œ this was version 0.0.1, dated Thu, 28 Sep 2006, and if you read all the way down here you're genuinely the realest. periodt. 🫢✨

πŸ“¦ where this page comes from