mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[partition] Check for available partition type before creating
- Avoid situation where you make 5 or more primaries in an MSDOS partition table. FIXES #953
This commit is contained in:
parent
bd57f1f2f1
commit
90a2e482be
2 changed files with 35 additions and 0 deletions
|
@ -62,6 +62,14 @@ private:
|
|||
void updateFromCurrentDevice();
|
||||
void updateBootLoaderIndex();
|
||||
|
||||
/**
|
||||
* @brief Check if a new partition can be created (as primary) on the device.
|
||||
*
|
||||
* Returns true if a new partition can be created on the device. Provides
|
||||
* a warning popup and returns false if it cannot.
|
||||
*/
|
||||
bool checkCanCreate( Device* );
|
||||
|
||||
QStringList getCurrentUsedMountpoints();
|
||||
|
||||
QMutex m_revertMutex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue