other versions
- stretch 4.9.168-1
ATA_HPA_RESIZE(9) | libata Core Internals | ATA_HPA_RESIZE(9) |
NAME¶
ata_hpa_resize - Resize a device with an HPA setSYNOPSIS¶
int ata_hpa_resize(struct ata_device * dev);
ARGUMENTS¶
devDevice to resize
DESCRIPTION¶
Read the size of an LBA28 or LBA48 disk with HPA features and resize it if required to the full size of the media. The caller must check the drive has the HPA feature set enabled.RETURN¶
0 on success, -errno on failure.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |