• Andrew Vagin's avatar
    mount: add support for external block devices · 022e3b9b
    Andrew Vagin authored
    The idea is to allow to dump and restore mounts of
    a specified block device.
    
    Options:
    dump:      --external dev[MAJOR:MINOR]:VAL
    restore:   --external dev[VAL]:DEVPATH
    
    If we find a mount with a specified block device, we
    set its type into FSTYPE__AUTO and write VAL into
    the "source" field.
    
    VAL is replaced on DEVPATH on restore.
    
    v2: use --ext-mount-map instead of --external on dump
    v3: clean up
    v4: use --external on dump and on restore
    v5: VAL:DEVPATH -> dev[VAL]:DEVPATH on restore
    Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    022e3b9b
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...