block: genhd: Add disk/partition specific uevent callbacks for partition info
authorSan Mehat <san@google.com>
Sat, 10 Oct 2009 16:35:24 +0000 (09:35 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:12 +0000 (13:51 -0800)
commit00074131acec43c74d8e4bf59b9e801eb1c1d75a
treec1ed56431d46e0418ad285b6c6fcdbcb8d83df5d
parentb7b1108e17e89db71936fafb42e2866653af72a5
block: genhd: Add disk/partition specific uevent callbacks for partition info

For disk devices, a new uevent parameter 'NPARTS' specifies the number
of partitions detected by the kernel. Partition devices get 'PARTN' which
specifies the partitions index in the table, and 'PARTNAME', which
specifies PARTNAME specifices the partition name of a partition device

Signed-off-by: Dima Zavin <dima@android.com>
block/genhd.c
block/partition-generic.c