struct partition_t {
struct partition_t* next;
int part_number;
- char part_name[MAX_PART_NAME];
+ char part_type[MAX_PART_NAME];
+ char part_name[MAX_PART_NAME];
unsigned long part_start; /* In blocks */
unsigned long part_size; /* In blocks */
unsigned short blocksize;
};
extern struct partition_t* partitions_lookup(const char *device);
+extern char *get_part_type(char *device, int partition);
extern void partitions_free(struct partition_t* list);
-
-
#endif