int proc_part_device(const char *path, char *device);
Name | Description |
---|---|
path | partition path (e.g. /home) |
device | buffer to put the partition device |
Get the device on which path is mounted (e.g. /dev/hda1).
On success, returns the partition device length. On error, -1 is returned.
proc_part_mount(), proc_part_type()
INDEX |