| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
(not by default for now)
|
|
|
|
|
|
|
|
| |
o do not show partition types which have no associated filesystem
for LVM LV (#32326)
nb: we still would need to have pt_type per partition_table types
|
|
|
|
|
| |
auto_installs, but this has been deprecated for 3 years old)
|
|
|
|
|
|
| |
nb: >> 11 and << 11 doesn't work on floats which we use to handle >2TB
partitions. perl floats are precise enough up until 512TB
|
|
|
|
|
| |
(#27867)
|
| |
|
| |
|
|
|
|
|
|
|
| |
partition table) (bugzilla #19322)
(and also remove the special ppc case which is useless inside a /^i.86|x86_64/ condition)
|
| |
|
|
|
|
| |
is about this too)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
| |
|
|
|
|
| |
name...)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(isLVM() on a part was already used once in fsedit::check_mntpoint())
|
|
|
|
|
|
| |
- for removable drives used for / /usr and the like, ensure we check it at boot time
(bugzilla #13283)
|
| |
|
| |
|
|
|
|
|
|
| |
- "SunOS swap" and "Whole disk" don't use ufs
- drop isSunOS(): replace it with testing {fs_type} eq 'ufs'
|
|
|
|
| |
{pt_type} can be undef whereas {fs_type} is set
|
|
|
|
| |
use {pt_type} for non mountable partitions
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
| |
- don't even check_md magic when we don't have the size of the device
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
{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
|