[rear-devel] [rear/rear] 49a6d0: Update rear
Johannes Meixner
noreply at github.com
Wed Dec 9 15:00:33 CET 2020
Branch: refs/heads/jsmeix-USB-filesystem-module
Home: https://github.com/rear/rear
Commit: 49a6d07234c76e6776074ee45b5a439389d542a7
https://github.com/rear/rear/commit/49a6d07234c76e6776074ee45b5a439389d542a7
Author: Johannes Meixner <jsmeix at suse.com>
Date: 2020-12-09 (Wed, 09 Dec 2020)
Changed paths:
M usr/sbin/rear
Log Message:
-----------
Update rear
Introduce DEBUG_OUTPUT_DEV in sbin/rear
(same kind as DISPENSABLE_OUTPUT_DEV)
so that it is now possible to have program output in the log
only in debug modes in particular when that program output
might needlessly alert the user like error messages when they appear
in non-debug modes without additional debug information that make it clear
where the messages belong to and whether or not there is actually a problem.
For a usage example see in prep/USB/default/380_copy_usb_fs_module.sh
"if modinfo "$usb_fs" 1>/dev/null 2>>/dev/$DEBUG_OUTPUT_DEV ; then ..."
where modinfo stderr could be like "modinfo: ERROR: Module ... not found"
which is not at all an error here because here 'modinfo' is used to only find out
if something is available as kernel module so failures are an expected behaviour.
More information about the rear-devel
mailing list