summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/get.pm
Commit message (Collapse)AuthorAgeFilesLines
* try to cleanup fs.pmPascal Rigaux2005-06-281-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | (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
* fsedit::is_same_hd is now fs:get::is_same_hdPascal Rigaux2005-06-131-1/+15
|
* move loopback.pm to fs/loopback.pmPascal Rigaux2005-06-101-1/+2
| | | | | (since it's tightly tight to many fs* things)
* create isEmpty() and use it instead of simply testing {pt_type}, since ↵Pascal Rigaux2004-11-161-2/+2
| | | | {pt_type} can be undef whereas {fs_type} is set
* fix commentPascal Rigaux2004-09-081-1/+1
|
* - 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
* return a true value for perlPascal Rigaux2004-08-041-0/+2
|
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-0/+128
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