Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - switch to mdadm (instead of raidtools) | Pascal Rigaux | 2004-08-08 | 1 | -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 Rigaux | 2004-07-27 | 1 | -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.pm | Pascal Rigaux | 2004-07-23 | 1 | -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 Rigaux | 2004-07-05 | 1 | -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 Rigaux | 2004-04-05 | 1 | -2/+2 |
| | |||||
* | perl_checker adaptations + fixes | Pascal Rigaux | 2003-04-24 | 1 | -2/+2 |
| | |||||
* | to workaround perl bug removing UTF8 flag when passing scalars to die's, pass | Guillaume Cottenceau | 2003-02-19 | 1 | -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 to | Pascal Rigaux | 2003-02-19 | 1 | -2/+2 |
| | | | | | create a specific md | ||||
* | cleanup | Pascal Rigaux | 2003-02-19 | 1 | -2/+6 |
| | |||||
* | perl_checker compliance ("ref" now need parentheses in many case) | Pascal Rigaux | 2003-02-12 | 1 | -1/+1 |
| | |||||
* | software raid (mdX) can go up to md31 | Pascal Rigaux | 2003-01-29 | 1 | -1/+3 |
| | |||||
* | use "if any" instead of "if grep", and various other occurences of "any", ↵ | Pascal Rigaux | 2003-01-07 | 1 | -1/+1 |
| | | | | "every", "partition" | ||||
* | use output() | Pascal Rigaux | 2002-12-03 | 1 | -14/+13 |
| | |||||
* | testing aware | Guillaume Cottenceau | 2002-11-28 | 1 | -0/+1 |
| | |||||
* | various small syntax enhancements to please perl_checker | Pascal Rigaux | 2002-11-11 | 1 | -1/+1 |
| | |||||
* | - have "local *FILEHANDLE" before each "open FILEHANDLE, ..." | Pascal Rigaux | 2002-11-06 | 1 | -1/+1 |
| | | | | | - use some "cat_" and "output" where possible | ||||
* | replace "_" with "N" and "__" with "N_" | Pascal Rigaux | 2002-11-06 | 1 | -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 used | Pascal Rigaux | 2002-11-05 | 1 | -1/+1 |
| | |||||
* | also create a raidtab if it doesn't exist (occurs when / has been formatted) | Pascal Rigaux | 2002-09-24 | 1 | -0/+2 |
| | |||||
* | make new perl_checker happy (and that's not easy!) | Pascal Rigaux | 2002-07-31 | 1 | -4/+4 |
| | |||||
* | ensure the raid is disactivated and marked dirty on any actions that destroy ↵ | Pascal Rigaux | 2002-07-07 | 1 | -14/+26 |
| | | | | the raid | ||||
* | defaults to ext3 instead of ext2 | Pascal Rigaux | 2002-01-22 | 1 | -1/+1 |
| | |||||
* | use new mkdir_p, rm_rf and cp_af from MDK::Common | Pascal Rigaux | 2001-09-16 | 1 | -2/+1 |
| | |||||
* | update the raid size as it should be | Pascal Rigaux | 2001-08-18 | 1 | -1/+3 |
| | |||||
* | fixed i18n | Stefan Siegel | 2001-08-18 | 1 | -1/+1 |
| | |||||
* | a hell lot of cleanup/rewrite: | Pascal Rigaux | 2001-08-17 | 1 | -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 partitions | Pascal Rigaux | 2001-08-01 | 1 | -5/+7 |
| | |||||
* | move to MDK::Common, bool->to_bool | Pascal Rigaux | 2001-07-24 | 1 | -1/+1 |
| | |||||
* | include patch to autodetect raid arrays (still needs a kernel that ↵ | Guillaume Cottenceau | 2001-06-11 | 1 | -1/+1 |
| | | | | implements the ioctl..) | ||||
* | (make): replace commands::modprobe by modules::load as it should (or??) | Pascal Rigaux | 2001-01-30 | 1 | -1/+2 |
| | |||||
* | no_comment | Pascal Rigaux | 2000-09-14 | 1 | -1/+1 |
| | |||||
* | no_comment | Pascal Rigaux | 2000-09-13 | 1 | -6/+2 |
| | |||||
* | no_comment | Pascal Rigaux | 2000-05-02 | 1 | -0/+2 |
| | |||||
* | no_comment | Pascal Rigaux | 2000-03-14 | 1 | -1/+2 |
| | |||||
* | no_comment | Pascal Rigaux | 2000-03-08 | 1 | -5/+3 |
| | |||||
* | no_comment | Pascal Rigaux | 2000-01-19 | 1 | -1/+1 |
| | |||||
* | no_comment | Pascal Rigaux | 2000-01-04 | 1 | -1/+1 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-12-17 | 1 | -1/+1 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-11-26 | 1 | -1/+2 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-11-22 | 1 | -1/+1 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-11-10 | 1 | -2/+3 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-11-09 | 1 | -2/+19 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-11-09 | 1 | -5/+17 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-11-09 | 1 | -0/+19 |
| | |||||
* | no_comment | Pascal Rigaux | 1999-11-09 | 1 | -0/+112 |