Ignore:
Timestamp:
2015-10-21T09:27:06Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
852664b9
Parents:
68b5dd11
Message:

Suggest maximum available free space as the default for partition size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fdisk/include/types/fdisk.h

    r68b5dd11 rb598460a  
    4545#include <vol.h>
    4646
     47/** Capacity unit */
    4748typedef enum {
    4849        cu_byte = 0,
     
    5657        cu_ybyte
    5758} fdisk_cunit_t;
     59
     60typedef enum {
     61        /** Primary partition space */
     62        spc_pri,
     63        /** Logical partition space */
     64        spc_log
     65} fdisk_spc_t;
    5866
    5967/** Fdisk device flags */
     
    177185} fdisk_part_info_t;
    178186
     187/** Free range iterator */
     188typedef struct {
     189        /** Device */
     190        fdisk_dev_t *dev;
     191        /** Primary or logical partition space */
     192        fdisk_spc_t spc;
     193        /** First block of free range */
     194        aoff64_t b0;
     195        /** Next partition following the free range or @c NULL if the range
     196          * is at the end. */
     197        fdisk_part_t *npart;
     198} fdisk_free_range_t;
     199
    179200/** Fdisk instance */
    180201typedef struct fdisk {
Note: See TracChangeset for help on using the changeset viewer.