proc_part_mount()

Path of a partition

Syntax:

int proc_part_mount(const char *device, char *mount);

Arguments:

Name Description
device device on which path is mounted (e.g. /dev/hda1)
path buffer to put the partition path

Description:

Get the path of a partition (e.g. /dev/hda1).

Return Values:

On success, returns the partition path length. On error, -1 is returned.

See Also:

proc_part_mount(), proc_part_type()



INDEX