Bug 178311
| Summary: | unallowed \r escape sequence | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Josep Puigdemont <jopu> |
| Component: | diskdumputils | Assignee: | Akira Imamura <aimamura> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | anderson, ktokunag, lwang, ntachino |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-24 20:07:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Josep Puigdemont
2006-01-19 11:55:00 UTC
I presume that the "\r" usage was done intentionally, and that
the subsequent $SAVECORE command output is supposed to over-write
the "Saving panic..." string:
swapsavecore() {
for dev in $(echo $DEVICE | tr ':' ' '); do
$DISKDUMPFMT -c $dev 2> /dev/null
if [ $? -eq 6 ]; then
echo -e $"Saving panic dump from swap partition:\r" >&2
$SAVECORE -D -p $dev
RETVAL=$?
echo -ne "\r" >&2
fi
done
}
As Dave said, the "\r" usage was done intentionally. It is required so as to show
a progress bar of savecore appropriately. If not "\r" but "\n" is used as
an escape sequence, then users see the following messages.
Saving panic dump from swap partition:
###############
Although the diskdumputils package is included in FC, diskdump facility isn't included in FC's kernel. Consequently, if this bug is for FC, then I won't fix anything because diskdump doesn't work with FC due to the above reason. I don't think anyone could see the message which was written in comment #2. Regards, Akira I won't fix anything due to the following reasons, so I close this BZ. - Although this does not affect to anything, many modifications will be required. |