DWARFS
From Just Solve the File Format Problem
(Difference between revisions)
(Provide example and fix minor typo.) |
(DWARFS is an acronym.) |
||
Line 4: | Line 4: | ||
|released=2020 <ref>[https://github.com/mhx/dwarfs/releases/tag/release-0.1.0 Release 0.1.0 - GitHub]</ref> | |released=2020 <ref>[https://github.com/mhx/dwarfs/releases/tag/release-0.1.0 Release 0.1.0 - GitHub]</ref> | ||
}} | }} | ||
− | ''' | + | '''D'''eduplicating '''W'''arp-speed '''A'''dvanced '''R'''ead-only '''F'''ile '''S'''ystem (DWARFS) is a compressed read-only filesystem, developed by Marcus Holland-Moritz. Compared to Squashfs, DwarFS also offers a choice of hashing algorithms,<ref>[https://github.com/mhx/dwarfs/issues/92 Choice of hash for duplicate detection #92 - GitHub]</ref> as well as a tool for checking DwarFS image via <code>dwarfsck</code>. At maximum compression levels using LZMA, DwarFS (using <code>--compression=lzma:level=9:extreme</code>) can produce smaller file size compared to SquashFS with the rough equivalent of using XZ as <code>-comp xz</code>. |
See also [[Squashfs]]. | See also [[Squashfs]]. |
Revision as of 22:36, 31 July 2025
Deduplicating Warp-speed Advanced Read-only File System (DWARFS) is a compressed read-only filesystem, developed by Marcus Holland-Moritz. Compared to Squashfs, DwarFS also offers a choice of hashing algorithms,[2] as well as a tool for checking DwarFS image via dwarfsck
. At maximum compression levels using LZMA, DwarFS (using --compression=lzma:level=9:extreme
) can produce smaller file size compared to SquashFS with the rough equivalent of using XZ as -comp xz
.
See also Squashfs.
Examples
Create an extremely compressed DwarFS image, without history, all root owned contents, sha3-512 hash algorithm, idle task (lowest priority) from present directory to example.dwarfs
:
mkdwarfs --input . --output=example.dwarfs --block-size-bits=26 --compression=lzma:level=9:extreme --compress-niceness=10 --schema-compression=lzma:level=9:extreme \ --metadata-compression=lzma:level=9:extreme --no-history --pack-metadata=all,force --file-hash=sha3-512 --set-owner=0 --set-group=0 --no-history-timestamp \ --no-create-timestamp --no-history-command-line