int proc_part_type(const char *path, char *type);
Name | Description |
---|---|
path | partition path (e.g. /home) |
type | buffer to put the partition type |
Get the filesystem type of a partition (e.g. ext3, vfat, ...).
On success, returns the partition path length. On error, -1 is returned.
proc_part_mount(), proc_part_device()
INDEX |