Skip to content

Identities

LoonFS identifies resources at three levels: namespaces, inodes, and paths.

A namespace is the root-level identity for a collection of files and folders. A “drive” or “collection” are analogous concepts in other cloud drive platforms. Operations within a namespace support a high degree of isolation and consistency; cross-namespace operations are not isolated.

Within a namespace, inodes are the immutable canonical identity for resources. LoonFS currently supports two types of inodes: files and directories.

In LoonFS, paths are mutable “views” that can be used to identify inodes. Paths are useful as resource identifiers, but because they can change (when inodes are moved or renamed), they are not used as the canonical identity for any resource.

Paths can be used for many LoonFS operations as inode aliases, but under the hood these operations resolve the path into an inode lookup and then perform the operation using the resolved inode. For some workflows, working with inode IDs directly ensures predictable behavior — especially in cases with many writers.