Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
jacobsa-fuse
Commits
33a476ca
Commit
33a476ca
authored
Sep 10, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to do what the documentation now says.
parent
7c543380
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
conversions.go
conversions.go
+6
-7
No files found.
conversions.go
View file @
33a476ca
...
...
@@ -565,8 +565,8 @@ func (c *Connection) kernelResponseForOp(
out
.
St
.
Files
=
o
.
Inodes
out
.
St
.
Ffree
=
o
.
InodesFree
// The posix spec for sys/statvfs.h
defines the following fields, among
// others:
// The posix spec for sys/statvfs.h
(http://goo.gl/LktgrF) defines the
//
following fields of statvfs, among
others:
//
// f_bsize File system block size.
// f_frsize Fundamental file system block size.
...
...
@@ -587,11 +587,10 @@ func (c *Connection) kernelResponseForOp(
// fragments in UNIX file systems first appeared in the early 1980s
// with the 4.2BSD Fast File System.)
//
// Confusingly, it appears as though osxfuse surfaces f_bsize as f_iosize
// (of advisory use only), and f_frsize as f_bsize (which affects free
// space display in the Finder). In any case, we don't care to let the user
// distinguish, so set both to the same value.
out
.
St
.
Bsize
=
o
.
BlockSize
// Confusingly, it appears as though osxfuse surfaces fuse_kstatfs::bsize
// as statfs::f_iosize (of advisory use only), and fuse_kstatfs::frsize as
// statfs::f_bsize (which affects free space display in the Finder).
out
.
St
.
Bsize
=
o
.
IoSize
out
.
St
.
Frsize
=
o
.
BlockSize
case
*
initOp
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment