From: Martin Str|mberg Message-Id: <199901301027.LAA24499@father.ludd.luth.se> Subject: FAT32 (xstat.c) To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) Date: Sat, 30 Jan 1999 11:27:46 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com I'm trying to understand what's going on in libc/posix/sys/stat/xstat.c. In particular in _invent_inode(). When is st_inode wider than a short int? I think I remember reading somewhere the maximum cluster number on FAT32 was less than 2^31, something like 2^29. But I can't find that piece of information anywhere. Anyone know? If that's so, then by using LONG_MAX and counting downwards should be sufficient to generate unique inode numbers. Shostakovich, String Quartet No. 11, MartinS