summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/mac.pm
Commit message (Collapse)AuthorAgeFilesLines
* Ensure the kernel doesn't rescan a partially written partition table ↵Martin Whitaker2017-02-251-1/+1
| | | | | | | | | | | | | | | | | | | (mga#20074). When no partitions on a DOS-partitioned disk are mounted, the kernel automatically rescans the partition table when the file handle to the raw device is released. Currently the code opens and closes the raw device when writing the primary partition table and when writing each extended partition table segment. As the extended partition table segments form a linked list, this allows the kernel to get in and rescan the table when the list is not in a coherent state. This patch changes the code to open the raw device before writing the primary partition table and to close it only after writing the last extended partition table segment. The behaviour for other partition table types is unchanged. v2 (tvignaud): simplify by moving copies of noop funcs into the base class
* kill $Id:$ tagsThierry Vignaud2014-06-071-1/+1
| | | | they're obsolete since switching from CVS/SVN to git...
* 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 ------------------------------------------------------------------------
* rename ->read to ->read_onePascal Rigaux2007-09-181-1/+1
|
* transform ->clear_raw into the more generic ->initializePascal Rigaux2007-09-181-3/+4
| | | | | (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
* re-sync after the big svn lossPascal Rigaux2007-04-251-2/+2
|
* don't need prefixing with current packagePascal Rigaux2005-06-091-1/+1
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-1/+1
|
* add some ";", remove some ";", as told by perl_checkerPascal Rigaux2004-11-181-5/+5
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-8/+9
| | | | | | | | | | | | | | | | | | | | {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-20/+20
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* perl_checker compliancePascal Rigaux2004-01-061-1/+1
|
* perl_checker fixesPascal Rigaux2004-01-051-1/+0
|
* new perl_checker compliancePascal Rigaux2003-04-171-1/+1
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-041-2/+2
|
* do not use "local *F"Pascal Rigaux2002-12-041-19/+19
|
* make perl_checker happyPascal Rigaux2002-11-141-1/+1
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-1/+1
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add/remove spaces to make perl_checker happyPascal Rigaux2002-11-131-1/+1
|
* add/remove some spaces to make perl_checker happyPascal Rigaux2002-11-121-1/+1
|
* - do not use "foreach $var (...) {...}" use "foreach my $var (...) {...}" ↵Pascal Rigaux2002-11-111-5/+3
| | | | | | | | instead (only pb are functions called in {...} that could use $var, none found except in commands.pm) - various small syntax enhancements to please perl_checker
* Help "perl -cw" not reporting any warningPascal Rigaux2002-07-251-8/+5
| | | | | | - for mac free partition, use $freepart instead of $freepart_device, $freepart_size ... - replace $timezone::ntp_servers by a function
* g Move 2: partition table: hierarchyThierry Vignaud2002-07-231-0/+398