affsegment(1)
β¨ NAME β¨
okay bestie, meet affsegment(1), the segment manipulation tool π
π
πΈ SYNOPSIS πΈ
affsegment [options] file1.aff [file2.aff ...]
πΈ DESCRIPTION πΈ
okay so this is a segment manipulation tool π«Ά
this file is part of the AFFLIBv3, which provides AFF β¨
AFF is an open and extensible file format for storing disk images and their associated metadata πΎ it's super useful in lots of scenarios, like computer forensics investigations π literally the whole vibe is "store the disk, keep the receipts" π
π¦ OPTIONS π¦
Options
-cβ create AFF files if they don't exist yet π±-ssegvalβ sets the value of a segment. you can repeat it π-psegnameβ prints the contents of the segment name for each file π¨οΈ-Vβ just prints the version number and exits. quick and iconic π-dnameβ deletes segmentnameποΈ-h,-?β prints the help message. the "I'm lost" button π-Qβ interprets 8-byte segments as a 64-bit value π’-Aβ prints the 32-bit arg instead of the segment value π―-xβ prints the segment as a hex string π§
Setting the segment values
-sname=-β takes the new value of segmentnamefrom stdin β¨οΈ-sname=valβ sets segmentnameto bevalπ-sname=<valβ sets segmentnameto be the contents of the filevalπ
Setting the segment args
-sname/argβ sets segmentname's arg to bearg. you can repeat it too π
Setting both the segment value and the arg
-sname/arg=valβ sets both the arg and the val for segmentnameπ-sname/arg=<fileβ sets the arg, and takes the contents from the filefileπ-sname/arg=-β sets the arg of segmentname, and takes the contents from stdin π«§
π₯ NOTES π₯
β οΈ bestie, listen up: all deletions happen first, and then all updates. Don't specify the same segment twice on one command line or it's a whole mess π
π SEE ALSO π
affcat(1), affcompare(1), affconvert(1), affcopy(1), affcrypto(1), affdiskprint(1), affinfo(1), affix(1), affrecover(1), affsign(1), affstats(1), affuse(1), affverify(1), affxml(1) π¦
π§ AUTHOR π§
the AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and Basis Technology, Inc. π
this manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project, but others are totally allowed to use it too π«Ά
that's the tea, bestie π AFFSEGMENT 3.7.4, Oct 2014, affsegment(1) πΈβ¨
π¦ where this page comes from
- debian bookworm: afflib-tools 3.7.20-1 Β· LicenseRef-public-domain
- debian trixie: afflib-tools 3.7.21-1 Β· LicenseRef-public-domain
- epel 10: afftools 3.7.20-12.el10_0 Β· LicenseRef-Callaway-BSD-with-advertising
- epel 9: afftools 3.7.20-1.el9 Β· BSD with advertising
- fedora 43: afftools 3.7.20-15.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 44: afftools 3.7.22-4.fc44 Β· LicenseRef-Callaway-BSD-with-advertising
- nixos 26.05: afflib 3.7.22
- nixpkgs unstable: afflib 3.7.22
- ubuntu jammy: afflib-tools 3.7.19-2build1 Β· LicenseRef-public-domain
- ubuntu noble: afflib-tools 3.7.20-1.1ubuntu5 Β· LicenseRef-public-domain
- ubuntu questing: afflib-tools 3.7.22-1
- ubuntu resolute: afflib-tools 3.7.22-1build1 Β· LicenseRef-public-domain
- ubuntu stonking: afflib-tools 3.7.22-3 Β· LicenseRef-public-domain
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms