Searched refs:baseFD (Results 1 – 1 of 1) sorted by relevance
/haiku/src/bin/makebootable/platform/bios_ia32/ |
H A D | makebootable.cpp | 448 int baseFD = open(baseDeviceName, O_RDONLY); in main() local 449 if (baseFD < 0) { in main() 457 if (ioctl(baseFD, DIOCGMEDIASIZE, &deviceSize) == -1) { in main() 466 get_partition_offset(baseFD, 0, deviceSize, 512, in main() 503 int baseFD = open(baseDeviceName, O_RDONLY); in main() local 504 if (baseFD < 0) { in main() 514 if (ioctl(baseFD, BLKGETSIZE64, &deviceSize) == 0 in main() 517 } else if (ioctl(baseFD, HDIO_GETGEO, &geometry) == 0) { in main() 529 get_partition_offset(baseFD, 0, deviceSize, 512, in main() 548 int baseFD = open(baseDeviceName, O_RDONLY); in main() [all …]
|