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>
Sat, 13 Dec 2014 10:39:36 +0000 (18:39 +0800)
commitb67a2db05d748b13fa7e7fa2a4678eb4aac1f00f
tree77d4a083994b78ed08444d9a960da536ad84d0a0
parent8e33f41585a9c86471870b3dfe06c97f7cf7bf53
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