2005-03-28 Yoshinori K. Okuji <okuji@enbug.org>
* lib/device.c (get_drive_geometry): Use ST.ST_SIZE instead of ST.ST_BLOCKS to get the total number of sectors, because st_blocks is not the same if it is a sparse file.
This commit is contained in:
parent
2b7a7354d9
commit
6884fee4be
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-03-28 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* lib/device.c (get_drive_geometry): Use ST.ST_SIZE instead of
|
||||
ST.ST_BLOCKS to get the total number of sectors, because st_blocks
|
||||
is not the same if it is a sparse file.
|
||||
|
||||
2005-03-19 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* stage2/stage2.c (cmain): Initialize DEFAULT_FILE to an empty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue