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.

    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.

    In -current physical block numbers are now 64 bits, removing the 2TB
    limit, and UFS2 uses 64 bit block numbers, removing the filesystem-imposed
    2TB limit.  I'm not sure how much more work there is to go in this
    area, you could ask Poul or Kirk.

                                                -Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to