OSDN Git Service

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)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 13 Apr 2015 16:42:56 +0000 (00:42 +0800)
commita9a0c2d03b5046068366473156161d86079b07a4
tree940a981ba25341db9a99cb788e1c4a9b5a7d442f
parenta1c83435e752c2fe66562faaebee7d5ae914d1a1
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