[Libguestfs] [PATCH] NEW API: mktemp

Wanlong Gao gaowanlong at cn.fujitsu.com
Mon Oct 15 08:17:27 UTC 2012


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.
> 




More information about the Libguestfs mailing list