Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | introduce ->ensure_binary_is_installed and use it | Pascal Rigaux | 2004-08-02 | 1 | -1/+1 |
| | |||||
* | - add field {fs_type} partially replacing {pt_type} | Pascal Rigaux | 2004-07-27 | 1 | -6/+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 | ||||
* | a {type} didn't get moved to {pt_type}, fixing | Pascal Rigaux | 2004-07-27 | 1 | -1/+1 |
| | |||||
* | big renaming of field {type} to {pt_type}, | Pascal Rigaux | 2004-07-05 | 1 | -2/+2 |
| | | | | | | 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 |
| | |||||
* | create /dev/mapper/control (needed when you don't have devfs) | Pascal Rigaux | 2004-02-04 | 1 | -0/+7 |
| | |||||
* | - replace PE_size with extent_size and get it (fix illegal division by 0) | Pascal Rigaux | 2004-02-04 | 1 | -9/+11 |
| | | | | | | | - fix getting the output of pvs vgs lvs commands (chomp_ is not enough because of spaces at the end) - fix get_lvs() (and use lvs instead of vgdisplay) | ||||
* | adaptation/simplification for new lvm2 (thanks to Luca Berra) | Pascal Rigaux | 2004-01-15 | 1 | -5/+3 |
| | |||||
* | lvm2 uses urandom | Pascal Rigaux | 2004-01-13 | 1 | -0/+1 |
| | |||||
* | - install lvm2 rpm instead of lvm (and using ->ensure_is_installed) | Pascal Rigaux | 2004-01-13 | 1 | -4/+2 |
| | | | | | - "vgdisplay" error status is not good, using "vgs" instead | ||||
* | basic lvm2 support (not tested yet!) | Pascal Rigaux | 2004-01-06 | 1 | -22/+22 |
| | |||||
* | fix typo (fix bug #4239) | Pascal Rigaux | 2003-08-11 | 1 | -1/+1 |
| | |||||
* | allow choosing lv name (thanks to Brian Murrell) | Pascal Rigaux | 2003-06-04 | 1 | -3/+3 |
| | |||||
* | perl_checker adaptations + fixes | Pascal Rigaux | 2003-04-24 | 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 "new" to lvm.pm, and use it | Pascal Rigaux | 2002-12-18 | 1 | -0/+6 |
| | |||||
* | 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! | ||||
* | fix using given size for created LVs whereas lvcreate allocates a little less | Pascal Rigaux | 2002-09-05 | 1 | -2/+9 |
| | | | | | (thanks to Alan Hughes) | ||||
* | - vg_add: do not vgremove the old_name anymore, this is dangerous and should ↵ | Pascal Rigaux | 2002-08-11 | 1 | -24/+34 |
| | | | | | | | | | | not happen - lv_create: fix bug when {primary}{normal} didn't exist - use run_program::get_stdout instead of `` - create and use run() and run_or_die() which takes care of running vgscan again when needed - rename LVMname to VG_name | ||||
* | ensure lvm tools don't need to be all installed at the same time | Pascal Rigaux | 2002-02-21 | 1 | -1/+6 |
| | |||||
* | - LVs "device" field were containing "/dev/vg/number" whereas it must be ↵ | Pascal Rigaux | 2002-02-16 | 1 | -5/+11 |
| | | | | | | | "vg/name" - added lv_resize | ||||
* | - call pvcreate with "-y -ff" | Pascal Rigaux | 2002-02-16 | 1 | -1/+3 |
| | | | | | - created LVs are notFormatted | ||||
* | enhance lvm handling (mostly standalone) | Pascal Rigaux | 2001-09-16 | 1 | -5/+18 |
| | |||||
* | move to MDK::Common, bool->to_bool | Pascal Rigaux | 2001-07-24 | 1 | -1/+1 |
| | |||||
* | (get_lvs): remove the setting of flag isFormatted which was wrong (didn't | Pascal Rigaux | 2001-04-03 | 1 | -1/+0 |
| | | | | | propose to format it) | ||||
* | protect the loading of module lvm-mod | Pascal Rigaux | 2001-04-03 | 1 | -1/+1 |
| | |||||
* | (lv_create): fix typo | Pascal Rigaux | 2001-03-05 | 1 | -1/+1 |
| | |||||
* | small fixes for LVM | Pascal Rigaux | 2001-03-03 | 1 | -1/+2 |
| | |||||
* | creation | Pascal Rigaux | 2001-03-03 | 1 | -0/+98 |