Subject: Re: hard links not metalogged correctly
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-toolchain
Date: 07/08/2005 11:12:37
> Two questions about makelink() from src/usr.bin/xinstall/xinstall.c:

> - The mode being metalogged for hard links is [...]
> - Why are owner, group and fflags ignored?

Perhaps because the mode, owner, group, etc, are all necessarily
inherited from the linked-to file, so there's no point in bothering
with them?

I think the right fix here is not to change the metalogged data for the
hardlink, but rather to make tools that listen to that data ignore the
values for a hardlink - or at the very least use the corresponding
values for the target (which must necessarily be earlier in the file,
right?) instead.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B