]> git.baikalelectronics.ru Git - kernel.git/commit
[PARTITION]: Add whole_disk attribute.
authorFabio Massimo Di Nitto <fabbione@ubuntu.com>
Sun, 11 Feb 2007 07:50:00 +0000 (23:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Feb 2007 07:50:00 +0000 (23:50 -0800)
commit7cdfadfd45aaa8809577ff6a7572c824d1e487e5
tree8e005fee2e13134e9ebdd1a3b71ef72b84351b19
parent6f3b59eec45df0455d5e1fdd10c486dac9469af7
[PARTITION]: Add whole_disk attribute.

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: Fabio Massimo Di Nitto <fabbione@ubuntu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
block/ioctl.c
fs/partitions/check.c
fs/partitions/msdos.c
fs/partitions/sgi.c
fs/partitions/sun.c
include/linux/genhd.h