[openbeos] Re: FS attributes

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 7 Jan 2002 02:01:59 +0100 (MET)

> Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx> wrote on Sun, 06 Jan 2002 
> > 18:07:33 -0500:
> > [good points] Third, while attributes *CAN* be used to hold 
> > mountains
> > of data, it is, IMHO, a bad idea. They aren't designed to do so 
> > well. 
> 
> Under the hood they use the same mechanisms as files for storing 
> data.
> So you could easily store tons.  The trouble is that the BFS code for
> accessing that data only lets you write the whole attribute at once -
> meaning you need a buffer that big, no seeking allowed, no multiple
> writes.  That limits you to about 1GB of data.

And that's no limit of BFS either, but of the accessing API.

The attribute stuff in BNode even *has* a parameter "offset", but it's 
currently not used - I really wonder why.

Adios...
   Axel.



Other related posts: