[CRIU] [PATCH 2/3] crtools: Introduce the --ext-mount option

Pavel Emelyanov xemul at parallels.com
Tue Jun 3 11:58:49 PDT 2014


On 06/03/2014 09:10 PM, Pavel Emelyanov wrote:
> On 06/03/2014 09:04 PM, Filipe Brandenburger wrote:
>> Hi Pavel,

>> Another option would be specific options such as --ext-mount-prepend
>> and --ext-mount-substitute so that you don't need to pack the fields
>> into a single one...
> 
> Agree, but then plain --ext-mount would be confusing in that case. If we
> chose to go this route then there probably should be --ext-mount for dump
> and --ext-mount-unchaged (or what?), --ext-mount-prepend and
> --ext-mount-substitute for restore.

I've just thought that all these options are superseded by a single
substitute one:

p<path> == s::<path>
<no-arg> == s::

So probably it makes sense just to make a single option requiring an
argument that will substitute prefixes in the mount point sources.

Thanks,
Pavel


More information about the CRIU mailing list