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

Re: [Libguestfs] [PATCH] NEW API: mktemp



On 10/15/2012 04:11 PM, Richard W.M. Jones wrote:
> On Mon, Oct 15, 2012 at 09:10:23AM +0100, Richard W.M. Jones wrote:
>> It all seems good.  What would be the real killer feature would be
>> some sort of 'cleanup' flag which removes the file/directory when the
>> daemon exits ...
> 
> Although the implementation would be hard, because you
> wouldn't necessarily know that the filesystem was still mounted.

Yeah, and I think the "cleanup" feature is not needed by "mktemp" command.
BTW, the temporary dir/file can't be removed automatically?

Thanks,
Wanlong Gao

> 
> Rich.
> 


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