Changeset 4b6635a7 in mainline for uspace/lib/fdisk/include
- Timestamp:
- 2015-10-12T15:42:23Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- edebb4a1
- Parents:
- 6a0db524
- Location:
- uspace/lib/fdisk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fdisk/include/fdisk.h
r6a0db524 r4b6635a7 71 71 extern int fdisk_cap_parse(const char *, fdisk_cap_t *); 72 72 extern int fdisk_ltype_format(label_type_t, char **); 73 extern int fdisk_fstype_format( fdisk_fstype_t, char **);73 extern int fdisk_fstype_format(vol_fstype_t, char **); 74 74 extern int fdisk_pkind_format(label_pkind_t, char **); 75 75 -
uspace/lib/fdisk/include/types/fdisk.h
r6a0db524 r4b6635a7 41 41 #include <stdint.h> 42 42 #include <types/label.h> 43 #include <types/vol.h> 43 44 #include <vbd.h> 44 45 #include <vol.h> … … 57 58 58 59 #define CU_LIMIT (cu_ybyte + 1) 59 60 /** File system type */61 typedef enum {62 fdfs_none = 0,63 fdfs_unknown,64 fdfs_exfat,65 fdfs_fat,66 fdfs_minix,67 fdfs_ext468 } fdisk_fstype_t;69 70 /** Highest fstype value + 1 */71 #define FDFS_LIMIT (fdfs_ext4 + 1)72 /** Lowest fstype allowed for creation */73 #define FDFS_CREATE_LO fdfs_exfat74 /** Highest fstype allowed for creation + 1 */75 #define FDFS_CREATE_HI (fdfs_ext4 + 1)76 60 77 61 /** Partition capacity */ … … 143 127 /** Partition kind */ 144 128 label_pkind_t pkind; 129 /** Partition contents */ 130 vol_part_cnt_t pcnt; 145 131 /** File system type */ 146 fdisk_fstype_t fstype;132 vol_fstype_t fstype; 147 133 /** Partition ID */ 148 134 vbd_part_id_t part_id; … … 153 139 /** Number of blocks */ 154 140 aoff64_t nblocks; 141 /** Service ID */ 142 service_id_t svc_id; 155 143 } fdisk_part_t; 156 144 … … 162 150 label_pkind_t pkind; 163 151 /** File system type */ 164 fdisk_fstype_t fstype;152 vol_fstype_t fstype; 165 153 } fdisk_part_spec_t; 166 154 … … 171 159 /** Partition kind */ 172 160 label_pkind_t pkind; 161 /** Partition contents */ 162 vol_part_cnt_t pcnt; 173 163 /** File system type */ 174 fdisk_fstype_t fstype;164 vol_fstype_t fstype; 175 165 } fdisk_part_info_t; 176 166
Note:
See TracChangeset
for help on using the changeset viewer.