| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
o do not allow partitions bigger than 2TB-1 on DOS MBR, nor partitions
starting above 2TB-1
|
| |
|
|
|
|
|
| |
(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
|
| |
|
|
|
|
|
|
| |
- remove unneeded "use xxx"
- add some "use xxx" (nb: not completly needed because some other modules may do it)
|
| |
|
|
|
|
|
|
|
| |
- remove checking that nb_heads is in @valid_nb_heads
(this fixes yet another case of the infamous "XP doesn't boot" occuring 10.1
CE, though it should already be fixed via EDD)
|
|
|
|
| |
returning garbage (bugzilla #11738)
|
| |
|
|
|
|
| |
valid
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
{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
|
| |
|
|
|
|
| |
of the physical geometry returned by the kernel (since for now i can't have bios geometry on 2.6)
|
|
|
|
|
| |
- CHS2rawCHS() takes care of giving sector number starting at 1
|
| |
|
| |
|
|
|
|
|
|
| |
- remove redundant parentheses
- add some parentheses for clarity
|
|
|
|
| |
it so that it is cylinder aligned
|
|
|