summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 8b8ecc3..f0d1e73 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -78,6 +78,9 @@ static int read_fstree(fstree_t *fs, options_t *opt)
if (opt->keep_time)
flags |= DIR_SCAN_KEEP_TIME;
+ if (opt->one_filesystem)
+ flags |= DIR_SCAN_ONE_FILESYSTEM;
+
return fstree_from_dir(fs, opt->packdir, flags);
}