shithub: unionfs

Download patch

ref: 26945e0f33900835e4749f1205c733207f9e9731
parent: 0e34af76cf4a1a32acaa615289c7d047318b510a
author: kvik <kvik@a-b.xyz>
date: Fri Jun 4 06:15:08 EDT 2021

Use /mnt/exportfs mntgen

--- a/unionfs.c
+++ b/unionfs.c
@@ -15,7 +15,7 @@
 	qlock(&mtptlock);
 	if(mtpt == nil){
 		mtpt = emalloc(sizeof(Mtpt));
-		mtpt->path = smprint("/mnt/mtpt%d", mtptnext++);
+		mtpt->path = smprint("/mnt/exportfs/%d", mtptnext++);
 	}
 	m = mtpt;
 	mtpt = m->next;