summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
Commit message (Collapse)AuthorAgeFilesLines
...
* have the ability to prefer primary partitions in auto_installsPascal Rigaux2005-08-081-2/+2
|
* move skipping dmraid drives test in fsedit (and use fs::type::is_dmraid)Pascal Rigaux2005-07-011-1/+1
|
* better namePascal Rigaux2005-07-011-1/+1
|
* replace lv_nb_segments() with lv_nb_pvs()Pascal Rigaux2005-07-011-4/+4
| | | | | (which is really what lilo cares about. lilo error is "mapped boot device cannot be on multiple real devices")
* lilo only accept /boot (or /) on a LV if it uses only one PV, so correctly ↵Pascal Rigaux2005-07-011-5/+5
| | | | warn/error this
* handle dmraid device not there, keeping the raw hdsPascal Rigaux2005-06-241-5/+2
|
* handle dmraid require failPascal Rigaux2005-06-231-1/+1
|
* - compute free_space per hd if needed (useful when auto-allocating on vgs ↵Pascal Rigaux2005-06-211-5/+11
| | | | | | | with still free space on hd) - fix verifying enough space for next allocate
* initial dmraid supportPascal Rigaux2005-06-201-0/+28
|
* - change prototype of fs::get_major_minor()Pascal Rigaux2005-06-201-1/+1
| | | | | | - use it in fs::proc_partitions::compare() (not useful at the moment, but it may help in the future)
* fsedit::is_same_hd is now fs:get::is_same_hdPascal Rigaux2005-06-131-14/+0
|
* - move functions using /proc/partitions out of fsedit to fs::proc_partitionsPascal Rigaux2005-06-101-91/+5
| | | | | | - remove unneeded "use xxx" - add some "use xxx" (nb: not completly needed because some other modules may do it)
* move loopback.pm to fs/loopback.pmPascal Rigaux2005-06-101-2/+2
| | | | | (since it's tightly tight to many fs* things)
* auto_install support for creating LABELed devicesPascal Rigaux2005-06-011-1/+1
|
* add /usr/local and /opt to suggestions_mntpointsPascal Rigaux2005-04-031-2/+1
|
* when the partition table is empty, try to see if we are not using the plain diskPascal Rigaux2005-02-081-2/+6
|
* $hd is now unused, no need to pass itPascal Rigaux2005-02-011-4/+4
|
* - create fs::type::directories_needed_to_boot() and use itPascal Rigaux2005-01-281-1/+1
| | | | | | - for removable drives used for / /usr and the like, ensure we check it at boot time (bugzilla #13283)
* add option no_bad_drives (to workaround bugzilla #12766)Pascal Rigaux2004-12-221-1/+1
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-9/+9
|
* moving partitions never really worked and is disabled since yearsPascal Rigaux2004-11-251-56/+0
|
* saferPascal Rigaux2004-11-251-1/+1
|
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-1/+1
|
* handle more nicely raw_lvm_PV (don't simply ignore them)Pascal Rigaux2004-11-161-6/+18
|
* don't die when failing to open a device (to get its geometry), skip it insteadPascal Rigaux2004-09-291-1/+1
| | | | | (as used to be done before partition_table::raw::get_geometries() was introduced)
* increase the max size of the swapPascal Rigaux2004-09-241-3/+3
|
* fix an old ugly typoPascal Rigaux2004-09-221-1/+1
|
* try to get geometry from EDDPascal Rigaux2004-09-171-4/+6
|
* explicit scalar false value (otherwise it gives () in list context)Pascal Rigaux2004-09-151-6/+6
|
* - ensure {is_removable} field is there for created partitions, not only ↵Pascal Rigaux2004-09-141-1/+1
| | | | | | | existing partitions - it breaks Create(), fixing
* some more loggingPascal Rigaux2004-09-061-0/+2
|
* fix typoPascal Rigaux2004-09-061-1/+1
|
* detect linux software raid magicPascal Rigaux2004-09-061-2/+9
|
* flags is optionalPascal Rigaux2004-08-091-2/+2
|
* - switch to mdadm (instead of raidtools)Pascal Rigaux2004-08-081-53/+10
| | | | | | | | | - 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
* reverted an unneeded string changePablo Saratxaga2004-08-061-1/+1
|
* move mount options related stuff from fs.pm to newly created fs/mount_options.pmPascal Rigaux2004-08-031-1/+1
| | | | | | | | | | | - 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-031-128/+22
| | | | | | | | | | | | | | | | | | | | | | | | 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-8/+1
|
* - move package_needed_for_partition_type() from fsedit to fs::formatPascal Rigaux2004-08-021-10/+0
| | | | | - create check_package_is_installed() in fs::format and use it
* merge hds() in get_hds() to correctly handle catching cdie when the device ↵Pascal Rigaux2004-07-291-31/+42
| | | | is non partionned
* - add field {fs_type} partially replacing {pt_type}Pascal Rigaux2004-07-271-77/+56
| | | | | | | | | | | | | | | | | | | | {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
* shorter and fasterPascal Rigaux2004-07-221-4/+6
|
* set {is_removable} directly in fsedit::hds()Pascal Rigaux2004-07-221-0/+4
|
* *** empty log message ***Pascal Rigaux2004-07-221-1/+1
|
* *** empty log message ***Pascal Rigaux2004-07-221-0/+1
|
* change_pt_type() must return a boolean valuePascal Rigaux2004-07-151-0/+1
|
* big renaming of field {type} to {pt_type},Pascal Rigaux2004-07-051-45/+45
| | | | | | this will allow defining {fs_type} which will always be a string whereas {pt_type} will always be a number
* create rationalize_options() and use it (bugzilla #3525)Pascal Rigaux2004-07-051-1/+2
| | | | | more checks should be done in this function, and used at more places (but where?)
* in is_same_hd(), both hds can have {device} unset, it doesn't mean they are ↵Pascal Rigaux2004-06-291-1/+1
| | | | the same