1N/A libparted - a library for manipulating disk partitions 1N/A Copyright (C) 1999-2002, 2007-2010 Free Software Foundation, Inc. 1N/A This program is free software; you can redistribute it and/or modify 1N/A it under the terms of the GNU General Public License as published by 1N/A the Free Software Foundation; either version 3 of the License, or 1N/A (at your option) any later version. 1N/A This program is distributed in the hope that it will be useful, 1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1N/A GNU General Public License for more details. 1N/A You should have received a copy of the GNU General Public License 1N/A * \addtogroup PedDisk 1N/A /* This flag (which defaults to true) controls if disk types for 1N/A which cylinder alignment is optional do cylinder alignment when a 1N/A new partition gets added. 1N/A This flag is available for msdos and sun disklabels (for sun labels 1N/A it only controls the aligning of the end of the partition) */ 1N/A * \addtogroup PedPartition 1N/A * PedPartition structure represents a partition. 1N/A /**< the partition table of the partition */ 1N/A /**< the partition number: In Linux, this is the 1N/A same as the minor number. No assumption 1N/A should be made about "num" and "type" 1N/A - different disk labels have different rules. */ 1N/A PED_PARTITION_LOGICAL, PED_PARTITION_EXTENDED, 1N/A PED_PARTITION_METADATA 1N/A and PED_PARTITION_FREESPACE. 1N/A Both the first two, and the last two are 1N/A An extended partition is a primary 1N/A partition that may contain logical partitions. 1N/A There is at most one extended partition on 1N/A A logical partition is like a primary 1N/A partition, except it's inside an extended 1N/A partition. Internally, pseudo partitions are 1N/A allocated to represent free space, or disk 1N/A label meta-data. These have the 1N/A PED_PARTITION_FREESPACE or 1N/A PED_PARTITION_METADATA bit set. */ 1N/A /**< The type of file system on the partition. NULL if unknown. */ 1N/A /**< Only used for an extended partition. The list of logical 1N/A partitions (and free space and metadata within the extended 1N/A * \addtogroup PedDisk 1N/A * Represents a disk label (partition table). 1N/A partition table lies */ 1N/A ped_disk_next_partition() */ 1N/A/* office use only ;-) */ 1N/A partitions, for easier 1N/A /* disk label operations */ 1N/A /** \todo add label guessing op here */ 1N/A /* partition operations */ 1N/A const char*
name;
/**< the name of the partition table type. 1N/A \todo not very intuitive name */ 1N/A * Architecture-specific operations. i.e. communication with kernel (or 1N/A * whatever) about changes, etc. 1N/A * \addtogroup PedPartition 1N/A * \addtogroup PedDisk 1N/A/* internal functions */ 1N/A * \addtogroup PedPartition 1N/A#
endif /* PED_DISK_H_INCLUDED */