| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
when destroying a raw_lvm_PV
|
| |
|
|
|
|
| |
{pt_type} can be undef whereas {fs_type} is set
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
existing partitions
- it breaks Create(), fixing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
{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
|
|
|
|
|
| |
(hoisting the dereferencing {pt_type})
|
|
|
|
|
| |
- rename some internal variables
|
| |
|
| |
|
|
|
|
|
|
| |
this will allow defining {fs_type} which will always be a string
whereas {pt_type} will always be a number
|
|
|
|
|
|
|
| |
and nfs
=> allow /home on nfs (bugzilla #7460)
|
| |
|
|
|
|
| |
of the physical geometry returned by the kernel (since for now i can't have bios geometry on 2.6)
|
|
|
|
| |
if it is ntfs otherwise
|
|
|
|
|
| |
- true/false is better than yes/no in log message
|
| |
|
|
|
|
|
|
|
|
|
| |
table) in most cases
- replace with tell_kernel() and will_tell_kernel()
- correctly handle in standalone the need to reboot, with no way to forget it
(telling the WM to quit nicely then call reboot when it's done)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- replace *F with $F
|
|
|
|
|
| |
- Handle EFI partitions on IA-64
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
at this stage)
(otherwise this causes mount points /mnt/win_ /mnt/win_1...)
|
|
|
|
|
|
| |
a scalar-ref. but we need to de-ref, so it might break many things :).
let's make a prayer :).
|
|
|
|
|
| |
so add them for comparison
|
|
|
|
|
| |
- remove the mount point when destructive resizing and isNonMountable
|
| |
|
|
|
|
|
|
|
| |
so adding 0x107 being really ntfs. hopefully this change won't break too much things
(but things were already broken, since it assigned a mount point with type ntfs to
some hpfs partitions) (fixes bug #1455)
|
| |
|
|
|
|
|
| |
is now using ntfs, not only Windows NT
|
|
|
|
| |
"every", "partition"
|
|
|
|
| |
known
|
| |
|
|
|
|
|
| |
(the other form is perl_checker-deprecated)
|