• Andries E. Brouwer's avatar
    [PATCH] restore BLKRRPART semantics · 6695ad97
    Andries E. Brouwer authored
    In 2.6.8 the code for the BLKRRPART ioctl was changed
    to return EIO when no partitions were found, such as
    on an empty disk. This breaks some partitioning programs
    and is also confusing: "Input/Output error" while in fact
    nothing was wrong with this brand new all blank disk.
    
    This restores old behaviour.
    6695ad97
check.c 10.6 KB