[openbeos] Re: FS attributes

  • From: "Alexander G. M. Smith" <agmsmith@xxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 06 Jan 2002 18:30:37 EST

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.

- Alex

Other related posts: