| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(nb: /etc/lvmtab is no more used, so i also dropped that check)
|
| |
|
|
|
|
| |
(bugzilla #11579)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
{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
|
| |
|
|
|
|
|
|
| |
this will allow defining {fs_type} which will always be a string
whereas {pt_type} will always be a number
|
| |
|
| |
|
|
|
|
|
|
|
| |
- 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)
|
| |
|
| |
|
|
|
|
|
| |
- "vgdisplay" error status is not good, using "vgs" instead
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
a scalar-ref. but we need to de-ref, so it might break many things :).
let's make a prayer :).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
| |
(thanks to Alan Hughes)
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
"vg/name"
- added lv_resize
|
|
|
|
|
| |
- created LVs are notFormatted
|
| |
|
| |
|
|
|
|
|
| |
propose to format it)
|
| |
|
| |
|
| |
|
|
|