On Sat, Jul 06, 2002 at 04:01:18PM -0700, Terry Lambert wrote:
> Darren Pilgrim wrote:
> > > > I thought the limit for filesystems was 2TB?
> > >
> > > The Blocknumber is signed that gives:
> > > 2^31 * 512Bytes
> > 
> > Why sign the blocknumber?  LBA uses an unsigned 32-bit integer,
> > allowing 2TB, and IIRC SCSI uses an unsigned integer as well (though I
> > can't remember if that one is 32 or 48 bits, or if they've gotten to
> > 64 bits by now).
> 
> To differentiate between direct (positive) and indirect (negative)
> blocks within the inode, and within an indirect block.

Inodes hold fs blocks which are different from device blocks.
On UFS they are sized equaly to fragments.
And I never saw negative blocknumbers in inodes or indirect blocks.
The difference is made just with the location of the entry.
Do you have a special filesystem in mind?

-- 
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

Reply via email to