ref: 3172a69ddf708b692f5b0faff5b67de92b2a2633
parent: 67cc25a5e7e7042e5813fce8c203662af23b951e
author: Alex Musolino <[email protected]>
date: Fri Dec 30 09:22:33 EST 2022
fill out more fields in directory entries
--- a/mntgen.go
+++ b/mntgen.go
@@ -38,6 +38,9 @@
Mtime: time.Now(),
Ctime: time.Now(),
Mode: os.ModeDir | 0o755,
+ Nlink: 2,
+ Uid: uint32(os.Getuid()),
+ Gid: uint32(os.Getgid()),
},
Entries: make(map[string]*Dir),
}