• F
    [PARTITION]: Add whole_disk attribute. · d18d7682
    Fabio Massimo Di Nitto 提交于
    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: NFabio Massimo Di Nitto <fabbione@ubuntu.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    d18d7682
genhd.h 13.7 KB