Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | empty partition table means sectors #0 and #1 are zeroes, not simply sector #0 | Pascal Rigaux | 2004-11-16 | 1 | -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 Rigaux | 2004-11-16 | 1 | -39/+0 | |
| | ||||||
* | fix yaboot detection | Pascal Rigaux | 2004-11-16 | 1 | -1/+2 | |
| | ||||||
* | don't die when failing to open a device (to get its geometry), skip it instead | Pascal Rigaux | 2004-09-29 | 1 | -8/+15 | |
| | | | | | (as used to be done before partition_table::raw::get_geometries() was introduced) | |||||
* | fix typos | Pascal Rigaux | 2004-09-27 | 1 | -2/+3 | |
| | ||||||
* | simplify and handle LVM2, *but* since creating a LVM2 PV on a non partitioned | Pascal Rigaux | 2004-09-27 | 1 | -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 Rigaux | 2004-09-27 | 1 | -3/+4 | |
| | | | | returning garbage (bugzilla #11738) | |||||
* | perl_checker compliance | Pascal Rigaux | 2004-09-27 | 1 | -1/+1 | |
| | ||||||
* | don't call compute_nb_cylinders() before checking {sectors} and {heads} are ↵ | Pascal Rigaux | 2004-09-27 | 1 | -2/+2 | |
| | | | | valid | |||||
* | remove the backtrace | Pascal Rigaux | 2004-09-22 | 1 | -1/+1 | |
| | ||||||
* | more logging | Pascal Rigaux | 2004-09-22 | 1 | -1/+3 | |
| | ||||||
* | try to get geometry from EDD | Pascal Rigaux | 2004-09-17 | 2 | -2/+61 | |
| | ||||||
* | - add field {fs_type} partially replacing {pt_type} | Pascal Rigaux | 2004-07-27 | 5 | -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 Rigaux | 2004-07-05 | 6 | -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 Rigaux | 2004-04-05 | 1 | -1/+1 | |
| | ||||||
* | not guessing a geometry when default_ok is no big deal | Pascal Rigaux | 2004-03-18 | 1 | -1/+2 | |
| | ||||||
* | add set_best_geometry_for_the_partition_table to use the hd geometry instead ↵ | Pascal Rigaux | 2004-03-17 | 2 | -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 0 | Pascal Rigaux | 2004-03-17 | 1 | -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 Rigaux | 2004-01-15 | 1 | -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 compliance | Pascal Rigaux | 2004-01-06 | 1 | -1/+1 | |
| | ||||||
* | perl_checker fixes | Pascal Rigaux | 2004-01-05 | 3 | -3/+1 | |
| | ||||||
* | perl_checker fixes | Thierry Vignaud | 2003-05-23 | 3 | -10/+10 | |
| | ||||||
* | perl_checker compliance | Pascal Rigaux | 2003-04-30 | 1 | -1/+1 | |
| | ||||||
* | perl_checker adaptations + fixes | Pascal Rigaux | 2003-04-24 | 1 | -1/+1 | |
| | ||||||
* | new perl_checker compliance | Pascal Rigaux | 2003-04-17 | 4 | -6/+7 | |
| | ||||||
* | (test_for_bad_drives): don't open in write mode when testing | Pascal Rigaux | 2003-02-22 | 1 | -1/+1 | |
| | ||||||
* | to workaround perl bug removing UTF8 flag when passing scalars to die's, pass | Guillaume Cottenceau | 2003-02-19 | 1 | -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 Rigaux | 2003-02-11 | 1 | -0/+1 | |
| | ||||||
* | English proofreading (first pass) | Pablo Saratxaga | 2003-01-21 | 1 | -1/+1 | |
| | ||||||
* | use internal_error instead of die for better error message (esp. backtrace) | Pascal Rigaux | 2003-01-07 | 1 | -1/+1 | |
| | ||||||
* | remove unused variables or rename them with an underscore (eg: $o becomes $_o) | Pascal Rigaux | 2002-12-04 | 3 | -6/+5 | |
| | ||||||
* | fix typo ($hd is not available in read_header(), so don't use it) | Pascal Rigaux | 2002-12-04 | 1 | -1/+1 | |
| | ||||||
* | do not use "local *F" | Pascal Rigaux | 2002-12-04 | 8 | -81/+82 | |
| | ||||||
* | perl_checker adaptations | Pascal Rigaux | 2002-11-27 | 1 | -2/+2 | |
| | ||||||
* | make perl_checker happy | Pascal Rigaux | 2002-11-14 | 3 | -3/+3 | |
| | ||||||
* | - add/remove spaces to make perl_checker happy | Pascal Rigaux | 2002-11-14 | 2 | -2/+2 | |
| | | | | | | - remove redundant parentheses - add some parentheses for clarity | |||||
* | add/remove spaces to make perl_checker happy | Pascal Rigaux | 2002-11-13 | 1 | -1/+1 | |
| | ||||||
* | add/remove some spaces to make perl_checker happy | Pascal Rigaux | 2002-11-12 | 1 | -1/+1 | |
| | ||||||
* | add or remove spaces where need to please perl_checker | Pascal Rigaux | 2002-11-11 | 2 | -3/+3 | |
| | ||||||
* | - use "foreach" instead of "for" in list context | Pascal Rigaux | 2002-11-11 | 1 | -1/+1 | |
| | | | | | - use "for" instead of "foreach" when used a la C | |||||
* | - do not use "foreach $var (...) {...}" use "foreach my $var (...) {...}" ↵ | Pascal Rigaux | 2002-11-11 | 1 | -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_checker | Pascal Rigaux | 2002-11-11 | 1 | -1/+1 | |
| | ||||||
* | remove unneeded parentheses on the right side of infix if/foreach/unless | Pascal Rigaux | 2002-11-06 | 1 | -1/+1 | |
| | ||||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 1 | -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 Rigaux | 2002-08-28 | 1 | -0/+6 | |
| | | | | it so that it is cylinder aligned | |||||
* | (test_for_bad_drives): classify error messages (either read, write or ↵ | Pascal Rigaux | 2002-08-27 | 1 | -5/+6 | |
| | | | | something-else) | |||||
* | add Acronis bootloader magic | Pascal Rigaux | 2002-08-11 | 1 | -0/+1 | |
| | ||||||
* | make new perl_checker happy (and that's not easy!) | Pascal Rigaux | 2002-07-31 | 1 | -1/+1 | |
| | ||||||
* | Help "perl -cw" not reporting any warning | Pascal Rigaux | 2002-07-25 | 1 | -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: hierarchy | Thierry Vignaud | 2002-07-23 | 8 | -0/+1382 | |