summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/gpt.pm
Commit message (Collapse)AuthorAgeFilesLines
* Speed up reading of flags from GPT partition table.Martin Whitaker2015-04-191-4/+4
| | | | | | | | On some machines, calls to ped_disk_new() in libparted take of the order of seconds, so doing this for each flag and partition in turn makes partition_table::gpt::read_one take an inordinate amount of time (mga#15621). Instead, collect the flags during the call to c::get_disk_partitions.
* really try to detect recovery partitions on GPTThierry Vignaud2015-04-031-1/+1
| | | | fix "set_partition_flag: unknown type: recovery" (mga#15621)
* try to detect recovery partitions on GPTThierry Vignaud2015-03-301-0/+2
|
* fix retrieving ntfs partitions s/ntfs/ntfs-3g/Thierry Vignaud2015-03-271-0/+1
|
* really fix retrieving swap partition typeThierry Vignaud2015-03-271-1/+1
| | | | Thomas rushed to push before I run perl_checker... :-(
* fix fs_type returned by libparted for swapsThierry Vignaud2015-03-271-0/+1
|
* log which type is unknownThierry Vignaud2015-03-271-1/+1
|
* fix tagging LVM/raid as "linux filesystem" with GPTThierry Vignaud2015-03-271-2/+10
|
* fix tagging ntfs-3g as "linux filesystem" with GPTThierry Vignaud2015-03-271-0/+1
| | | | libparted needs it to be named like this in order to put the right
* fix tagging swap as "linux filesystem" with GPTThierry Vignaud2015-03-271-0/+1
| | | | | libparted needs it to be named like this in order to put the right GUID...
* fix retrieving LVM/RAID partition typeThierry Vignaud2015-03-271-0/+4
| | | | simimar to commit ee22664bcb1fdedece15e07d047ba86f3d791ee6
* make it more genericThierry Vignaud2015-03-271-1/+1
| | | | just bind the libparted function (needed for next commit)
* perl_checker cleanupThierry Vignaud2015-03-251-1/+1
|
* log which partition we fail to addThierry Vignaud2015-03-251-2/+2
|
* set proper GUID to ESP partitions with GPT layoutThierry Vignaud2015-03-251-1/+6
|
* fix retrieving ESP partition typeThierry Vignaud2015-03-251-1/+5
| | | | | | | | | ESP are the only partitions we're detecting through their pt_type (modulo 0x12 which was Compaq Diagnostic & unlikely to be found on GPT...) However GPT has no equivalent to pt_type But we can test for ESP flag
* use a proper interface between parted/perl worldsThierry Vignaud2015-03-251-11/+2
| | | | | | | | | | | | | create directly the hash in XS instead of instead of sprintf()ing it into a string which was then parsed in perl in order to actually create the hash this fixes several issues: - due to adding some fields to the string under if (), we could silently have ignored some partitions - this also simplifies adding further fields
* fix retrieving partitionThierry Vignaud2015-03-251-2/+2
| | | | | | | needed for next commit also we were passing '' as fs_type to c::disk_add_partition() $part was undef since commit 9e6b327ca2b1f46db62e0811fabf0a6cf0b114a7
* Do not try to delete partitions if the partition table was overwrittenPascal Terjan2015-02-041-1/+4
|
* perl_checker cleanupThierry Vignaud2015-02-041-1/+1
|
* Fix partition number in GPT for empty disksPascal Terjan2015-02-031-1/+2
|
* Fix GPT initialization on empty diskPascal Terjan2015-02-031-1/+5
|
* add GPT partition GUID tableThomas Backlund2014-12-221-0/+90
|
* kill $Id:$ tagsThierry Vignaud2014-06-071-1/+1
| | | | they're obsolete since switching from CVS/SVN to git...
* (read_one) better error message (more info)Thierry Vignaud2012-04-071-1/+1
|
* SimplifyPascal Terjan2012-04-071-19/+13
|
* Fix partition numbering on GPT (mga#3091)Pascal Terjan2012-04-051-9/+14
|
* perl_checker hintsThierry Vignaud2011-12-191-2/+2
|
* (read_one) kill Dumper warningThierry Vignaud2011-12-171-3/+0
| | | | (present since "Rewrite gpt support with libparted" (pterjan, 2009-01-27))
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* Rewrite gpt support with libpartedPascal Terjan2009-01-271-228/+38
|
* - partitioning wizard lirary: Pascal Rigaux2008-03-251-0/+1
| | | | | | | o allow "Use free space" if there is an extended partition even if all primary partitions are used (#38804) (*old* bug!)
* rename ->read to ->read_onePascal Rigaux2007-09-181-1/+1
|
* transform ->clear_raw into the more generic ->initializePascal Rigaux2007-09-181-4/+5
| | | | | (useful to have a more standard partition_table::lvm)
* - diskdrake:Pascal Rigaux2007-08-081-0/+2
| | | | | | | | o do not show partition types which have no associated filesystem for LVM LV (#32326) nb: we still would need to have pt_type per partition_table types
* add some "use xxx;" (the idea is to see what the package needs, but i may ↵Pascal Rigaux2005-06-101-0/+1
| | | | rollback after understanding better dependencies)
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-2/+2
|
* add some ";", remove some ";", as told by perl_checkerPascal Rigaux2004-11-181-2/+2
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-2/+2
| | | | | | | | | | | | | | | | | | | | {pt_type} is always a number, {fs_type} is always a string - introduce set_isFormatted() (to ensure {notFormatted} but also {fs_type_from_magic} and {bad_fs_type_magic} are updated) - don't use 0x483 for ext3 anymore (same for reiserfs...), the type_name gives both a pt_type and a fs_type - many accessors from partition_table removed (type2fs(), fs2pt_type()) - remove isThisFs() (not useful anymore since we can use directly {fs_type}) - remove isFat() (inline the function) - other isXXX() from partition_table are moved to fs::type - part2name() is now fs::type::part2type_name - name2pt_type() is now fs::type::type_name2subpart() - partition_table::important_types() is now fs::type::type_names() - fsedit::typeOfPart() is now fs::type::fs_type_from_magic() - no need to truncate type_name since they are shorter
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-8/+8
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-1/+1
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-2/+1
|
* fix typo ($hd is not available in read_header(), so don't use it)Pascal Rigaux2002-12-041-1/+1
|
* do not use "local *F"Pascal Rigaux2002-12-041-18/+16
|
* perl_checker adaptationsPascal Rigaux2002-11-271-2/+2
|
* make perl_checker happyPascal Rigaux2002-11-141-1/+1
|
* g Move 2: partition table: hierarchyThierry Vignaud2002-07-231-0/+266