SKELFS(4)SKELFS(4)
NAME
skelfs – build directory skeletons
SYNOPSIS
skelfs
[
-i
]
[
-t
mode
]
[
-s
service
]
[
mnt
]
DESCRIPTION
Skelfs
generates directory skeletons
to assist in building namespaces.
Skeletons are generated on demand
by walking through the root directory.
A skeleon is a directory containing a single empty child.
The name of this child is defined by the first walk taken
away from the root. For example the hierarchy for a skeleton
named ’echo’ would be:
/
/echo/
/echo/echo
The
mode
dictates what form the innermost child file takes. The
file
and
dir
modes cause the child to be an empty file or directory
respecively. The
empty
mode instead serves no skeletons, causing the root
directory to always be empty.
A client may override the mode by providing
its own selection as an attach option. If a
mode is not provided,
file
is assumed.
The skeletons generated by
skelfs
are anonmyous. Clients will never see the
skeletons of other clients, nor can a client revisit
a previous skeleton.
SEE ALSO
auth/box
in
auth(8).
SOURCE
/sys/src/cmd/skelfs.c