aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-04-06 14:22:30 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-04-06 14:23:08 +0200
commit23fab1d2b8164a99c5536581bb80769a620c65c0 (patch)
tree373ef31ba98751c1892defb91df99eeaf8c3aa4a /bin/gensquashfs
parenta4ce623c5bd9230c66b0f309fb7d74c7f5ea7ccb (diff)
libfstree: Move left over dirscan flags to gensquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs')
-rw-r--r--bin/gensquashfs/src/mkfs.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/gensquashfs/src/mkfs.h b/bin/gensquashfs/src/mkfs.h
index 671c3cb..516ab87 100644
--- a/bin/gensquashfs/src/mkfs.h
+++ b/bin/gensquashfs/src/mkfs.h
@@ -41,6 +41,22 @@
#include <errno.h>
#include <ctype.h>
+enum {
+ DIR_SCAN_KEEP_TIME = 0x01,
+
+ DIR_SCAN_ONE_FILESYSTEM = 0x02,
+
+ DIR_SCAN_NO_RECURSION = 0x04,
+
+ DIR_SCAN_NO_SOCK = 0x0008,
+ DIR_SCAN_NO_SLINK = 0x0010,
+ DIR_SCAN_NO_FILE = 0x0020,
+ DIR_SCAN_NO_BLK = 0x0040,
+ DIR_SCAN_NO_DIR = 0x0080,
+ DIR_SCAN_NO_CHR = 0x0100,
+ DIR_SCAN_NO_FIFO = 0x0200,
+};
+
/*
Optionally used by fstree_from_dir and fstree_from_subdir to
execute custom actions for each discovered node.