NAME

unix::mountpoint — Return information about a file mountpoint.

synopsis

wyrm::unix::mountpoint filepath

description

Get information about the mount point of the device the file is on. If the leading characters of the file path do not match the mount point path, such as can happen with symbolic links, it is considerred an error. The returned information is a list of the total size in bytes, available bytes, file system type, mount point path, the mounted device, and the relative path from the mount point to the file.