#1626 PR merged: exclude REAR-000 and ESP from df.txt

Labels: enhancement, fixed / solved / done

ProBackup-nl opened issue at 2017-12-07 12:51:

There is no purpose of including the target device in df.txt
Removing that section makes the df.txt better human readable.

TODO#1: only for USB workflow?
TODO#2: make the EFI partition optional (only needed when the target (USB) device contains an EFI partition).
TODO#3: improve line breaking

jsmeix commented at 2017-12-07 13:35:

@ProBackup-nl
this enhancement looks good but we are currently
in code freeze for the ReaR 2.3 release where we
only fix real bugs so that I postpone it for the next
ReaR 2.4 release.

gdha commented at 2018-01-02 16:59:

@jsmeix the egrep --invert-match will it work on SLES 10? I think so, but just want to double check.

jsmeix commented at 2018-01-05 10:28:

@gdha
thanks for your careful consideration of backward compatibility!

I can confirm that egrep --invert-match works on SLES10:

# cat /etc/issue
Welcome to SUSE Linux Enterprise Server 10 SP4  (x86_64)

# echo -e 'foo\nbar\nbaz' | egrep --invert-match 'baz|foo'
bar

# man grep
...
-v, --invert-match
Invert the sense of matching, to select non-matching lines.

[Export of Github issue for rear/rear.]