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 659300 Details for
Bug 707027
RFE: Installation on Z/VM EDEV failed during format
[?]
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.
parted-3.1-libparted-mklabel-edev.patch
parted-3.1-libparted-mklabel-edev.patch (text/plain), 1.46 KB, created by
IBM Bug Proxy
on 2012-12-07 11:02:21 UTC
(
hide
)
Description:
parted-3.1-libparted-mklabel-edev.patch
Filename:
MIME Type:
Creator:
IBM Bug Proxy
Created:
2012-12-07 11:02:21 UTC
Size:
1.46 KB
patch
obsolete
>Subject: [PATCH] libparted: mklabel to support EDEV DASD > >From: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com> > >Fixed Block Access (FBA) DASDs are mainframe-specific disk devices >which are layed out as a sequence of 512-byte sectors. This patch adds >support for mklabel to properly handle FBA devices. > >Signed-off-by: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com> >--- > libparted/labels/fdasd.c | 24 +++++++++++++----------- > 1 file changed, 13 insertions(+), 11 deletions(-) > >--- a/libparted/labels/fdasd.c >+++ b/libparted/labels/fdasd.c >@@ -869,19 +869,21 @@ fdasd_check_volume (fdasd_anchor_t *anc, > vtoc_read_volume_label (fd, anc->label_pos, v); > > if (strncmp(v->vollbl, vtoc_ebcdic_enc ("VOL1", str, 4), 4) == 0) { >- /* found VOL1 volume label */ >- b = (cchhb2blk (&v->vtoc, &anc->geo) - 1) * anc->blksize; >+ if (anc->FBA_layout != 1 ) { >+ /* found VOL1 volume label */ >+ b = (cchhb2blk (&v->vtoc, &anc->geo) - 1) * anc->blksize; > >- if (b > 0) { >- int rc; >- rc = fdasd_valid_vtoc_pointer (anc, b, fd); >+ if (b > 0) { >+ int rc; >+ rc = fdasd_valid_vtoc_pointer (anc, b, fd); > >- if (rc < 0) >- return 1; >- else >- return 0; >- } else { >- fdasd_invalid_vtoc_pointer(anc); >+ if (rc < 0) >+ return 1; >+ else >+ return 0; >+ } else { >+ fdasd_invalid_vtoc_pointer(anc); >+ } > } > } else if (strncmp (v->volkey, vtoc_ebcdic_enc ("LNX1", str, 4), 4) == 0 || > strncmp (v->volkey, vtoc_ebcdic_enc ("CMS1", str, 4), 4) == 0) {
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 Raw
Actions:
View
Attachments on
bug 707027
:
617070
| 659300