Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=d91ebf1b451e123a49dfa04c7c5ff2bee88a23a7
commit d91ebf1b451e123a49dfa04c7c5ff2bee88a23a7 Author: James Buren <[email protected]> Date: Sun Sep 9 02:54:46 2012 -0500 add basic partitioning structs diff --git a/src/local.h b/src/local.h index 95a69d0..8b09ca8 100644 --- a/src/local.h +++ b/src/local.h @@ -28,6 +28,42 @@ struct global bool netinstall; }; +struct device +{ + char *path; + long long sectorsize; + long long alignment; + long long sectors; + bool disk; + bool raid; + bool lvm; + bool dos; + bool gpt; + void *table; +}; + +struct dospartition +{ + long long number; + long long start; + long long end; + long long sectors; + bool active; + unsigned char type; +}; + +struct gptpartition +{ + long long number; + long long start; + long long end; + long long sectors; + unsigned long long flags; + char *type; + char *name; + char *uuid; +}; + struct install { char *name; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
