add scoutfs df

This commit is contained in:
Ben McClelland
2020-10-28 13:59:01 -07:00
parent b07e33f98a
commit f1ca1aee0a
4 changed files with 101 additions and 1 deletions

View File

@@ -34,4 +34,11 @@ func main() {
fmt.Printf("fsid %016x\n", id.FSID)
fmt.Printf("rid %016x\n", id.RandomID)
fmt.Printf("%v\n", id.ShortID)
df, err := scoutfs.GetDF(f)
if err != nil {
log.Fatalf("error GetDF: %v", err)
}
fmt.Printf("%+v\n", df)
}