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 withext2as 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, atmpfsgets 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, anext2fs gets automatically created and labelled β either using the values you gave after the--outputvalue, 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-snapshotwill 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 π
π 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
- ubuntu jammy: casper 1.470
- ubuntu jammy: casper 1.470.2
- ubuntu noble: casper 1.498
- ubuntu questing: casper 25.10.2
- ubuntu resolute: casper 26.04.2
- ubuntu stonking: casper 26.10.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms