On Sat, Jul 06, 2002 at 04:42:22PM -0700, Matthew Dillon wrote: > Negative block numbers are used by UFS to represent the indirect blocks > associated with a file, while positive block numbers represent the > contents of the file.
I never saw any negative block numbers in on-disc structures. Now I wonder if it was just hidden behind macros. What is the reason to handle it that way? Do you have some code reference for homework? > These are logical block numbers, which are fragment-sized (1K typically). > So, 2^31 x 1K = 2TB. > > Physical block numbers are 512-byte sized, with a range of 2^32 > in -stable. This also winds up being 2TB. So increasing the fragment > size does not help in -stable. It's a proven fact that there is a 1T limit somewhere which was explained with physical block numbers beeing signed. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message