Not enough space on disk error
Bug #786060 reported by
Tony Beville
This bug report is a duplicate of:
Bug #932321: getNumberOfSectors() returns incorrect number.
Edit
Remove
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Image Writer |
Fix Released
|
Medium
|
Tobin Davis |
Bug Description
Running windows 7 pro, with different SD cards, 512MB and 8GB, both get a report saying not enough space for a 250MB file.
I recommend using IOCTL_DISK_
Changed in win32-image-writer: | |
status: | In Progress → Incomplete |
To post a comment you must log in.
Attached patch uses IOCTL_GET_ LENGTH_ INFORMATION to determine device size and leaves the old CHS calculation as fallback if the ioctl fails (supposedly for floppy disks, although I have not tested that scenario).