From cf86ea52d198285996b2333ad04303e567c6b62a Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Wed, 18 Mar 2015 14:09:30 +1100 Subject: [PATCH] Added an InodeAttributes.Nlink field. --- file_system.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/file_system.go b/file_system.go index 6e473ef..791c7c2 100644 --- a/file_system.go +++ b/file_system.go @@ -265,6 +265,9 @@ func init() { type InodeAttributes struct { Size uint64 + // The number of incoming hard links to this inode. + Nlink uint64 + // The mode of the inode. This is exposed to the user in e.g. the result of // fstat(2). //