bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] initializing parted from an application


From: Andrew Clausen
Subject: Re: [patch] initializing parted from an application
Date: Thu, 16 Aug 2001 07:48:17 +1000
User-agent: Mutt/1.2.5i

On Wed, Aug 15, 2001 at 10:55:24PM +0200, Neal H Walfield wrote:
> Thus, I see two things that parted can do:  It can either use the gcc
> constructor/destructor extension or it can allow nested calls to the
> ped_init/ped_done routines.  Personally, I prefer the former.

Is it possible to do ld magic to dynamically load/unload libparted?
If, say RH use libparted in their installer, can they get rid of it
after they've finished with partitioning?

Also, an exception might be thrown during initialization... there would
be no way to set the exception handler before initialization.  So,
the vanilla default handler (writes to stdout) would have to do.

The only exceptions that should be thrown are bugs, or possibly errors
loading modules, so that should be no problem...

Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]