Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1453297 Details for
Bug 1593451
growpart fails when partition start sector is the same as partition size
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patchfile
growpart.patch (text/plain), 694 bytes, created by
John Pittman
on 2018-06-20 21:13:09 UTC
(
hide
)
Description:
patchfile
Filename:
MIME Type:
Creator:
John Pittman
Created:
2018-06-20 21:13:09 UTC
Size:
694 bytes
patch
obsolete
>--- /usr/bin/growpart 2017-04-19 09:54:39.000000000 -0400 >+++ growpart 2018-06-20 16:39:11.778681454 -0400 >@@ -314,9 +314,9 @@ > # now, change the size for this partition in ${dump_out} to be the > # new size > new_size=$((${max_end}-${pt_start})) >- sed "\|^\s*${dpart} |s/${pt_size},/${new_size},/" "${dump_out}" \ >- >"${new_out}" || >- fail "failed to change size in output" >+ >+ awk '$1=="'"${dpart}"'"{$6='"${new_size}"'","}1' "${dump_out}" > "${new_out}" || \ >+ fail "failed to change size in output" > > change_info="partition=${PART} start=${pt_start} old: size=${pt_size} end=${pt_end} new: size=${new_size},end=${max_end}" > if [ ${DRY_RUN} -ne 0 ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1593451
: 1453297