summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
Commit message (Collapse)AuthorAgeFilesLines
* - fs::format::part_raw() now takes $wait_message to allow displaying the ↵Pascal Rigaux2005-01-061-6/+2
| | | | | | | | progress of format - create fs::format::wait_message() which creates a $wait_message valid to give to fs::format::part - fs::format::mke2fs() format while parsing the output to display the progress
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-132-12/+12
|
* moving partitions never really worked and is disabled since yearsPascal Rigaux2004-11-251-12/+0
|
* - create analyze_wild_device_name() out of subpart_from_wild_device_name()Pascal Rigaux2004-11-251-0/+3
| | | | | | | | | | - rename part2device() into part2wild_device_name(), change its prototype and use analyze_wild_device_name() - new field {faked_device} - for LABEL=..., {device} is not empty anymore and {faked_device} is set, merge_fstabs() will take care of having the real {device} and {faked_device} unset - for devfs_device, {device} is set to the devfs device, merge_fstabs() will take care of having the non devfs device in {device}
* since we don't use ramdisk but clp, some code is deadPascal Rigaux2004-11-181-1/+1
| | | | | (remove usingRamdisk(), check_prog(), remove_unused()...)
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-1/+1
|
* add some ";", remove some ";", as told by perl_checkerPascal Rigaux2004-11-182-4/+4
|
* really remove the VG from internal list of {lvms}, not on a copyPascal Rigaux2004-11-171-2/+1
|
* create isEmpty() and use it instead of simply testing {pt_type}, since ↵Pascal Rigaux2004-11-162-15/+13
| | | | {pt_type} can be undef whereas {fs_type} is set
* warn about created partition with a given mount point but not formattedPascal Rigaux2004-10-271-0/+5
|
* use ToggleButton instead of Button so that selected partition is visually ↵Pascal Rigaux2004-10-271-5/+18
| | | | toggled
* since we need mdadm, ensure we have it (bugzilla #12146)Pascal Rigaux2004-10-271-0/+1
|
* document UUID md fieldPascal Rigaux2004-10-141-0/+1
|
* - add field {part_number} for partitionsPascal Rigaux2004-09-201-0/+1
| | | | | | | | | | | (handle it in subpart_from_wild_device_name(), partition_table::read()) - create migrate_device_names() to handle the change of device names when changing kernel&modules (eg: hde->hda or hda->sda) - change prototype of install_any::use_root_part() (prefix is dropped, optional $in is added) - create fs::type::can_be_this_fs_type() and use it - create devices::part_number() and devices::part_prefix() and use them
* - ensure {is_removable} field is there for created partitions, not only ↵Pascal Rigaux2004-09-141-1/+2
| | | | | | | existing partitions - it breaks Create(), fixing
* fix displaying "mdmd0" instead of "md0"Pascal Rigaux2004-09-061-1/+1
|
* no {fs_type} doesn't mean the type invalidPascal Rigaux2004-08-101-1/+1
|
* no {pt_type} doesn't mean EmptyPascal Rigaux2004-08-101-1/+1
|
* help perl_checker know the $all_hds *is* usedPascal Rigaux2004-08-091-0/+1
|
* - switch to mdadm (instead of raidtools)Pascal Rigaux2004-08-082-23/+25
| | | | | | | | | - 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
* adapt to bootloader functions now using all_hds instead of hdsPascal Rigaux2004-08-051-1/+1
|
* move mount options related stuff from fs.pm to newly created fs/mount_options.pmPascal Rigaux2004-08-031-6/+6
| | | | | | | | | | | - fs::set_all_default_options() -> fs::mount_options::set_all_default() - fs::mount_options_pack() -> fs::mount_options::pack() - fs::mount_options_unpack() -> fs::mount_options::unpack() - fs::rationalize_options() -> fs::mount_options::rationalize() - fs::set_default_options() -> fs::mount_options::set_default() - fs::mount_options() -> fs::mount_options::list() - fs::mount_options_help() -> fs::mount_options::help()
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-035-16/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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
* fsedit::check_fs_type() is now fs::type::check()Pascal Rigaux2004-08-021-1/+1
|
* use fs::format::check_package_is_installed() before formatting (bugzilla #10435)Pascal Rigaux2004-08-021-0/+3
|
* - move package_needed_for_partition_type() from fsedit to fs::formatPascal Rigaux2004-08-021-7/+1
| | | | | - create check_package_is_installed() in fs::format and use it
* introduce ->ensure_binary_is_installed and use itPascal Rigaux2004-08-021-1/+1
|
* don't call will_tell_kernel() when we have lvm (anthill #994)Pascal Rigaux2004-08-021-2/+1
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-274-68/+67
| | | | | | | | | | | | | | | | | | | | {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
* replace pt_type2name($part->{pt_type}) with part2name($part)Pascal Rigaux2004-07-232-6/+6
| | | | | (hoisting the dereferencing {pt_type})
* - move format related functions out of fs.pm to new module fs/format.pmPascal Rigaux2004-07-231-2/+2
| | | | | - remove swap.pm, moving its few functions to fs/format.pm or fs.pm
* fix indentationPascal Rigaux2004-07-231-1/+1
|
* MandrakeSoft -> MandrakesoftPascal Rigaux2004-07-201-1/+1
|
* encryption key length can now be lower than 20, allowing >= 6Pascal Rigaux2004-07-151-1/+1
|
* fix function callPascal Rigaux2004-07-051-1/+1
|
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-054-51/+51
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* rename is_same_part to are_same_partitions (not that much clear, but at ↵Pascal Rigaux2004-06-152-2/+2
| | | | least a little)
* really handle LABEL=XXX in fstab (as used by redhat) (no xfs labels yet)Pascal Rigaux2004-05-131-0/+5
|
* fix drakupdate_fstab adding twice an entry in fstab, one with the old name, ↵Pascal Rigaux2004-05-011-0/+2
| | | | one with the devfs name
* revert handling --auto for removable, it is much better done in a separate ↵Pascal Rigaux2004-04-272-10/+6
| | | | | | | function (the goal of this --auto is not clear at all, and is better explicitly done)
* handle --auto when managing removable mediaThierry Vignaud2004-04-232-6/+10
|
* perl now handle cleanly utf8 string in exceptions, no need to die \N("...")Pascal Rigaux2004-04-052-2/+2
|
* type "ext2:vfat" must not be the same as 0Pascal Rigaux2004-03-021-1/+1
|
* typo fixes (Reinout van Schouwen)Thierry Vignaud2004-02-232-2/+2
|
* try hard to update_bootloader_for_renumbered_partitions()Pascal Rigaux2004-02-131-1/+14
|
* remove "Quit" iconPascal Rigaux2004-02-051-1/+1
|
* - don't display start sector and cylinders used for LVsPascal Rigaux2004-02-041-2/+3
| | | | | - display "Number of logical extents" of LVs
* spell checkingPablo Saratxaga2004-01-171-1/+1
|
* - remove the use of BLKRRPART (telling the kernel to re-read the partition ↵Pascal Rigaux2004-01-151-9/+43
| | | | | | | | | table) in most cases - replace with tell_kernel() and will_tell_kernel() - correctly handle in standalone the need to reboot, with no way to forget it (telling the WM to quit nicely then call reboot when it's done)
* revert titi breaking the code, keeping the only valid changePascal Rigaux2004-01-131-7/+6
|