logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

sqfsdiff.1 (2459B)


  1. .TH SQFSDIFF "1" "August 2019" "sqfsdiff" "User Commands"
  2. .SH NAME
  3. sqfsdiff \- compare two squashfs images by contents and metadata
  4. .SH SYNOPSIS
  5. .B sqfsdiff
  6. [\fI\,OPTIONS\/\fR...] \-\-old \fI\,<first>\fR \-\-new \fI\,<second>\/\fR
  7. .SH DESCRIPTION
  8. Compare two squashfs images. In contrast to doing a direct diff of the
  9. images, this actually parses the filesystems and generates a more
  10. meaningful difference report.
  11. .PP
  12. If only contents are compared, any differences in packed file layout,
  13. ordering, compression, inode meta data and so on is ignored and the two
  14. images are considered equal if each directory contains the same entries,
  15. symlink with the same paths have the same targets, device nodes the same
  16. device number and files the same size and contents.
  17. .PP
  18. A report of any difference is printed to stdout. The exit status is similar
  19. that of diff(1): 0 means equal, 1 means different, 2 means problem.
  20. .PP
  21. Possible options:
  22. .TP
  23. \fB\-\-old\fR, \fB\-a\fR <first>
  24. Specify the first filesystem image or source directory, relativ to which the
  25. changes are evaluated.
  26. .TP
  27. \fB\-\-new\fR, \fB\-b\fR <second>
  28. Specify the second filesystem image to source directory to compare to the
  29. first one.
  30. .TP
  31. \fB\-\-no\-contents\fR, \fB\-C\fR
  32. Do not compare file contents.
  33. .TP
  34. \fB\-\-no\-owner\fR, \fB\-O\fR
  35. Do not compare file owners.
  36. .TP
  37. \fB\-\-no\-permissions\fR, \fB\-P\fR
  38. Do not compare permission bits.
  39. .TP
  40. \fB\-\-timestamps\fR, \fB\-T\fR
  41. Compare file timestamps.
  42. .TP
  43. \fB\-\-inode\-num\fR, \fB\-I\fR
  44. Compare inode numbers of all files.
  45. .TP
  46. \fB\-\-super\fR, \fB\-S\fR
  47. Also compare meta data in super blocks.
  48. .TP
  49. \fB\-\-extract\fR, \fB\-e\fR <path>
  50. Extract files that exist in both images but have different contents to the
  51. specified directory. Contents of the first image end up in a sub directory
  52. named \fBold\fR and the contents of the second image in a sub directory
  53. named \fBnew\fR.
  54. .TP
  55. \fB\-\-help\fR, \fB\-h\fR
  56. Print help text and exit.
  57. .TP
  58. \fB\-\-version\fR, \fB\-V\fR
  59. Print version information and exit.
  60. .SH EXIT STATUS
  61. The exit status is similar that of diff(1): 0 means equal, 1 means different,
  62. 2 means problem.
  63. .SH SEE ALSO
  64. rdsquashfs(1), sqfs2tar(1)
  65. .SH AUTHOR
  66. Written by David Oberhollenzer.
  67. .SH COPYRIGHT
  68. Copyright \(co 2019 David Oberhollenzer et al
  69. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
  70. .br
  71. This is free software: you are free to change and redistribute it.
  72. There is NO WARRANTY, to the extent permitted by law.