VirtualBox

Opened 13 years ago

Closed 13 years ago

#7907 closed defect (fixed)

showhdinfo reports size incorrectly => Fixed in SVN

Reported by: Bitt Faulk Owned by:
Component: other Version: VirtualBox 4.0.0
Keywords: Cc:
Guest type: other Host type: Linux

Description

According to documentation, this should create a hard drive of 100MB:

VBoxManage createhd --filename /mnt/vg0/vms/Ubuntu/Ubuntu/Ubuntu.vdi --size 100

running showhdinfo against that file shows:

% VBoxManage showhdinfo  /mnt/vg0/vms/Ubuntu/Ubuntu/Ubuntu.vdi
...
Logical size:         104857600 MBytes
...

According to data from the guest OS, the hard drive is 100MB.

It seems clear, given that, that showhdinfo is meaning to claim that the logical size is "104857600 Bytes" and not "MBytes".

It's not a huge bug, but it is confusing.

Change History (3)

comment:1 by Paul Kronenwetter, 13 years ago

Just noticed this on 4.0.2...

comment:2 by Frank Mehnert, 13 years ago

Summary: showhdinfo reports size incorrectlyshowhdinfo reports size incorrectly => Fixed in SVN

Thanks for this report! Fixed in SVN and the next maintenance release.

comment:3 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use