MKZFTREE(1)
π MKZFTREE(1) β mkzftree π
okay so bestie, this is the mkzftree(1) page, and itβs literally all about turning a file tree into a compressed one. group-chat energy only, but the technical tea is exactly preserved. π
β¨ NAME β¨
mkzftree β create a zisofs/RockRidge compressed file tree.
π¦ SYNOPSIS π¦
mkzftree [OPTIONS]... INPUT OUTPUT
πΈ DESCRIPTION πΈ
So hereβs the vibe: it takes an input file tree (INPUT) and creates a corresponding compressed file tree (OUTPUT) that can be used with an appropriately patched mkisofs(8) to create a transparent-compression ISO 9660/Rock Ridge filesystem using the "ZF" compression records. Thatβs the whole main-character mission. β¨
π OPTIONS π
-f,--forceβ always compress all files, even if they get larger when compressed. yes, even the ones that balloon up. no cap.-zlevel,--levellevel β select compression level (1-9, default is9). Lower compression levels are faster, but typically result in larger output. speed vs. size, the eternal group-chat dilemma.-u,--uncompressβ uncompress an already compressed tree. This can be used to read a compressed filesystem on a system which cannot read them natively. iconic little rescue move.-pparallelism,--parallelismparallelism β compress in parallel. The parallelism value indicates how many compression threads are allowed to run. multithreading slay.-x,--one-filesystemβ do not cross filesystem boundaries, but create directory stubs at mount points.-X,--strict-one-filesystemβ do not cross filesystem boundaries, and do not create directory stubs at mount points.-Cpath,--crib-pathpath β steal ("crib") files from another directory if it looks (based on name, size, type and modification time) like they match entries in the new filesystem. The"crib tree"is usually the compressed version of an older version of the same workload; this thus allows for"incremental rebuilds"of a compressed filesystem tree. The files are hardlinked from the crib tree to the output tree, so if it is desirable to keep the link count correct the crib path should be deleted before runningmkisofs. The crib tree must be on the same filesystem as the output tree. borrowed-with-purpose energy, but make it hardlinks. π-l,--localβ do not recurse into subdirectories, but create the directories themselves.-L,--strict-localβ do not recurse into subdirectories, and do not create directories.-F,--fileβ indicates thatINPUTmay not necessarily be a directory; this allows operation on a single file. Note especially that if-Fis specified, andINPUTis a symlink, the symlink itself will be copied rather than whatever it happens to point to. read that again: the symlink itself, bestie.-s,--sloppyβ treat file modes, times and ownership data as less than precious information and donβt abort if they cannot be set. This may be useful if runningmkisofson an input tree you do not own. lowkey forgiving mode.-v,--verboseβ increase the program verbosity.-Vvalue,--verbosityvalue β set the program verbosity to value.-q,--quietβ issue no messages whatsoever, including error messages. This is the same as specifying-V 0. absolute silence. not a peep. π€«-h,--helpβ display a brief help message.-w,--versionβ display the release version.
π BUGS π
- Long options (beginning with
--) may not work on all systems. See the message printed out bymkzftree -hto see if this applies to your system. iykyk, check your own system tea. - Inode change times (ctimes) are not copied. This is a system limitation and applies to all file copy programs. not us, itβs the system.
- If using the parallel option (
-z) the access times (atimes) on directories may or may not be copied. If it is important that the atimes on directories are copied exactly, avoid using-z. fr fr, if exact directory atimes matter, skip that.
π AUTHOR π
Written by H. Peter Anvin <hpa@zytor.com>. legend behavior. β¨
π COPYRIGHT π
Copyright Β© 2001-2002 H. Peter Anvin.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, zero warranty. none. periodt.
π₯ SEE ALSO π₯
alright bestie, thatβs the whole page β source/version is zisofs-tools, dated 30 July 2001, manual MKZFTREE(1). mwah πβ¨π
π¦ where this page comes from
- fedora 43: zisofs-tools 1.0.8-36.fc43 Β· GPL-1.0-or-later
- fedora 44: zisofs-tools 1.0.8-37.fc44 Β· GPL-1.0-or-later
- opensuse-leap 16.0: zisofs-tools 1.0.8-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: zisofs-tools 1.0.8-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: zisofs-tools 1.0.8-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: zisofs-tools 1.0.8-160000.2.2 Β· GPL-2.0-or-later
- Copyright 2001 H. Peter Anvin - All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms