[openbeosstorage] Re: Module location

On Thu, 12 Jun 2003, Axel Dörfler wrote:

> "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx> wrote:
> > I just started to wonder where to place our modules. Formerly we had
> > `disk_scanner/{fs,partition,session}', but since the interesting
> > functionality for file systems will be implemented in the file
> > systems
> > modules themselves, and those will probably stay in `file_systems'
> > (even if turned from add-ons into modules), we perhaps want the
> > modules
> > for partitioning systems in `partitioning_systems'.
>
> Sounds perfectly okay. Just out of curiosity, where would I put the
> disk_manager into if it were a module? Or a RAID manager? :-)

Mmh, right at root of the kernel add-ons directory, I suppose. Unless one
finds enough modules with similar scope, then a subdir would be nice. So,
if the disk device manager was a module (I don't see much sense in making
it one -- don't know why I ever started the disk scanner as a module), it
could go together with the RAID manager into a common dir, like `disk',
`storage', or something like that.

It would also be possible to create a `misc' directory, where to put any
module that doesn't fit into any other dir.

CU, Ingo

Other related posts: