[parted-devel] [PATCH v2 0/2] libparted: enhanced s390 DASD probing
Hendrik Brueckner
brueckner at linux.vnet.ibm.com
Thu Sep 17 13:33:27 UTC 2015
The current fdasd code present in parted prevents DASDs attached
non-natively, for example, through virtblk, from being recognized
as such and, thus, prevent proper partitioning.
The following changes are implemented in this series:
1. Update parted with fdasd.c code from s390-tools to not rely on
the DASD specific ioctl's anymore.
2. Adapt the parted code to be able to handle disks in DASD format
irrespective of the used block device driver.
3. Add protection against messing up non-DASD block devices through
better error checking.
Changes in the v2 series:
- Use translatable strings and enhanced error handling.
- Avoid API changes
Viktor Mihajlovski (2):
fdasd: geometry handling updated from upstream s390-tools
dasd: enhance device probing
include/parted/fdasd.in.h | 4 +-
libparted/arch/linux.c | 85 +++++++++++++++++++----
libparted/device.c | 14 +---
libparted/labels/dasd.c | 18 ++---
libparted/labels/fdasd.c | 166 +++++++++++++++++++++++++++++++--------------
5 files changed, 201 insertions(+), 86 deletions(-)
More information about the parted-devel
mailing list