Commit graph

5 commits

Author SHA1 Message Date
Karel Zak
e69f2b0c1a fdisk: add support for the Xtensa architecture
Based on patch from Chris Zankel <chris@zankel.net>.

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-30 15:18:22 +01:00
Marcin Juszkiewicz
6d9bbf886a fdisk: add AArch64 support
Attached patch fixed build problem when util-linux is built for AArch64
architecture.
2012-10-09 12:12:48 +02:00
Karel Zak
749af4b609 fdisk: move partition types to label specific part
- move MBR partition types to dos_part_types.h
 - make dos_part_types.h independent on datetypes to keep it useful in
   all fdisks
 - add struct fdisk_parrtype
 - move label specific partition types to context->label

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-09-27 13:38:13 +02:00
Davidlohr Bueso
b8855c868f fdisk: API: add label probing functionality
This patch sets the initial layout for label specific operations. A
new fdisk_label structure is created that will hold all these ops,
like new, delete, write and probe, among others. For now only probing
is implemented. Once this design is established, a copy of the probed
label will be copied to the main context structure, where calling the
specific functions will save 'disklabel' checks. Debugging support is
added as well.

This patch passes regression tests and manually passes bsd, sun, dos
and sgi labels probes.

Reviewed-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2012-07-16 17:59:52 +02:00
Karel Zak
50ea679509 build-sys: rename fdisk -> fdisks/, convert to module
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26 20:50:53 +02:00
Renamed from fdisk/fdiskbsdlabel.h (Browse further)