delorie.com/archives/browse.cgi | search |
From: | eplmst AT lu DOT erisoft DOT se (Martin Stromberg) |
Message-Id: | <199902011211.NAA18187@juno.erisoft.se> |
Subject: | Invented inode numbers |
To: | djgpp-workers AT delorie DOT com (DJGPP-WORKERS) |
Date: | Mon, 1 Feb 1999 13:11:00 +0100 (MET) |
X-Mailer: | ELM [version 2.4 PL24] |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Please check my math: Maximum partition size with FAT32 is 2TB which is 2^41. For those big sizes FAT32 uses a cluster size of 32KB which is 2^15. Hence maximum cluster number is 2^41/2^15 = 2^26. INT_MAX is ~2^31. Hence we have a lot of safe numbers to use for invented inode numbers. Right? Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |