| 66 | #endif |
| 67 | |
| 68 | int interface_check_disk_capacity(disk_t *disk_car) |
| 69 | { |
| 70 | /* Test for LBA28 limitation */ |
| 71 | if(disk_car->geom.sectors_per_head>0 && |
| 72 | disk_car->geom.cylinders == (((1<<28)-1) / disk_car->geom.heads_per_cylinder / disk_car->geom.sectors_per_head)) |
| 73 | { |
| 74 | log_warning("LBA28 limitation\n"); |
| 75 | log_flush(); |
| 76 | #ifdef HAVE_NCURSES |
| 77 | return interface_check_disk_capacity_ncurses(disk_car); |
| 78 | #endif |
| 79 | } |
| 80 | return 0; |
| 81 | } |
no test coverage detected