New API: part-to-dev: Convert partition name to device name.
authorRichard Jones <rjones@redhat.com>
Wed, 15 Sep 2010 15:39:36 +0000 (16:39 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 15 Sep 2010 16:16:51 +0000 (17:16 +0100)
commitffd4820ffe953b0583e3a9357e37d74bed3a2320
treef092d285f9c29c7bec17efdbe2cd16a55d168179
parentff38fea645e69e8f4d84f2691dac3116d9bac1c4
New API: part-to-dev: Convert partition name to device name.

This adds a formal API for going from a partition to the containing
device, eg. /dev/sda1 -> /dev/sda
daemon/devsparts.c
generator/generator_actions.ml
src/MAX_PROC_NR