Lines Matching full:disk
4 // Description: Class to handle low-level disk I/O for GPT fdisk
88 // Close the disk, in case it's already open for reading only.... in OpenForWrite()
113 // Close the disk device. Note that this does NOT erase the stored filenames,
125 // returns an error condition, assume it's a disk file and return a value of
126 // SECTOR_SIZE (512). If the disk can't be opened at all, return a value of 0.
131 // If disk isn't open, try to open it.... in GetBlockSize()
167 // Resync disk caches so the OS uses the new partition table. This code varies
175 // If disk isn't open, try to open it.... in DiskSync()
182 cout << "Disk synchronization failed! The computer may use the old partition table\n" in DiskSync()
183 << "until you reboot or remove and re-insert the disk!\n"; in DiskSync()
185 cout << "Disk synchronization succeeded! The computer should now use the new\n" in DiskSync()
190 cout << "Unable to open the disk for synchronization operation! The computer will\n" in DiskSync()
192 << "re-insert the disk!\n"; in DiskSync()
202 // If disk isn't open, try to open it.... in Seek()
228 // If disk isn't open, try to open it.... in Read()
272 // If disk isn't open, try to open it.... in Write()
312 // Returns the size of the disk in blocks.
319 // If disk isn't open, try to open it.... in DiskSize()
333 } else { // doesn't seem to be a disk device; assume it's an image file.... in DiskSize()