[haiku-development] Re: open bfs and small data

  • From: "Diego ." <eljedi@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 8 Jan 2010 18:16:53 +0100

Trunk bfs:
http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/kernel/file_systems/bfs

bfs.h:
http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/kernel/file_systems/bfs/bfs.h

On Thu, Sep 24, 2009 at 2:59 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>wrote:

> Hi Diego,
>
> "Diego ." <eljedi@xxxxxxxxx> wrote:
> > I got a question reggarding the way small data is saved on bfs used
> > in
> > haiku. Dominic on it's book says:
> >
> > "tha bytes of the name begin in the name field and continue from
> > there. The
> > attribute value (its data) is stored immediately following the bytes
> > of the
> > name" (pag 61)
> [...]
> > Does haiku save small data in a different way, or i misunderstood
> > something
> > on Dominic's book??
>
> Apparently, Dominic's book is wrong here. While it's a good resource
> for BFS, it sometimes is a bit vague or even incorrect on certain
> details. See the definitions in src/add-ons/kernel/file_systems/bfs/
> bfs.h for how to deal with the small_data section.
>
> Bye,
>    Axel.
>
>
>

Other related posts: