Re: UFS dirent d_reclen
David Holland <[email protected]> Thu, 10 Sep 2020 22:43:20 +0000
| Newsgroups | gmane.os.netbsd.devel.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 10, 2020 at 01:57:45PM -0400, Jan Schaumann wrote: > Your and mouse's emails helped me clarify the > difference between the dirent struct tied to the > directory as used internally versus what readdir(2) > returns (and which may then be aligned). The ffs on-disk structure is "struct direct", not "struct dirent". They are nearly the same (not an accident) and there are some unclean legacy macros in some places that can be applied to either of the types, but they're distinct things with distinct roles. -- David A. Holland [email protected]