diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-25 12:54:33 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-25 13:46:07 +0100 |
commit | cf9c27b18b9d57de760da289de515948f8eaa4df (patch) | |
tree | d1eb422924768dabdedd28d6abc3f2d3c09e8bd1 /src/shared | |
parent | 9044e5b3bfdc8f0ee5a9524b69a2714bf431ca4b (diff) | |
download | systemd-cf9c27b18b9d57de760da289de515948f8eaa4df.tar.gz |
mkfs-util: Drop batch (b) and n flags from mcopy
The batch flag is bugged on older versions of mcopy causing failures
such as:
```
Internal error, size too big
Streamcache allocation problem:: 5
```
It's also a little unclear what the batch flag actually does, so since
everything still works without it, it doesn't hurt to remove it.
The n flag only applies when copying from fat to unix which we don't do
so it doesn't make sense in this scenario.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/mkfs-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/mkfs-util.c b/src/shared/mkfs-util.c index e89b1b8845..3edeaa5285 100644 --- a/src/shared/mkfs-util.c +++ b/src/shared/mkfs-util.c @@ -148,7 +148,7 @@ static int do_mcopy(const char *node, const char *root) { if (r < 0) return log_error_errno(r, "Failed to determine whether mcopy binary exists: %m"); - argv = strv_new(mcopy, "-b", "-s", "-p", "-Q", "-n", "-m", "-i", node); + argv = strv_new(mcopy, "-s", "-p", "-Q", "-m", "-i", node); if (!argv) return log_oom(); |