UnixMountEntry.getRootPath

Gets the root of the mount within the filesystem. This is useful e.g. for mounts created by bind operation, or btrfs subvolumes.

For example, the root path is equal to "/" for mount created by "mount /dev/sda1 /mnt/foo" and "/bar" for "mount --bind /mnt/foo/bar /mnt/bar".

class UnixMountEntry
string
getRootPath
()

Return Value

Type: string

a string containing the root, or NULL if not supported.

Meta

Since

2.60