Re: includes inside squid.conf

From: Andres Kroonmaa <andre@dont-contact.us>
Date: Tue, 2 Apr 2002 18:15:44 +0300

On 2 Apr 2002, at 15:41, Henrik Nordstrom <hno@squid-cache.org> wrote:

> > Whats wrong with comparing st_ino/st_dev pair on unix?
>
> Good. Now you show the mostly correct picture. Inode number alone is
> not sufficient, you also need to make sure the filesystem is the same
> (device number).

 nah, nagging...

> There is noting wrong with this in theory, except for the small fact
> that stat() won't actually return unique inodes or device numbers on
> most UNIX:es today due to 64 bit transition of the filesystems and
> stat() beeing stuck with a 32 bit interface by default..

 It takes 2TB+ filesystem to blow 32-bit inode numbers.

> > What examples can screw my assumptions?
>
> The fact that the return value of stat() do not return unique pairs
> on most systems today except given very specific conditions.

 "on most systems"? are you joking again? I haven't seen 2TB fs from
 closer proximity than a whitepaper. What else makes OS to return
 non-unique pairs other than 64->32 truncation? bugs?

------------------------------------
 Andres Kroonmaa <andre@online.ee>
 CTO, Microlink Online
 Tel: 6501 731, Fax: 6501 725
 Pärnu mnt. 158, Tallinn,
 11317 Estonia
Received on Tue Apr 02 2002 - 08:22:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:56 MST