#55 Issue closed: Make component-prefix mandatory in layout code

Labels: enhancement, needs sponsorship

dagwieers opened issue at 2012-04-05 13:15:

Currently the EXCLUDE_* variables only require a component-prefix in those cases where it is ambiguous. By requiring all components to be prefixed, we remove the inconsistency from the syntax.So instead of /dev/vg_data, it would become vg:vg_data

Example:

EXCLUDE_BACKUP=( "fs:/data" )
EXCLUDE_RECREATE=( "vg:vg_san" )
EXCLUDE_RESTORE=( "fs:/tmp" )

PS This affects #54

gdha commented at 2013-10-02 07:02:

@jhoekx as far I can see in the current code "fs:/mnt-point" is already being processed by the exclude code parts:
./layout/prepare/default/61_exclude_from_restore.sh, ./layout/save/default/34_generate_mountpoint_device.sh

However, I couldn't find a link to "vg:vg_san" (guessing in ./layout/save/default/31_include_exclude.sh)
Am I missing something? Or can we close this issue?

gdha commented at 2015-08-10 12:25:

@dagwieers @jhoekx Do you still see the need of this request, or can we close it?

gdha commented at 2016-02-05 15:43:

Re-open this issue when we found a sponsor to implement this missing feature


[Export of Github issue for rear/rear.]