aruu

[MIRROR] Actual replacement for Busybox | suckless
git clone https://git.daat.foo/aruu.git
Log | Files | Refs | README | LICENSE

commit ef95fc21c6913ca08228b9bb0ad508a515f86fa6
parent ea93bd6889bf415e3647cf2b88737fa6ae36e94f
Author: xplshn <anto@xplshn.com.ar>
Date:   Thu, 26 Nov 2026 13:35:11 -0300

libdisk makes each ext4 with its own uuid

Diffstat:
Mshared/libdisk/plan.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/shared/libdisk/plan.c b/shared/libdisk/plan.c @@ -302,6 +302,10 @@ plan_mkfs_argv(const struct plan *p, int slot, char **argv, int max, char *store rc |= put(argv, &n, max, store, store_n, &used, "make_ext4fs"); rc |= put(argv, &n, max, store, store_n, &used, "-l"); rc |= put(argv, &n, max, store, store_n, &used, size); + /* its own UUID: the one make_ext4fs derives from the label is the same + * for two filesystems of one label, and fstab names them by it */ + rc |= put(argv, &n, max, store, store_n, &used, "-U"); + rc |= put(argv, &n, max, store, store_n, &used, "random"); if (a->label[0]) { rc |= put(argv, &n, max, store, store_n, &used, "-L"); rc |= put(argv, &n, max, store, store_n, &used, a->label);