Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosstorage] || [Date Prev] [03-2002 Date Index] [Date Next] || [Thread Prev] [03-2002 Thread Index] [Thread Next]

[openbeosstorage] BNode

  • From: Tyler Dauwalder <tyler@xxxxxxxxxxxxx>
  • To: OpenBeOSStorage@xxxxxxxxxxxxx
  • Date: Mon, 18 Mar 2002 02:04:12 -0800
Hi folks,

It looks like I'm basically through with BNode. I'm going to move on to 
BEntry now, since Simon has had to take a break due to real-world 
obligations.

There are a few shortcomings in the current BNode implementation:

1. I can't test Write/ReadAttrString() until we have an OpenBeOS BString 
implementation.

2. Locking can't be implemented until we get the new kernel, as Posix 
locking is not implemented in R5.

3. SetOwner() and SetGroup() from BStatable will work, but SetPermissions() 
and the Set*Time() functions will all fail until we get the new kernel, 
again thanks to Posix incompatibilities.

4. Only the (const char *) constructor and SetTo() function are 
implemented. I'll implement the other constructors and SetTo()s as I do 
BEntry.

And a few improvements as well:

1. RenameAttr() now works with any filesystem that supports attributes. The
R5 version relies on a dedicated filesystem call which BFS does not 
implement. Ours does not.

2. Our functions return error codes instead of crashing your program when 
you pass them NULL pointers.

-Tyler





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.