search for: di_onlink

Displaying 3 results from an estimated 3 matches for "di_onlink".

Did you mean: di_nlink
2020 Jul 17
2
hardlinks
Il 17/07/20 10:54, Karl Vogel ha scritto: > It depends on the size of the variables in the structure used by the > stat() call. In ext4, the "links" variable is an unsigned 16-bit integer, > so you have your limit of 64k or so. I've worked with systems where > the limit was a signed 16-bit integer, so it maxed out at 32k. > > XFS may be a full 32-bit integer, so
2020 Jul 17
0
hardlinks
..._________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos Have a look at https://mirrors.edge.kernel.org/pub/linux/utils/fs/xfs/docs/xfs_filesystem_structure.pdf On page 105 the inode structure is given: __uint16_t di_onlink; ... __uint32_t di_nlink Page 107 gives more detail: di_onlink: In v1 inodes, this specifies the number of links to the inode from directories. When the number exceeds 65535,the inode is converted to v2 and the link count is stored in di_nlink. di_nlink: Specifies the number of links to the in...
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...FS_DINODE_FMT_UUID, +} xfs_dinode_fmt_t; + +typedef struct xfs_dinode { + uint16_t di_magic; /* inode magic # = XFS_DINODE_MAGIC */ + uint16_t di_mode; /* mode and type of file */ + uint8_t di_version; /* inode version */ + uint8_t di_format; /* format of di_c data */ + uint16_t di_onlink; /* old number of links to file */ + uint32_t di_uid; /* owner's user id */ + uint32_t di_gid; /* owner's group id */ + uint32_t di_nlink; /* number of links to file */ + uint16_t di_projid_lo; /* lower part of owner's project id */ + uint16_t di_projid_hi; /* high...