
|
[openbeosstorage]
||
[Date Prev]
[12-2002 Date Index]
[Date Next]
||
[Thread Prev]
[12-2002 Thread Index]
[Thread Next]
[openbeosstorage] Re: Device API / DriveSetup AddOns
- From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
- To: openbeosstorage@xxxxxxxxxxxxx
- Date: Thu, 12 Dec 2002 16:49:51 +0100 (MET)
On Wed, 11 Dec 2002, Axel =?iso-8859-1?q?D=F6rfler ?= wrote:
>
> "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx> wrote:
> > I was under the impression, that we want to start with libroot and
> > the
> > DriveSetup (DS) add-ons as a base, but as it seems to me, you
> > intended
> > to start with the stuff at the very roots. :-P
>
> Sure :-)
> Obviously, Be's libroot just used GPLd malloc - everything else was
> released as objects only.
Yep, it looks like that.
> > PS: Do I remember correctly, that we use a fair amount of C++ in the
> > kernel (even virtual functions!=3F)=3F Doesn't that call for a nice C++
> > API
> > for the DS add-ons=3F :-P
>
> Well, don't think this is necessary
Definitely not necessary. I was just hoping to not need to write C code.
;-)
> - what would the add-ons need from
> the kernel=3F Almost only read().
And write(), of course, as we will certainly want to allow
re-partitioning. :-)
The question remains, what we do with FS initialization. Unless I'm
mistaken, the DS add-ons for FSs feature GUIs for setting the
initialization parameters. That functionality can't go into a kernel
add-on. I guess we need another add-on for DriveSetup.
> And we are also bound to the modules
> interface.
That wouldn't be a big restriction. But anyway, as it seems, the add-ons'
job isn't so complex, that the additional abstraction C++ provides would
be desparately needed.
> > PPS: Axel, didn't you plan to write a "C++ in the kernel" newsletter
> > article=3F :-P
>
> Yeah, I will, I just have not much time right now :-)
I'll wait patiently. :-)
> > PPPS: I have never played with sessions/partitions before, so, if you
> > have any helpful links, don't hesitate to throw them at me. ;-) I
> > guess, for hard disks the fdisk sources wouldn't be too bad a point
> > to
> > start at. CDs, floppies,...=3F
>
> Don't know where to get information about CDs, but I don't think
> floppies can have partitions :-)
Er, right. :-)
> For hard disks I have a link:
> http://www.win.tue.nl/~aeb/partitions/partition=5Ftables.html
Thanks, that looks good.
CU, Ingo
|

|