VirtualBox

Ticket #7907 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

showhdinfo reports size incorrectly => Fixed in SVN

Reported by: wfaulk Owned by:
Priority: minor 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

comment:1 Changed 3 years ago by kronenpj

Just noticed this on 4.0.2...

comment:2 Changed 3 years ago by frank

  • Summary changed from showhdinfo reports size incorrectly to showhdinfo reports size incorrectly => Fixed in SVN

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

comment:3 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use