Synopsis
-, _, . only, max 256 bytes), and a set of runners that store encrypted chunks. The CLI is a thin wrapper around the cbfs-mount and cbfs-cat binaries for chain-aware key resolution.
Subcommands
cowboy volume mount
Mount a CBFS volume as a FUSE filesystem.
Behavior:
- Look up the volume record on-chain for the owner + name.
- Resolve the volume’s encryption key (from
--key-fileif supplied, or derived from the owner’s private key). - Invoke
cbfs-mountwith the runner set and key to present the volume at--mount-point.
cowboy volume cat
Read a single file from a volume without mounting.
Behavior:
- Look up the volume record and resolve the encryption key (as above).
- Invoke
cbfs-catfor the specified path, writing bytes to--outputor stdout.
cowboy volume info
Show on-chain metadata for a volume: owner, runner set, quota, and manifest root.
Flags:
Example
Edge Cases
- Invalid name — Names outside the allowed alphabet (alphanumeric +
-_.) are rejected before any RPC call. - Missing cbfs binaries — Commands fail fast with a clear “
cbfs-mountnot found on PATH” error. Override with--cbfs-mount/--cbfs-cat. - Unauthorised reader — If the caller isn’t the owner and has no entitlement, key resolution fails locally (the encrypted chunks are useless without a valid key).

