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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:28 +0000 (13:40 -0700)
commitac0949ebe87beb9cc06a4f27ab6be1bd39c2fa3c
treecd590fdbacfd8ddf59dd2ec7bf12f298b4ac55de
parentd590b5b6953304edb000de90335a3b4838b2482c
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