fsdeploy(1)
β¨ fsdeploy β deploy a disk image from forensics-samples β¨
okay bestie, welcome to the fsdeploy(1) manual page, section 1 of the Debian man pages π
this is the little command that yeets a disk image from the forensics-samples package straight into your CI test environment and honestly? iconic.
π NAME π
fsdeploy β deploy a disk image from forensics-samples
π¦ SYNOPSIS π¦
fsdeploy <file.xz>
like, one argument. one. that's the whole vibe. π
πΈ DESCRIPTION πΈ
okay so fsdeploy is a command whose whole job is to hand a disk image from the forensics-samples package over to a CI test environment on Debian. and not only that β it can also hand over the original-files directory from forensics-samples too. versatile queen π
here's the tea: fsdeploy will copy file.xz into $AUTOPKGTEST_TMP and unzip it, so the file you picked is just there for your CI tests via the autopkgtest command. no cap. and it can also copy original-files into $AUTOPKGTEST_TMP as well β no unzip needed for that one, it's already serving looks π
on Debian systems, forensics-samples-<filesystem> and forensics-samples-files packages will depend on the forensics-samples-tools package, and that is the one that provides the fsdeploy command. so that's where it comes from π«Ά
π₯ OPTIONS π₯
the possible values are, in this exact order, no skips:
fs.btrfs.xzβ btrfs image, slay π§fs.exfat.xzβ exfat image β¨fs.ext2.xzβ ext2 image πfs.ext4.xzβ ext4 image πfs.ntfs.xzβ ntfs image πfs.vfat.xzβ vfat image πfs.multiple.xzβ the multitasker πoriginal-filesβ the original-files directory, no unzip required π
and btw, fs.multiple.xz has some filesystems in it. it's giving variety pack. it's giving sampler platter. we love her β
π EXAMPLES π
bestie, look at this example of a possible debian/tests/control file for foremost:
Test-Command: fsdeploy fs.ntfs.xz;
cd $AUTOPKGTEST_TMP;
foremost -Tq fs.ntfs.xz;
tree -C output-*
Depends: @, forensics-samples-ntfs, tree
Restrictions: allow-stderr
ate. no crumbs. π₯
now an example for mac-robber:
Test-Command: fsdeploy original-files;
mac-robber $AUTOPKGTEST_TMP | grep a-text
Depends: @, forensics-samples-files
Test-Command: [ -e /dev/loop0 ] || exit 77;
fsdeploy fs.ext4.xz;
cd $AUTOPKGTEST_TMP;
mkdir mnt;
mount -o ro,offset=1048576 fs.ext4 mnt;
mac-robber mnt | grep a-text;
umount mnt
Depends: @, forensics-samples-ext4
# isolation-machine will provide access to /dev/loop0, essential to mount
# images using the mount command.
# rw-build-tree allow autopkgtest run several times.
Restrictions: allow-stderr, isolation-machine, needs-root, rw-build-tree, skippable
β οΈ note that Debian CI environments commonly are not able to run isolation-machine. consequently, the test will be skipped. it's not you, it's the infrastructure π
example for the disktype command, here u go:
Test-Command: fsdeploy fs.multiple.xz;
cd $AUTOPKGTEST_TMP;
disktype fs.multiple
Depends: @, forensics-samples-multiple
π AUTHOR π
forensics-samples was written by Joao Eriberto Mota Filho and is available at https://github.com/eribertomota/forensics-samples β go follow the icon, fr fr π«Ά
this manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others). generous king, sharing the license love π
and that's a wrap, bestie! this page is from fsdeploy-0.4, dated 03 Nov 2020 β vintage but still serving. stay hydrated, read your man pages, and may your CI always pass on the first try π
β¨π
π¦ where this page comes from
- debian bookworm: forensics-samples-tools 1.1.4-5 Β· MIT
- debian trixie: forensics-samples-tools 1.1.4-5 Β· MIT
- ubuntu jammy: forensics-samples-tools 1.1.4-3 Β· MIT
- ubuntu noble: forensics-samples-tools 1.1.4-5 Β· MIT
- ubuntu questing: forensics-samples-tools 1.1.4-5
- ubuntu resolute: forensics-samples-tools 1.1.4-6 Β· MIT
- ubuntu stonking: forensics-samples-tools 1.1.4-6 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms