TypeScript API Documentation for GIO UNIX
API Version: 2.0
Library Version: 2.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-rc.7
Deprecated 2.84
Since 2.60
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 a mount created by mount /dev/sda1 /mnt/foo and /bar for mount --bind /mnt/foo/bar /mnt/bar.
/
mount /dev/sda1 /mnt/foo
/bar
mount --bind /mnt/foo/bar /mnt/bar
Deprecated
a GioUnix.MountEntry
a string containing the root, or NULL if not supported
NULL
2.60
since 2.84: Use GioUnix.MountEntry.get_root_path instead.
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 a mount created bymount /dev/sda1 /mnt/fooand/barformount --bind /mnt/foo/bar /mnt/bar.