4 | | File system header check. If disk partitions look like [ sda1 [ sda2 ] ] (very unlikely), and sda1's file system is bigger than `len(sda1)-len(sda2)` -- it is definitely a serious error and those partitions cannot be mounted. If not (file systems have no common sectors), there should be an error message. We can mount them -- but without pleasure. |
| 4 | File system header check. If disk partitions look like matryoshka -- [ sda1 [ sda2 ] ] (very unlikely), and sda1's file system is bigger than `len(sda1)-len(sda2)` -- it is definitely a serious error and those partitions cannot be mounted. If not (file systems have no common sectors), there should be an error message. We can mount them -- but without pleasure. |
| 5 | |
| 6 | Hmm, I just noticed a mistake - partitions overlap by one block, not by one sector. |