summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
Commit message (Collapse)AuthorAgeFilesLines
* don't use pseudo fs_type "apple" for Apple Bootstrap partitions, better only ↵Pascal Rigaux2004-11-161-3/+3
| | | | use {pt_type} for non mountable partitions
* older partition types (ntfs) are also available to x86_64Gwenolé Beauchesne2004-10-261-1/+1
|
* re-enable xfs on x86_64, for testingGwenolé Beauchesne2004-10-041-1/+1
|
* - add field {part_number} for partitionsPascal Rigaux2004-09-202-2/+7
| | | | | | | | | | | (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-2/+2
| | | | | | | existing partitions - it breaks Create(), fixing
* fix commentPascal Rigaux2004-09-081-1/+1
|
* (set_default) use "users" options for removable devices (so that usersOlivier Blin2004-09-071-6/+5
| | | | | can unmount them if the devices were mounted by root)
* - detect LVM2Pascal Rigaux2004-09-061-1/+2
| | | | | - don't even check_md magic when we don't have the size of the device
* detect linux software raid magicPascal Rigaux2004-09-061-1/+16
|
* set_default: use sync for removable devicesOlivier Blin2004-09-021-0/+1
|
* cleanly handle the case when {pt_type} is 0Pascal Rigaux2004-08-171-1/+2
|
* when there is no {pt_type}, favour the one fs_type2pt_type favoursPascal Rigaux2004-08-101-5/+5
|
* - switch to mdadm (instead of raidtools)Pascal Rigaux2004-08-081-4/+2
| | | | | | | | | - 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
* "PPC PReP Boot" is an "important" type on ppcPascal Rigaux2004-08-051-0/+3
|
* return a true value for perlPascal Rigaux2004-08-042-0/+4
|
* move mount options related stuff from fs.pm to newly created fs/mount_options.pmPascal Rigaux2004-08-031-0/+248
| | | | | | | | | | | - 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()
* add CVS $Id:Pascal Rigaux2004-08-031-1/+1
|
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-032-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | 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
|
* fsedit::check_fs_type() is now fs::type::check()Pascal Rigaux2004-08-021-0/+7
|
* - 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
* remove small ugly typoPascal Rigaux2004-07-281-1/+1
|
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-272-5/+342
| | | | | | | | | | | | | | | | | | | | {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