| Age | Commit message (Collapse) | Author | 
 | 
Use a seperate variable to iterate over directory children and don't
modify n. Otherwise, the chown/chmod code below derefernces a null
pointer when trying to access n->name, n->uid and n->gid.
Bug found using scan-build.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
The listing command has been used successfully to do the following:
 - generate a prestine file system using gensquashfs
 - repeate multiple times:
   - generate a listing from the file system
   - unpack only the regular files from the file system
   - generate a new file system from the listing
   - run `diff` on the old and new filesystem and admire that they
     are identical
   - replace the old file system with the new one, since they are
     identical
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
This commit changes the names of the tools to gensquashfs and rdsquashfs
so they don't collide with the names used by the squashfs-tools package
and the two can be installed side by side.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
This allows the user to skip stuff like device special files (which
non-root can't create anyway) or to not create symlinks/fifos etc...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 | 
 | 
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
 |