diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-05 01:56:25 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-05 01:57:49 +0200 |
commit | c7f38d808144e8f82805a6b84bfe48740af31b14 (patch) | |
tree | f6d63952f762616f75149697757046d27ad87fbb /doc/rdsquashfs.1 | |
parent | ce01b6dbf6969106d81d405ed34ebadf5dd9cbde (diff) |
Add man pages
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'doc/rdsquashfs.1')
-rw-r--r-- | doc/rdsquashfs.1 | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/doc/rdsquashfs.1 b/doc/rdsquashfs.1 new file mode 100644 index 0000000..a4b758a --- /dev/null +++ b/doc/rdsquashfs.1 @@ -0,0 +1,76 @@ +.TH RDSQUASHFS "1" "May 2019" "inspect SquashFS filesystems" "User Commands" +.SH NAME +rdsquashfs \- tool to examine or uncompress SquashFS filesystems +.SH SYNOPSIS +.B rdsquashfs +[\fI\,OPTIONS\/\fR] \fI\,<squashfs-file>\/\fR +.SH DESCRIPTION +View or extract the contents of a squashfs image. +.PP +The following options can be used to specify what operation to perform. One +of those has to be present: +.TP +\fB\-\-list\fR, \fB\-l\fR <path> +Produce a directory listing similar to \fBls \-l\fR for a given path in +the SquashFS image. +.TP +\fB\-\-cat\fR, \fB\-c\fR <path> +If the specified path is a regular file in the image, extract it and dump +its contents to stdout. +.TP +\fB\-\-unpack\-path\fR, \fB\-u\fR <path> +Unpack the specified sub directory from the image. To unpack everything, +simply specify /. +.TP +\fB\-\-describe\fR, \fB\-d\fR +Produce a file listing from the image. +.PP +The following options can be used to control the behaviour of the specified +operation: +.TP +\fB\-\-unpack\-root\fR, \fB\-p\fR <path> +If used with \fB\-\-unpack\-path\fR, this is where the +data is unpacked to. If used with \fB\-\-describe\fR, this +is used as a prefix for the input path of +regular files. +.TP +\fB\-\-no\-dev\fR, \fB\-D\fR +Do not unpack device special files. +.TP +\fB\-\-no\-sock\fR, \fB\-S\fR +Do not unpack socket files. +.TP +\fB\-\-no\-fifo\fR, \fB\-F\fR +Do not unpack named pipes. +.TP +\fB\-\-no\-slink\fR, \fB\-L\fR +Do not unpack symbolic links. +.TP +\fB\-\-no\-empty\-dir\fR, \fB\-E\fR +Do not unpack directories that would end up +empty after applying the above rules. +.TP +\fB\-\-chmod\fR, \fB\-C\fR +Change permission flags of unpacked files to +those store in the SquashFS image. +.TP +\fB\-\-chown\fR, \fB\-O\fR +Change ownership of unpacked files to the +UID/GID set in the SquashFS image. +.TP +\fB\-\-quiet\fR, \fB\-q\fR +Do not print out progress while unpacking. +.TP +\fB\-\-help\fR, \fB\-h\fR +Print help text and exit. +.TP +\fB\-\-version\fR, \fB\-V\fR +Print version information and exit. +.SH AUTHOR +Written by David Oberhollenzer. +.SH COPYRIGHT +Copyright \(co 2019 David Oberhollenzer +License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. +.br +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. |