summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisksgilabel.h
Commit message (Collapse)AuthorAgeFilesLines
* libfdisk: add fdisk_partition_toggle_flag()Karel Zak2013-03-111-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add fdisk_get_partition_type()Karel Zak2012-09-271-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: move partition types to label specific partKarel Zak2012-09-271-1/+0Star
| | | | | | | | | | - 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>
* fdisk: API: add fdisk_label_changeDavidlohr Bueso2012-07-241-1/+0Star
| | | | | | | | [kzak@redhat.com: - rename function - remove fdisk_create_default_disklabel()] Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* fdisk: API: add verify to label operationsDavidlohr Bueso2012-07-241-1/+0Star
| | | | | | | [kzak@redhat.com: - rename some functions] Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: API: add new partition to label operationsDavidlohr Bueso2012-07-241-1/+0Star
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* fdisk: API: add write to label operationsDavidlohr Bueso2012-07-241-1/+0Star
| | | | | | | | [kzak@redhat.com: - rename functions - use errno] Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* fdisk: API: add delete partition to label operationsDavidlohr Bueso2012-07-231-1/+0Star
| | | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: rename cxt->mbr buffer to cxt->firstsectorKarel Zak2012-07-231-1/+1
| | | | | | | MBR is regular name for DOS partition table, let use less confusing name for the buffer. Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: API: add label probing functionalityDavidlohr Bueso2012-07-161-1/+0Star
| | | | | | | | | | | | | | | | 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>
* build-sys: rename fdisk -> fdisks/, convert to moduleKarel Zak2012-06-261-0/+137
Signed-off-by: Karel Zak <kzak@redhat.com>