summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
Commit message (Collapse)AuthorAgeFilesLines
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-133-8/+8
|
* - geometry XXX/240/63 is quite common, so add 240 to @valid_nb_headsPascal Rigaux2004-11-261-2/+2
| | | | | | | - remove checking that nb_heads is in @valid_nb_heads (this fixes yet another case of the infamous "XP doesn't boot" occuring 10.1 CE, though it should already be fixed via EDD)
* detect on lilo on floppy (bugzilla #12213)Pascal Rigaux2004-11-231-0/+1
|
* add some ";", remove some ";", as told by perl_checkerPascal Rigaux2004-11-183-8/+8
|
* empty partition table means sectors #0 and #1 are zeroes, not simply sector #0Pascal Rigaux2004-11-161-2/+2
| | | | | (this gives a chance to raw_lvm_PV which has its magic on sector #1)
* handle more nicely raw_lvm_PV (don't simply ignore them)Pascal Rigaux2004-11-161-39/+0
|
* fix yaboot detectionPascal Rigaux2004-11-161-1/+2
|
* don't die when failing to open a device (to get its geometry), skip it insteadPascal Rigaux2004-09-291-8/+15
| | | | | (as used to be done before partition_table::raw::get_geometries() was introduced)
* fix typosPascal Rigaux2004-09-271-2/+3
|
* simplify and handle LVM2, *but* since creating a LVM2 PV on a non partitionedPascal Rigaux2004-09-271-7/+2
| | | | | | | drive doesn't modify the MBR, it won't help if the MBR is empty or a valid dos partition table, since those are checked first... but i won't change this so late in the release cycle
* fail if legacy_sectors_per_track or legacy_max_head doesn't exist instead of ↵Pascal Rigaux2004-09-271-3/+4
| | | | returning garbage (bugzilla #11738)
* perl_checker compliancePascal Rigaux2004-09-271-1/+1
|
* don't call compute_nb_cylinders() before checking {sectors} and {heads} are ↵Pascal Rigaux2004-09-271-2/+2
| | | | valid
* remove the backtracePascal Rigaux2004-09-221-1/+1
|
* more loggingPascal Rigaux2004-09-221-1/+3
|
* try to get geometry from EDDPascal Rigaux2004-09-172-2/+61
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-275-14/+19
| | | | | | | | | | | | | | | | | | | | {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-056-49/+49
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-051-1/+1
|
* not guessing a geometry when default_ok is no big dealPascal Rigaux2004-03-181-1/+2
|
* add set_best_geometry_for_the_partition_table to use the hd geometry instead ↵Pascal Rigaux2004-03-172-14/+140
| | | | of the physical geometry returned by the kernel (since for now i can't have bios geometry on 2.6)
* - sector2CHS() now gives sector number starting at 0Pascal Rigaux2004-03-171-3/+3
| | | | | - CHS2rawCHS() takes care of giving sector number starting at 1
* - remove the use of BLKRRPART (telling the kernel to re-read the partition ↵Pascal Rigaux2004-01-151-15/+3
| | | | | | | | | table) in most cases - replace with tell_kernel() and will_tell_kernel() - correctly handle in standalone the need to reboot, with no way to forget it (telling the WM to quit nicely then call reboot when it's done)
* perl_checker compliancePascal Rigaux2004-01-061-1/+1
|
* perl_checker fixesPascal Rigaux2004-01-053-3/+1
|
* perl_checker fixesThierry Vignaud2003-05-233-10/+10
|
* perl_checker compliancePascal Rigaux2003-04-301-1/+1
|
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-1/+1
|
* new perl_checker compliancePascal Rigaux2003-04-174-6/+7
|
* (test_for_bad_drives): don't open in write mode when testingPascal Rigaux2003-02-221-1/+1
|
* to workaround perl bug removing UTF8 flag when passing scalars to die's, passGuillaume Cottenceau2003-02-191-1/+1
| | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
* add "OS/2 boot manager" (see bug #1338)Pascal Rigaux2003-02-111-0/+1
|
* English proofreading (first pass)Pablo Saratxaga2003-01-211-1/+1
|
* use internal_error instead of die for better error message (esp. backtrace)Pascal Rigaux2003-01-071-1/+1
|
* remove unused variables or rename them with an underscore (eg: $o becomes $_o)Pascal Rigaux2002-12-043-6/+5
|
* 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-048-81/+82
|
* perl_checker adaptationsPascal Rigaux2002-11-271-2/+2
|
* make perl_checker happyPascal Rigaux2002-11-143-3/+3
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-142-2/+2
| | | | | | - 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
|
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-112-3/+3
|
* - use "foreach" instead of "for" in list contextPascal Rigaux2002-11-111-1/+1
| | | | | - use "for" instead of "foreach" when used a la C
* - 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
* various small syntax enhancements to please perl_checkerPascal Rigaux2002-11-111-1/+1
|
* remove unneeded parentheses on the right side of infix if/foreach/unlessPascal Rigaux2002-11-061-1/+1
|
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-1/+1
| | | | | | | | | | | | | | | | | | | rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous!
* (partition_table::dos::last_usable_sector): don't use totalsectors, compute ↵Pascal Rigaux2002-08-281-0/+6
| | | | it so that it is cylinder aligned
* (test_for_bad_drives): classify error messages (either read, write or ↵Pascal Rigaux2002-08-271-5/+6
| | | | something-else)