summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
Commit message (Collapse)AuthorAgeFilesLines
* - switch to mdadm (instead of raidtools)Pascal Rigaux2004-08-081-76/+128
| | | | | | | | | - create mdadm.conf instead of raidtab - internal {raids} is no more indexed by X for mdX, and so don't have holes anymore - internal {chunk-size} is now a number in KiB - internal {raid} is the raid device name, not the number - various cleanup for raid detection
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-5/+5
| | | | | | | | | | | | | | | | | | | | {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
* - move format related functions out of fs.pm to new module fs/format.pmPascal Rigaux2004-07-231-1/+1
| | | | | - remove swap.pm, moving its few functions to fs/format.pm or fs.pm
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-1/+1
| | | | | | 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-2/+2
|
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-2/+2
|
* to workaround perl bug removing UTF8 flag when passing scalars to die's, passGuillaume Cottenceau2003-02-191-2/+2
| | | | | | a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
* mkraid wants all the md devices written in raidtab to exist, even if asking toPascal Rigaux2003-02-191-2/+2
| | | | | create a specific md
* cleanupPascal Rigaux2003-02-191-2/+6
|
* perl_checker compliance ("ref" now need parentheses in many case)Pascal Rigaux2003-02-121-1/+1
|
* software raid (mdX) can go up to md31Pascal Rigaux2003-01-291-1/+3
|
* use "if any" instead of "if grep", and various other occurences of "any", ↵Pascal Rigaux2003-01-071-1/+1
| | | | "every", "partition"
* use output()Pascal Rigaux2002-12-031-14/+13
|
* testing awareGuillaume Cottenceau2002-11-281-0/+1
|
* various small syntax enhancements to please perl_checkerPascal Rigaux2002-11-111-1/+1
|
* - have "local *FILEHANDLE" before each "open FILEHANDLE, ..."Pascal Rigaux2002-11-061-1/+1
| | | | | - use some "cat_" and "output" where possible
* replace "_" with "N" and "__" with "N_"Pascal Rigaux2002-11-061-4/+4
| | | | | | | | | | | | | | | | | | | 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!
* use each_index instead of map_index when the return value is not usedPascal Rigaux2002-11-051-1/+1
|
* also create a raidtab if it doesn't exist (occurs when / has been formatted)Pascal Rigaux2002-09-241-0/+2
|
* make new perl_checker happy (and that's not easy!)Pascal Rigaux2002-07-311-4/+4
|
* ensure the raid is disactivated and marked dirty on any actions that destroy ↵Pascal Rigaux2002-07-071-14/+26
| | | | the raid
* defaults to ext3 instead of ext2Pascal Rigaux2002-01-221-1/+1
|
* use new mkdir_p, rm_rf and cp_af from MDK::CommonPascal Rigaux2001-09-161-2/+1
|
* update the raid size as it should bePascal Rigaux2001-08-181-1/+3
|
* fixed i18nStefan Siegel2001-08-181-1/+1
|
* a hell lot of cleanup/rewrite:Pascal Rigaux2001-08-171-41/+46
| | | | | | | | | | | * diskdrake_interactive created, diskdrake is now interactive aware * added some documentation about the structure used for partitioning * all_hds now contain the various hds, lvm, raid * cleanup the isLVM, isRAID and alike functions * field {type} in detect_devices is now {media_type} * detect_devices::floppies is now floppies_dev * removed old function prototypes
* (new): now works with a list of partitionsPascal Rigaux2001-08-011-5/+7
|
* move to MDK::Common, bool->to_boolPascal Rigaux2001-07-241-1/+1
|
* include patch to autodetect raid arrays (still needs a kernel that ↵Guillaume Cottenceau2001-06-111-1/+1
| | | | implements the ioctl..)
* (make): replace commands::modprobe by modules::load as it should (or??)Pascal Rigaux2001-01-301-1/+2
|
* no_commentPascal Rigaux2000-09-141-1/+1
|
* no_commentPascal Rigaux2000-09-131-6/+2
|
* no_commentPascal Rigaux2000-05-021-0/+2
|
* no_commentPascal Rigaux2000-03-141-1/+2
|
* no_commentPascal Rigaux2000-03-081-5/+3
|
* no_commentPascal Rigaux2000-01-191-1/+1
|
* no_commentPascal Rigaux2000-01-041-1/+1
|
* no_commentPascal Rigaux1999-12-171-1/+1
|
* no_commentPascal Rigaux1999-11-261-1/+2
|
* no_commentPascal Rigaux1999-11-221-1/+1
|
* no_commentPascal Rigaux1999-11-101-2/+3
|
* no_commentPascal Rigaux1999-11-091-2/+19
|
* no_commentPascal Rigaux1999-11-091-5/+17
|
* no_commentPascal Rigaux1999-11-091-0/+19
|
* no_commentPascal Rigaux1999-11-091-0/+112