Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid error messages when using lvm in draklive-install (#36415) | Pascal Terjan | 2009-10-19 | 1 | -1/+1 |
| | |||||
* | extract detect_during_install | Olivier Blin | 2009-10-16 | 1 | -4/+6 |
| | |||||
* | - fix handling LVM VGs with "-" in the name (#37267) | Pascal Rigaux | 2008-01-28 | 1 | -1/+1 |
| | |||||
* | - bootloader-config: | Pascal Rigaux | 2008-01-22 | 1 | -4/+8 |
| | | | | | o fix root=xxx parameter for "/" on lvm using UUID= in fstab (#36542) | ||||
* | simplify | Pascal Rigaux | 2007-09-24 | 1 | -2/+2 |
| | |||||
* | create partition_table_initialize() and partition_table_clear_and_initialize() | Pascal Rigaux | 2007-09-19 | 1 | -0/+12 |
| | | | | | | which are wrappers around partition_table::initialize() but which also create a singleton VG automatically (so that it's easier for the user) | ||||
* | - create lvm::add_to_VG() out of diskdrake::interactive::Add2LVM() | Pascal Rigaux | 2007-09-19 | 1 | -2/+14 |
| | | | | | | - lvm::check() now takes a $do_pkgs - help pvcreate (it may fail if it finds previous metadata on the MBR) | ||||
* | - diskdrake: | Pascal Rigaux | 2007-08-08 | 1 | -0/+1 |
| | | | | | | | | o do not show partition types which have no associated filesystem for LVM LV (#32326) nb: we still would need to have pt_type per partition_table types | ||||
* | fix typos (thanks to Arpad Biro) | Pascal Rigaux | 2005-09-22 | 1 | -1/+1 |
| | |||||
* | reduce the overall perl_checker warnings | Thierry Vignaud | 2005-07-08 | 1 | -1/+1 |
| | |||||
* | handle pvmove | Pascal Rigaux | 2005-07-01 | 1 | -0/+6 |
| | |||||
* | - we can keep vg available when using vgreduce | Pascal Rigaux | 2005-07-01 | 1 | -1/+1 |
| | | | | | - we must update the vg total size after removing a pv | ||||
* | fix message | Pascal Rigaux | 2005-07-01 | 1 | -1/+1 |
| | |||||
* | create lvm::pv_physical_extents() and use it | Pascal Rigaux | 2005-07-01 | 1 | -1/+4 |
| | |||||
* | remove debug code from previous commit | Pascal Rigaux | 2005-07-01 | 1 | -3/+1 |
| | |||||
* | create generic function get_pv_field() | Pascal Rigaux | 2005-07-01 | 1 | -3/+10 |
| | |||||
* | better name | Pascal Rigaux | 2005-07-01 | 1 | -1/+1 |
| | |||||
* | replace lv_nb_segments() with lv_nb_pvs() | Pascal Rigaux | 2005-07-01 | 1 | -3/+7 |
| | | | | | (which is really what lilo cares about. lilo error is "mapped boot device cannot be on multiple real devices") | ||||
* | handle vgreduce | Pascal Rigaux | 2005-07-01 | 1 | -0/+10 |
| | |||||
* | better error message, and translate it | Pascal Rigaux | 2005-07-01 | 1 | -1/+1 |
| | |||||
* | lilo only accept /boot (or /) on a LV if it uses only one PV, so correctly ↵ | Pascal Rigaux | 2005-07-01 | 1 | -0/+11 |
| | | | | warn/error this | ||||
* | ensure we have a {lv_name} (esp. for auto_installs) | Pascal Rigaux | 2005-03-29 | 1 | -0/+1 |
| | |||||
* | ensure {lv_name} is set when calling check_mntpoint() from Create() (via ↵ | Pascal Rigaux | 2005-03-22 | 1 | -1/+6 |
| | | | | check()) (bugzilla #14253) | ||||
* | rootDevice must be properly set, esp. for newt diskdrake (bugzilla #14254) | Pascal Rigaux | 2005-03-18 | 1 | -0/+1 |
| | |||||
* | ensure {lv_name} is set for LVM partitions | Pascal Rigaux | 2005-02-01 | 1 | -0/+1 |
| | |||||
* | move device mapper initialisation out of lvm.pm into devices.pm (since it ↵ | Pascal Rigaux | 2004-12-29 | 1 | -9/+1 |
| | | | | will be useful for other things) | ||||
* | remove some unneeded ";", add some for normalization (as told by perl_checker) | Pascal Rigaux | 2004-11-18 | 1 | -1/+1 |
| | |||||
* | no need to run vgscan and vgchange in standalone | Pascal Rigaux | 2004-10-14 | 1 | -2/+4 |
| | | | | | (nb: /etc/lvmtab is no more used, so i also dropped that check) | ||||
* | don't die when device-mapper is missing (occurs on 2.4 kernel) (bugzilla #11834) | Pascal Rigaux | 2004-09-30 | 1 | -3/+4 |
| | |||||
* | call pvremove on every PVs when destroying a VG (to clear the LVM2 magic) ↵ | Pascal Rigaux | 2004-09-22 | 1 | -0/+1 |
| | | | | (bugzilla #11579) | ||||
* | many functions in fsedit don't modify anything, they are simply accessors. | Pascal Rigaux | 2004-08-03 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | create fs::get and move them into it - device2part(), up_mount_point() moved from fs to fs::get - part2hd(), file2part(), has_mntpoint(), mntpoint2part(), empty_all_hds() moved from fsedit to fs::get - fsedit::get_root() -> fs::get::root() - fsedit::get_root_() -> fs::get::root_() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_all_fstab_and_holes() -> fs::get::fstab_and_holes() - fsedit::get_all_fstab() -> fs::get::fstab() - fsedit::get_all_holes() -> fs::get::holes() - fsedit::all_free_space -> fs::get::free_space() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_fstab_and_holes() -> fs::get::hds_fstab_and_holes() - fsedit::get_holes() -> fs::get::hds_holes() - fsedit::get_fstab() -> fs::get::hds_fstab() - fsedit::free_space() -> fs::get::hds_free_space() - fsedit::get_visible_fstab() unused, removed | ||||
* | 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 |