summaryrefslogtreecommitdiff
path: root/include/parted
diff options
context:
space:
mode:
authorNageswara R Sastry <rnsastry@linux.vnet.ibm.com>2013-08-21 16:09:56 -0700
committerBrian C. Lane <bcl@redhat.com>2014-04-29 11:40:04 -0700
commitf70ff1fc474764c3a71318ddb4e0d26afc52ac47 (patch)
treecde81b9aee3f47b6f0bca53f5269663a2e7aa1e8 /include/parted
parent80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12 (diff)
downloadparted-f70ff1fc474764c3a71318ddb4e0d26afc52ac47.tar.gz
libparted: add support for implicit FBA DASD partitions
Fixed Block Access (FBA) DASDs are mainframe-specific disk devices which are layed out as a sequence of 512-byte sectors. In contrast to ECKD DASDs, these disks do not require formatting and resemble the LBA layout of non-mainframe disks. Despite this resemblance, the Linux kernel applies special handling during partition detection for FBA DASDs, resulting in a single, immutable partition being reported. While actual FBA DASD hardware is no longer available, the z/VM hypervisor can simulate FBA DASD disks, backed by either ECKD or SCSI devices. This patch adds support for recognizing FBA DASD partitions to parted. Signed-off-by: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Diffstat (limited to 'include/parted')
-rw-r--r--include/parted/fdasd.in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/parted/fdasd.in.h b/include/parted/fdasd.in.h
index ac30134..a755246 100644
--- a/include/parted/fdasd.in.h
+++ b/include/parted/fdasd.in.h
@@ -194,6 +194,8 @@ typedef struct fdasd_anchor {
volume_label_t *vlabel;
config_data_t confdata[USABLE_PARTITIONS];
struct fdasd_hd_geometry geo;
+ unsigned int label_block;
+ unsigned int FBA_layout;
} fdasd_anchor_t;
enum offset {lower, upper};