Commit 7f5e9e55 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: make Attr output easier to read.

parent d37c7e2d
...@@ -172,6 +172,7 @@ func (me *GetXAttrIn) string() string { ...@@ -172,6 +172,7 @@ func (me *GetXAttrIn) string() string {
func (me *GetXAttrOut) string() string { func (me *GetXAttrOut) string() string {
return fmt.Sprintf("{sz %d}", me.Size) return fmt.Sprintf("{sz %d}", me.Size)
} }
func (me *AccessIn) string() string { func (me *AccessIn) string() string {
return fmt.Sprintf("{%s}", FlagString(accessFlagName, int64(me.Mask), "")) return fmt.Sprintf("{%s}", FlagString(accessFlagName, int64(me.Mask), ""))
} }
......
...@@ -16,7 +16,7 @@ func (a *Attr) string() string { ...@@ -16,7 +16,7 @@ func (a *Attr) string() string {
return fmt.Sprintf( return fmt.Sprintf(
"{M0%o SZ=%d L=%d "+ "{M0%o SZ=%d L=%d "+
"%d:%d "+ "%d:%d "+
"%d*%d %d:%d "+ "B%d*%d i%d:%d "+
"A %d.%09d "+ "A %d.%09d "+
"M %d.%09d "+ "M %d.%09d "+
"C %d.%09d}", "C %d.%09d}",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment