[Libguestfs] [PATCH] NEW API: mktemp
Wanlong Gao
gaowanlong at cn.fujitsu.com
Wed Oct 17 07:32:46 UTC 2012
On 10/15/2012 04:17 PM, Wanlong Gao wrote:
> 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?
More comments?
Thanks,
Wanlong Gao
>
> Thanks,
> Wanlong Gao
>
>>
>> Rich.
>>
>
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs
>
More information about the Libguestfs
mailing list