cvs commit: src/sys/kern vfs_subr.c src/sys/fs/devfs devfs_vnops.c

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Nov 10 10:30:39 GMT 2005


In message <20051110202946.Q2041 at epsplex.bde.org>, Bruce Evans writes:

>>>> The reason it is not in dirent is that UFS/FFS uses dirent as the
>>>> layout in directories as a microoptimization.
>>>
>>> I think the reason is exactly the opposite.
>>
>> Care to elaborate ?
>
>I think ffs is older than the current `struct dirent', and the latter
>was copied from ffs's `struct direct', not vice versa.

Yes, we're in agreement then.

My point was that cookies were not added to dirent because of the
UFS/FFS relationship.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list