* util/biosdisk.c (open_device): Do not modify sector offset when
accessing a partition. kern/disk.c already handles this for us.
+2008-06-06 Robert Millan <rmh@aybabtu.com>
+
+ * util/biosdisk.c (open_device): Do not modify sector offset when
+ accessing a partition. kern/disk.c already handles this for us.
+
2008-06-06 Robert Millan <rmh@aybabtu.com>
* util/grub-emu.c (grub_machine_init): Move code in this function from
/* Make the buffer cache consistent with the physical disk. */
ioctl (fd, BLKFLSBUF, 0);
-
- if (is_partition)
- sector -= disk->partition->start;
}
#else /* ! __linux__ */
fd = open (map[disk->id].device, flags);