Mail Archives: djgpp-workers/1999/01/30/05:28:59
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
- Raw text -