| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(useful to have a more standard partition_table::lvm)
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
{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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- remove redundant parentheses
- add some parentheses for clarity
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
instead
(only pb are functions called in {...} that could use $var, none found except in commands.pm)
- various small syntax enhancements to please perl_checker
|
|
|
|
|
|
| |
- for mac free partition, use $freepart instead of $freepart_device, $freepart_size ...
- replace $timezone::ntp_servers by a function
|
|
|