Lines Matching +full:- +full:- +full:disk
2 // C++ Interface: diskio (Windows-specific components)
4 // Description: Class to handle low-level disk I/O for GPT fdisk
52 // Open the currently on-record file for reading
82 // An extended file-open function. This includes some system-specific checks.
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,
114 // so the file can be re-opened without specifying the filename.
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.
315 DWORD bytes, moreBytes; // low- and high-order bytes of file size in DiskSize()
319 // If disk isn't open, try to open it.... in DiskSize()
327 // on Linux, but I had some problems. IIRC, it ran OK on 32-bit in DiskSize()
328 // systems but not on 64-bit. Keep this in mind in case of in DiskSize()
329 // 32/64-bit issues on MacOS.... in DiskSize()
333 } else { // doesn't seem to be a disk device; assume it's an image file.... in DiskSize()
339 *err = -1; in DiskSize()