mirror of
https://github.com/rclone/rclone.git
synced 2025-12-20 18:23:31 +00:00
report number of blocks in fuse
This commit is contained in:
@@ -62,6 +62,7 @@ func (f *File) Attr(ctx context.Context, a *fuse.Attr) error {
|
|||||||
a.Crtime = modTime
|
a.Crtime = modTime
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
a.Blocks = (a.Size + 511) / 512
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user