summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
Commit message (Collapse)AuthorAgeFilesLines
* ensure_binary_is_installed checks binary chrooted, whereas we run the binary ↵Pascal Rigaux2006-02-241-1/+1
| | | | non-chrooted (pb for Mandriva One)
* it seems -y is needed for mkfs.reiser4 to work without promptingPascal Rigaux2006-02-221-1/+1
|
* fs::format::wait_message() is now ->wait_message_with_progress_bar (on ↵Pascal Rigaux2005-09-021-33/+0
| | | | interactive objects)
* minimal (and quite hidden) reiser4 support in diskdrake (bugzilla #15839)Pascal Rigaux2005-08-031-0/+1
|
* mkinitrd only handle ext2/ext3 labels, so disallow labels on "/" for other ↵Pascal Rigaux2005-07-011-1/+2
| | | | fs types
* try to cleanup fs.pmPascal Rigaux2005-06-281-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | (to have simpler dependencies between modules, esp. have some modules only required by diskdrake): - move some functions from fs to fs::mount (most keep their name, except mount_part and mount_usbfs) - move formatMount_part and formatMount_all from fs to fs::format - move some functions from fs to fs::wild_device (part2wild_device_name -> fs::wild_device::from_part) (subpart_from_wild_device_name -> fs::wild_device::to_subpart) (analyze_wild_device_name -> fs::wild_device::analyse) - formatMount_part(), formatMount_all(), fs::mount::part() don't take a prefix anymore the current situation was quite muddy we now rely on fs::get::mntpoint_prefixed() which will maybe depend on a field in $part for now, we mount every part in chroot, it seems to be what's wanted - fs::format::part() now expect $all_hds instead of $raids - fs::type::carryRootLoopback is now fs::get::carry_root_loopback() - in fs::loopback, most functions don't want a prefix anymore
* normalize mke2fs and mkreiserfs into mkfs.<fs_type>Pascal Rigaux2005-06-241-6/+6
|
* handle creation of labels for every filesystem typesPascal Rigaux2005-06-211-9/+30
|
* move loopback.pm to fs/loopback.pmPascal Rigaux2005-06-101-1/+2
| | | | | (since it's tightly tight to many fs* things)
* fix typoPascal Rigaux2005-06-011-1/+2
|
* set the LABEL after formatting, or drop it if we don't know how to set itPascal Rigaux2005-06-011-0/+8
|
* workaround perl limitationPascal Rigaux2005-02-081-1/+2
|
* remove logPascal Rigaux2005-01-271-1/+0
|
* even if it still takes some time when format is over, we don't want the ↵Pascal Rigaux2005-01-251-2/+2
| | | | progress bar to stay at 85%
* gtk2 progress bar when formatting ext3Pascal Rigaux2005-01-151-4/+22
|
* remove debug codePascal Rigaux2005-01-121-2/+0
|
* - fs::format::part_raw() now takes $wait_message to allow displaying the ↵Pascal Rigaux2005-01-061-3/+39
| | | | | | | | 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-131-1/+1
|
* don't allow partition types we don't know how to format in {partitions} for ↵Pascal Rigaux2004-12-051-0/+5
| | | | auto_installs (eg of bad type: ntfs)
* add CVS $Id:Pascal Rigaux2004-08-031-1/+1
|
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* make perl_checker happyPascal Rigaux2004-08-021-1/+1
|
* - move package_needed_for_partition_type() from fsedit to fs::formatPascal Rigaux2004-08-021-11/+24
| | | | | - create check_package_is_installed() in fs::format and use it
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-5/+8
| | | | | | | | | | | | | | | | | | | | {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
* fix typoPascal Rigaux2004-07-261-1/+1
|
* replace pt_type2name($part->{pt_type}) with part2name($part)Pascal Rigaux2004-07-231-2/+2
| | | | | (hoisting the dereferencing {pt_type})
* - move format related functions out of fs.pm to new module fs/format.pmPascal Rigaux2004-07-231-0/+77
- remove swap.pm, moving its few functions to fs/format.pm or fs.pm