OS Manuals

/usr/bin/sqfstar

A collection of utilities for creating, modifying, and extracting squashed read-only file systems on Linux.

From squashfs-tools 4.7.5-r3 (enterprise-packages), captured 2026-11-08 by running sqfstar --help (exit 1) · terse output. permalink

sqfstar: --help is an invalid option

Run
  "sqfstar -help-option <regex>" to get help on all options matching <regex>

Or run
  "sqfstar -help-section <section-name>" to get help on these sections
	SECTION NAME		SECTION
	compression		Filesystem compression options:
	build			Filesystem build options:
	time			Filesystem time options:
	perms			Filesystem permissions options:
	pseudo			Filesystem pseudo options:
	xattrs			Filesystem extended attribute (xattrs) options:
	runtime			Sqfstar runtime options:
	expert			Expert options (these may make the filesystem
				unmountable):
	help			Help options:
	misc			Miscellaneous options:
	pseudo-defs		Pseudo file definition format:
	symbolic		Symbolic mode specification:
	environment		Environment:
	exit			Exit status:
	extra			See also (extra information elsewhere):

Or run
  "sqfstar -help-all" to get help on all the sections
Options (91)
OptionDescriptionSource
-b BLOCK-SIZEset data block to BLOCK-SIZE.man
-comp COMPselect COMP compression.man
-noIdo not compress inode table.man
-noIddo not compress the uid/gid table (implied by -noI).man
-noDdo not compress data blocks.man
-noFdo not compress fragment blocks.man
-noXdo not compress extended attributes.man
-no-compressiondo not compress any of the data or metadata.man
-exportsmake the filesystem exportable via NFS.man
-no-sparsedo not detect sparse files.man
-no-fragmentsdo not use fragments.man
-no-tailendsdo not pack tail ends into fragments.man
-no-duplicatesdo not perform duplicate checking.man
-no-hardlinksdo not hardlink files, instead store duplicates.man
-regexallow POSIX regular expressions to be used in exclude dirs/files.man
-ignore-zerosallow tar files to be concatenated together and fed to Sqfstar.man
-ef EXCLUDE-FILElist of exclude dirs/files.man
-mkfs-time TIMEset filesystem creation timestamp to TIME.man
-inode-time TIMEset all file and directory timestamps to TIME.man
-root-time TIMEset root directory time to TIME.man
-reprobuild a reproducible filesystem image.man
-repro-time TIMEbuild a reproducible filesystem image.man
-all-rootmake all files and directories owned by root.man
-root-mode MODEset root directory permissions to MODE.man
-root-uid USERset root directory owner to specified USER, USER can be either an integer uid or user name.man
-root-gid GROUPset root directory group to specified GROUP, GROUP can be either an integer gid or group name.man
-force-file-mode MODEset all file (non-directory) permissions to MODE.man
-force-dir-mode MODEset all directory permissions to MODE.man
-force-uid USERset all file and directory uids to specified USER, USER can be either an integer uid or user name.man
-force-gid GROUPset all file and directory gids to specified GROUP, GROUP can be either an integer gid or group name.man
-uid-gid-offset VALUEoffset all uid and gids by specified VALUE.man
-default-mode MODEtar files often do not store permissions for intermediate directories.man
-default-uid USERtar files often do not store uids for intermediate directories.man
-default-gid GROUPtar files often do not store gids for intermediate directories.man
-numeric-ownerUse the numeric uid and gid in the tarfile rather than the user name or group name.man
-p PSEUDO-DEFINITIONadd pseudo file definition.man
-pd "dspecify a default pseudo directory which will be used in pseudo definitions if a directory in the pathname does not exist.man
-pf PSEUDO-FILEadd list of pseudo file definitions.man
-pseudo-overridemake pseudo file uids and gids override -all-root, -force-uid and -force-gid options.man
-no-xattrsdo not store extended attributes.man
-xattrsstore extended attributes (default).man
-xattrs-exclude REGEXexclude any xattr names matching REGEX.man
-xattrs-include REGEXinclude any xattr names matching REGEX.man
-xattrs-add NAME=VALadd the xattr NAME with VAL to files.man
-versionprint version, licence and copyright message.man
-forceforce Sqfstar to write to block device or file.man
-exit-on-errortreat normally ignored errors as fatal.man
-quietno verbose output.man
-infoprint files written to filesystem to stdout.man
-info-file FILEprint files written to filesystem to file FILE.man
-no-progressdo not display the progress bar.man
-progressdisplay progress bar when using the -info option.man
-percentagedisplay a percentage rather than the full progress bar.man
-throttle PERCENTAGEthrottle the I/O input rate by the given percentage.man
-limit PERCENTAGElimit the I/O input rate to the given percentage.man
-processors NUMBERuse NUMBER processors.man
-mem SIZEuse SIZE physical memory for caches.man
-mem-percent PERCENTuse PERCENT physical memory for caches.man
-mem-defaultprint default memory usage in Mbytes.man
-overcommit PERCENTallow PERCENT more threads to run in parallel than available processors.man
-streamoutput the filesystem to STDOUT rather than to a file.man
-fix FILESYSTEMfix FILESYSTEM generated using the -stream option.man
-nopaddo not pad filesystem to a multiple of 4K.man
-offset OFFSETskip OFFSET bytes at the beginning of FILESYSTEM.man
-o OFFSETsynonym for -offset.man
-helpprint help summary information to pager (or stdout if not a terminal).man
-help-option REGEXprint the help information for options matching REGEX to pager (or stdout if not a terminal).man
-help-section SECTIONprint the help information for section SECTION to pager (or stdout if not a terminal).man
-help-comp COMPprint compressor options for compressor COMP.man
-help-allprint help information for all Sqfstar options and sections to pager (or stdout if not a terminal).man
-Xhelpprint compressor options for selected compressor.man
-hshorthand alternative to -help.man
-ho REGEXshorthand alternative to -help-option.man
-hs SECTIONshorthand alternative to -help-section.man
-hashorthand alternative to -help-all.man
-no-pagerdo not use a pager to output help information.man
-cols WIDTHuse WIDTH columns to output help information.man
-fstime TIMEalternative name for mkfs-time.man
-root-ownedalternative name for -all-root.man
-noInodeCompressionalternative name for -noI.man
-noIdTableCompressionalternative name for -noId.man
-noDataCompressionalternative name for -noD.man
-noFragmentCompressionalternative name for -noF.man
-noXattrCompressionalternative name for -noX.man
-Xcompression-level COMPRESSION-LEVELCOMPRESSION-LEVEL should be 1 ..man
-Xwindow-size WINDOW-SIZEWINDOW-SIZE should be 8 ..man
-Xstrategy strategy1Compress using strategy1,strategy2,...,strategyN in turn and choose the best compression.man
-Xalgorithm ALGORITHMWhere ALGORITHM is one of: lzo1x_1, lzo1x_1_11, lzo1x_1_12, lzo1x_1_15, lzo1x_999 (default).man
-XhcCompress using LZ4 High Compression.man
-Xbcj filter1Compress using filter1,filter2,...,filterN in turn (in addition to no filter), and choose the best compression.man
-Xdict-size DICT-SIZEUse DICT-SIZE as the XZ dictionary size.man
Exit status (2) from the manual page
0Sqfstar successfully generated a filesystem.
1Fatal errors occurred, Sqfstar aborted and did not generate a filesystem.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.