Add a reference to the Linux kernel's documentation for block stat.

Signed-off-by: W. Andrew Denton <git@flying-snail.net>
This commit is contained in:
W. Andrew Denton 2022-03-10 16:43:07 -08:00 committed by Johannes 'fish' Ziemke
parent 84ce3a0103
commit 402a00932d

View file

@ -30,7 +30,8 @@ import (
const (
secondsPerTick = 1.0 / 1000.0
// Read sectors and write sectors are the "standard UNIX 512-byte sectors, not any device- or filesystem-specific block size.
// Read sectors and write sectors are the "standard UNIX 512-byte sectors, not any device- or filesystem-specific block size."
// See also https://www.kernel.org/doc/Documentation/block/stat.txt
unixSectorSize = 512.0
)