summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
Commit message (Collapse)AuthorAgeFilesLines
* - 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)
* add Acronis bootloader magicPascal Rigaux2002-08-111-0/+1
|
* make new perl_checker happy (and that's not easy!)Pascal Rigaux2002-07-311-1/+1
|
* 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-238-0/+1382