[openbeosstorage] Re: First C Device API Draft
- From: Tyler Dauwalder <tyler@xxxxxxxxxxxxx>
- To: openbeosstorage@xxxxxxxxxxxxx
- Date: Tue, 17 Dec 2002 01:18:51 -0800
> CVS
> absence of an idea for a better name, the kernel module bundling the
> functionality
> for getting information about sessions and partitions of devices is
> called
> partscan (for partition scanner, better suggestions are welcome :-)
How about diskscan (more general, considering sessions)? Or
storage_device_scanner (descriptive, though long)?
> and resides
> in `src/add-ons/kernel/partscan'. The modules for sessions,
> partitions and
> FSs go into the respective subdirs. Currently only one,
> `partition/intel',
> being able to recognize DOS partition maps is implemented.
>
> The headers for the modules live in `headers/private/partscan'. They
> contain
> a bit of documentation about there API. The user API is defined in
> `headers/os/kernel/fs_device.h'.
>
> In `src/tests/add-ons/kernel/partscan' the user land versions of the
> modules
> are built and there's also some test code.
>
> As said, this is a first draft. Suggestions/ideas are very welcome.
So far just one question: what's the reason for passing "off_t
sessionOffset" and "off_t sessionSize" to the two partition functions
declared in partscan.h? Why not just pass a "struct session_info*"
(which seems clearer and easier to me)?
-Tyler
- Follow-Ups:
- [openbeosstorage] Re: First C Device API Draft
- From: Axel =?iso-8859-1?q?D=F6rfler
- References:
- [openbeosstorage] First C Device API Draft
- From: ingo_weinhold
Other related posts:
- » [openbeosstorage] First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- » [openbeosstorage] Re: First C Device API Draft
- [openbeosstorage] Re: First C Device API Draft
- From: Axel =?iso-8859-1?q?D=F6rfler
- [openbeosstorage] First C Device API Draft
- From: ingo_weinhold