Skip to content

Commit 3111ff6

Browse files
committed
fix quote
1 parent bfe1900 commit 3111ff6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

posts/maybe-the-fastest-disk-usage-program-on-macos.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ I found some background on this syscall in a [mailing list](https://lists.apple.
112112

113113
> Also note that as of Yosemite, we have added a new API: getattrlistbulk(2), which is like getdirentriesattr(), but supported in VFS for all filesystems. getdirentriesattr() is now deprecated.
114114
115-
The main advantage of the bulk call is that we can return results in most cases without having to create a vnode in-kernel, which saves on I/O: HFS+ on-disk layout is such that all of the directory
116-
entries in a given directory are clustered together and we can get multiple directory entries from the same cached on-disk blocks.
117-
>
115+
> The main advantage of the bulk call is that we can return results in most cases without having to create a vnode in-kernel, which saves on I/O: HFS+ on-disk layout is such that all of the directory entries in a given directory are clustered together and we can get multiple directory entries from the same cached on-disk blocks.
118116
119117
My first attempt at wiring up this syscall used CGO. I wrote a C function that took a directory file descriptor and called `getattrlistbulk` in a loop until it had all the file info, and then returned the list of files and their attributes to Go.
120118

0 commit comments

Comments
 (0)