| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
o handle partitions encrypted with cryptsetup
|
|
|
|
|
| |
(not needed anymore by urpmi)
|
|
|
|
|
|
|
|
| |
o fix switching from LABEL=xxx to /dev/yyy in fstab (#37914)
merge_fstabs() was doing add2hash, replacing it with add2hash_ so that
faked_device => 1 from fstab is not kept
|
|
|
|
|
|
| |
(i could not reproduce the issue, but it's been reported on cooker, and it may
somehow occur if fs::mount_options::pack() is not used)
|
| |
|
|
|
|
|
| |
o add a comment (a la ubuntu) in fstab when using UUID=
|
|
|
|
|
| |
(not by default for now)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
- use it in fs::proc_partitions::compare()
(not useful at the moment, but it may help in the future)
|
| |
|
|
|
|
| |
name...)
|
|
|
|
| |
standard for libDrakX modules)
|
|
|
|
|
| |
(since it's tightly tight to many fs* things)
|
|
|
|
| |
"no_comment")
|
| |
|
|
|
|
| |
get it for free)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- for removable drives used for / /usr and the like, ensure we check it at boot time
(bugzilla #13283)
|
|
|
|
| |
can give undef)
|
|
|
|
| |
devices::make($part->{device}) (esp. for nfs "devices")
|
| |
|
|
|
|
|
|
|
|
| |
like fd0 anymore (give it /dev/fd0)
- a little more robust analyze_wild_device_name() during install
- handle bad things in subpart_from_wild_device_name()
|
| |
|
| |
|
|
|
|
|
| |
(this comes from long ago when redhat code was using a ro /dev and creating other devices in /tmp)
|
|
|
|
|
|
|
|
|
|
| |
- rename part2device() into part2wild_device_name(), change its prototype and use analyze_wild_device_name()
- new field {faked_device}
- for LABEL=..., {device} is not empty anymore and {faked_device} is set,
merge_fstabs() will take care of having the real {device} and {faked_device} unset
- for devfs_device, {device} is set to the devfs device,
merge_fstabs() will take care of having the non devfs device in {device}
|
|
|
|
| |
(bug anthil #1198)
|
|
|
|
|
|
| |
"none /mnt/cdrom supermount dev=/dev//dev/cdrom,fs=iso9660..."
(bugzilla #12224)
|
|
|
|
|
| |
(remove usingRamdisk(), check_prog(), remove_unused()...)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
| |
able to handle
renamed devices
- fs::get_info_from_fstab() doesn't take a prefix anymore
- small perl_checker fix in install_any.pm
|
|
|
|
|
|
|
| |
- partially handle /udev/xxx device names in fstab
- ignore rootfs "device"
- don't warn for loopback files
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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()
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|