[CRIU] [PATCHv0 1/1] tmpfiles: implement user tmp files feature

Batalov Eugene eabatalov89 at gmail.com
Thu Dec 24 02:34:57 PST 2015


We'll discuss this with Svyatoslav after he passes his exams at university.
That'll be at about 20th of January.

2015-12-24 13:15 GMT+03:00 Pavel Emelyanov <xemul at parallels.com>:

> On 12/21/2015 11:06 AM, Andrew Vagin wrote:
> > On Sun, Dec 20, 2015 at 08:35:50PM +0300, Eugene Batalov wrote:
> >> From: Svyatoslav Vlasov <svloyso at gmail.com>
> >>
> >> Add new command line option --tmp-file, which allows user to
> >> add files that can be lost between checkpoint and restore to the dump.
> >> User files are stored in .tar.gz archive.
> >> Tar command does all the file paths and attributes related work.
> >
> > I think we don't need this option in CRIU. If you don't snapshot a file
> > system, a problem with tmp files is only one of your problems
> >
> > I think not many users use CRIU directly and you call CRIU from scriptrs
> > or other programs, you can use post-dump and pre-restore to restore all
> > required files.
>
> OK, makes sense. But since this is quite generic feature, I think it
> makes sense just to provide such a script (in scripts/) directory with
> a help text how to feed one to criu dump/restore actions and the list
> of files to be taken into the script.
>
> Eugene, Svyatoslav, would you rework the patch accordingly?
>
> -- Pavel
>
>


-- 
Best regards,
Eugene Batalov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151224/3da05bb1/attachment.html>


More information about the CRIU mailing list