| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
(as used to be done before partition_table::raw::get_geometries() was introduced)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
existing partitions
- it breaks Create(), fixing
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- create check_package_is_installed() in fs::format and use it
|
|
|
|
| |
is non partionned
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
{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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
this will allow defining {fs_type} which will always be a string
whereas {pt_type} will always be a number
|
|
|
|
|
| |
more checks should be done in this function, and used at more places (but where?)
|
|
|
|
| |
the same
|
|
|
|
| |
least a little)
|
| |
|
|
|
|
|
|
|
| |
and nfs
=> allow /home on nfs (bugzilla #7460)
|
| |
|
|
|
|
| |
one with the devfs name
|
| |
|
| |
|
|
|
|
|
|
| |
our 2.6 doesn't use devfs names in /proc/partitions... :'-(
(bugzilla #8641)
|
|
|
|
| |
if it is ntfs otherwise
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(not only used when diskdrake code fails)
- fix {start} in read_proc_partitions()
({start} was not re-initialised between drives)
|
|
|
|
| |
account current partition
|
|
|
|
| |
doesn't handle a LV on multiple PVs)"
|
|
|
|
| |
mount point %s\n"
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drive when:
- suggest_part() reserves some room for the other partitions which are going to
be added next. For maxsize limited partition, it reserves maxsize (if maxsize
is reached)
- suggest_part() which adds the last partition limited by maxsize can be
called on a partition a little bigger than maxsize due to cylinder boundary
adjustments on previous partition creations. In that case, it doesn't use the
full area.
It occured for example with the current $fsedit::suggestions{server}.
The fix chosen is to ensure the last suggest_part() is called with a size
defined as maxsize <= size < maxsize + cylinder_size.
|
| |
|
| |
|
|
|
|
| |
#4298)
|
|
|
|
|
|
| |
- (devices::from_devfs, devices::from_devfs) handle block devices too, with
read_proc_partitions_raw() helper
|
| |
|