Show size of partition. This should work even if the FS module is not on the image..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28316 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer 2008-10-24 20:46:50 +00:00
parent c2006b1a52
commit 2643c0dddd

View File

@ -195,7 +195,7 @@ PartitionRecorder::_Record(BPartition* partition)
message.AddString("type", type);
message.AddString("path", partitionPath.Path());
message.AddInt8("drive", fDrive);
message.AddInt64("size", partition->ContentSize());
message.AddInt64("size", partition->Size());
// Specific data
off_t offset = partition->Offset();
message.AddInt64("offset", offset);