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

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



On Wed, Oct 17, 2012 at 03:32:46PM +0800, Wanlong Gao wrote:
> 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?

No, I'll apply it today.

I don't think the "cleanup" flag can be implemented (unfortunately).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


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