mirror of
https://github.com/versity/scoutfs-go.git
synced 2026-01-03 10:35:15 +00:00
add scoutfs df
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user