[haiku-development] Re: [RFC] fat initialization function -- fat driver

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 21 May 2008 01:20:20 +0200

On 2008-05-21 at 00:01:15 [+0200], Marcus Overhagen 
<marcusoverhagen@xxxxxxxx> wrote:
> Marco Minutoli schrieb:
> > 
> > I am on the way of writing a fat addon for the disk system and I
> > noticed that the FAT driver miss an initialization function ATM.
> We have the mkdos bin tool which does this job.
> 
> > First of all does it make any sense to write the initialization
> > function for the actual FAT driver? I saw it has a different licence
> > and a it's not designed in an OO way like BFS so I was
> > wondering if you want to rewrite it sooner or later.
> You could/should reuse/call mkdos. Rewriting FAT fs and mkdos tool
> isn't really an easy job.

It would nevertheless be nice, if fatfs supported the FS initialization 
API, so that e.g. DriveSetup can use the generic API to initialize FAT 
volumes, instead of implementing a special case. Maybe code from mkdos can 
be reused in the FS module.

CU, Ingo

Other related posts: