|
Bugzilla – Full Text Bug Listing |
| Summary: | [Agama][Milestone8+] Software needs to check the available space | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Lukas Ocilka <locilka> |
| Component: | Installation | Assignee: | YaST Team <yast-internal> |
| Status: | CONFIRMED --- | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aschnell, lslezak |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| URL: | https://trello.com/c/0UCd9tV7 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | YaST logs | ||
|
Description
Lukas Ocilka
2024-05-27 14:39:28 UTC
YaST/libzypp can already evaluate the used space, we just need to pass the proposed partitioning schema from libstorage-ng to libzypp and then check the libzypp result (fits/out of space). BTW the logic in the YaST module already tries to estimate the really available space. It even tries to estimate the journal log size for several file systems like XFS: https://github.com/yast/yast-packager/blob/af6703078dcbe156efc11e808b68410ba98e2f29/src/modules/SpaceCalculation.rb#L250-L277 (Thought I do not know if that code is still up to date, it is 11+ years old...) Moving to our Trello task queue. |