[Top][All Lists]

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

Re: [patch] ped_device_from_store

From: Andrew Clausen
Subject: Re: [patch] ped_device_from_store
Date: Thu, 23 Aug 2001 10:03:15 +1000
User-agent: Mutt/1.2.5i

On Tue, Aug 21, 2001 at 01:23:23AM +0200, Neal H Walfield wrote:
> Here is an implementation of ped_device_new_from_store.  I have drawn
> the following conclusions, which I find quite reasonable:
>       o ped_device_{open,close} drop local resources, i.e. those that
>         can be easily recreated given a few parameters.  For instance,
>         we can easily get another file descriptor if we have the path
>         name.
>       o ped_device_{new,destroy}: Drop all resources owned by
>         libparted.  This frees everything that libparted owns including
>         the buffer holding the filename.  We cannot reopen this
>         without the help of parted (i.e. the user of libparted).

Looks sane, thanks :)

> Correct me if I am wrong.  And if you think that these are right, please
> formalize them in doc/API.



reply via email to

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