[rear-users] Running rear 1.17.2 on Debian Etch

Schlomo Schapiro schlomo at schapiro.org
Tue Dec 15 10:28:16 CET 2015


Hi Larry,

according to
https://github.com/rear/rear/commit/a7e001ef10f3a3dd95247ac8954097c270aeda26
we fixed this a few days ago.

Could you please check again with a snapshot build (e.g. from
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear:/Snapshot/Debian_7.0/
).

Kind Regards,
Schlomo

On 11 December 2015 at 21:45, Larry Irwin (work) <larry.irwin at ccamedical.com
> wrote:

> Hi All,
>
> With OUTPUT=USB using rear 1.17.2 on Debian Etch:
>
> Making a rescue disk fails due to grep not having a "-P" option.
> egrep can be used, though the -P option there isn't working properly, so
> the search content has to change from perl to shell.
>
> The following four entries utilized grep -P and have my suggested use of
> egrep and shell regexp as a substitute.
>
> layout/save/default/31_autoexclude_usb.sh
> local usb_mntpt=$(egrep "^$REAL_USB_DEVICE " /proc/mounts | cut -d" " -f2
> | tail -1)
>
> output/USB/Linux-i386/30_create_extlinux.sh
> strings $file | egrep -m1 "^EXTLINUX |^SYSLINUX " | cut -d' ' -f2
>
> output/USB/Linux-i386/85_make_USB_bootable.sh
> usb_filesystem=$(egrep "^$USB_DEVICE|^$REAL_USB_DEVICE" /proc/mounts | cut
> -d' ' -f3 | tail -1)
>
> prep/USB/Linux-i386/35_check_usb_disk.sh
> StopIfError "USB device '$USB_DEVICE' is already mounted on $(egrep
> "^$REAL_USB_DEVICE " /proc/mounts | cut -d' ' -f2 |tail -1)"
>
> Enjoy!
> Larry
>
> --
> Larry Irwin
> V.P. Development
> CCA Medical
> Ph: 864-233-2700 ext 225
> Fax: 864-271-1755
> Cell: 864-525-1322
> Email: larry.irwin at ccamedical.com
>
> _______________________________________________
> rear-users mailing list
> rear-users at lists.relax-and-recover.org
> http://pikachu.3ti.be/mailman/listinfo/rear-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pikachu.3ti.be/pipermail/rear-users/attachments/20151215/1b75eef7/attachment.html>


More information about the rear-users mailing list