• Fabio Massimo Di Nitto's avatar
    [PARTITION]: Add whole_disk attribute. · d18d7682
    Fabio Massimo Di Nitto authored
    Some partitioning systems create special partitions that
    span the entire disk.  One example are Sun partitions, and
    this whole-disk partition exists to tell the firmware the
    extent of the entire device so it can load the boot block
    and do other things.
    
    Such partitions should not be treated as normal partitions,
    because all the other partitions overlap this whole-disk one.
    So we'd see multiple instances of the same UUID etc. which
    we do not want.  udev and friends can thus search for this
    'whole_disk' attribute and use it to decide to ignore the
    partition.
    Signed-off-by: default avatarFabio Massimo Di Nitto <fabbione@ubuntu.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d18d7682
msdos.c 13.2 KB