Bug 15733 - Partitioning shows empty space between partitions
Summary: Partitioning shows empty space between partitions
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Pascal Terjan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-19 00:48 CEST by Pascal Terjan
Modified: 2015-04-30 21:47 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Pascal Terjan 2015-04-19 00:48:04 CEST
They are probably due to alignment (but the hole was 1.5MB in my test while I thought we aligned on 1MB), but this is not usable for anything so we should not show it.

Also, I don't know why we don't extend the first partition to not leave a hole give that it was auto allocated.

Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-04-19 15:32:16 CEST
AFAIK we align on 2MB now.

CC: (none) => stormi

Samuel Verschelde 2015-04-19 15:32:43 CEST

CC: (none) => tmb

Comment 2 Pascal Terjan 2015-04-19 17:52:55 CEST
The code say 1MB for the start:
http://gitweb.mageia.org/software/drakx/tree/perl-install/partition_table.pm#n35

On dos partition tables we do some complex alignment of the end to cylinder boundary:

http://gitweb.mageia.org/software/drakx/tree/perl-install/partition_table/raw.pm#n92

On gpt ones we only adjust the start and not the end.
Comment 3 Mageia Robot 2015-04-20 00:56:09 CEST
commit 8e034f26d81087858a25b15c779c536887fc95a3
Author: Pascal Terjan <pterjan@...>
Date:   Sun Apr 19 22:55:57 2015 +0000

    hide empty space < 2MB, we have such holes due to alignment (mga#15733)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=8e034f26d81087858a25b15c779c536887fc95a3
Comment 4 Thierry Vignaud 2015-04-30 21:47:11 CEST
Closing

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.