.\" Text automatically generated by txt2man .TH fsdeploy 1 "01 Nov 2020" "fsdeploy-0.2" "deploy a disk image from forensics-samples" .SH NAME \fBfsdeploy \fP- deploy a disk image from forensics-samples \fB .SH SYNOPSIS .nf .fam C \fBfsdeploy\fP .fam T .fi .fam T .fi .SH DESCRIPTION \fBfsdeploy\fP is a command to provide a disk image from forensics-samples package to a CI test environment in Debian. It also can provide the original-files directory from forensics-samples. .PP \fBfsdeploy\fP will copy file.xz to $AUTOPKGTEST_TMP and unzip it, making the selected file available for CI tests via autopkgtest command. It also can copy original-files to $AUTOPKGTEST_TMP (no unzip needed). .PP On Debian systems, forensics-samples- and forensics-samples-files packages will depend of the forensics-samples-tools, that provides \fBfsdeploy\fP command. .SH OPTIONS Possible values are: fs.btrfs.xz, fs.exfat.xz, fs.ext2.xz, fs.ext4.xz, fs.ntfs.xz, fs.vfat.xz, fs.multiple.xz and original-files. .PP fs.multiple.xz has some filesystems. .SH EXAMPLE See below an example of use from a debian/tests/control file: .PP .nf .fam C 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 .fam T .fi Now an example for mac-robber: .PP .nf .fam C Test-Command: fsdeploy original-files; mac-robber $AUTOPKGTEST_TMP | grep a-text Depends: @, forensics-samples-files Test-Command: ls /dev/loop0 > /dev/null || 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/loop. # rw-build-tree allow autopkgtest run several times. Restrictions: isolation-machine, needs-root, rw-build-tree, skippable .fam T .fi .SH AUTHOR forensics-samples was written by Joao Eriberto Mota Filho and is available at https://github.com/eribertomota/forensics-samples .PP This manual page was written by Joao Eriberto Mota Filho for the Debian project (but may be used by others).