Changeset 6bc542b in mainline for uspace/lib/c/include/vbd.h


Ignore:
Timestamp:
2015-07-02T21:53:12Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99c23405
Parents:
6a0d4ce2
Message:

Allocate and create partition with libfdisk (except actual modification of on-disk label).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/vbd.h

    r6a0d4ce2 r6bc542b  
    5959} vbd_disk_info_t;
    6060
     61/** Specification of new partition */
    6162typedef struct {
     63        /** Partition index */
     64        int index;
     65        /** First block */
     66        aoff64_t block0;
     67        /** Number of blocks */
     68        aoff64_t nblocks;
     69        /** Partition type */
     70        uint64_t ptype;
    6271} vbd_part_spec_t;
    6372
     73/** Partition info */
    6474typedef struct {
    6575        /** Partition index */
Note: See TracChangeset for help on using the changeset viewer.