c12022fd8c
The original intention was to put devskel in to the kernel to detach what it provides from devsrv. That is not a good reason, just move it to userspace. auth/box has been changed to exec skelfs instead of relying on '#z'.
65 lines
1.1 KiB
Text
65 lines
1.1 KiB
Text
.TH SKELFS 4
|
|
.SH NAME
|
|
skelfs \- build directory skeletons
|
|
.SH SYNOPSIS
|
|
.B skelfs
|
|
[
|
|
.B -i
|
|
]
|
|
[
|
|
.B -t
|
|
.I mode
|
|
]
|
|
[
|
|
.B -s
|
|
.I service
|
|
]
|
|
[
|
|
.I mnt
|
|
]
|
|
.SH DESCRIPTION
|
|
.I 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:
|
|
.PP
|
|
.EX
|
|
/
|
|
/echo/
|
|
/echo/echo
|
|
.EE
|
|
.PP
|
|
The
|
|
.I mode
|
|
dictates what form the innermost child file takes. The
|
|
.B file
|
|
and
|
|
.B dir
|
|
modes cause the child to be an empty file or directory
|
|
respecively. The
|
|
.B 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,
|
|
.B file
|
|
is assumed.
|
|
.PP
|
|
The skeletons generated by
|
|
.I skelfs
|
|
are anonmyous. Clients will never see the
|
|
skeletons of other clients, nor can a client revisit
|
|
a previous skeleton.
|
|
.PP
|
|
.SH "SEE ALSO"
|
|
.B auth/box
|
|
in
|
|
.IR auth (8).
|
|
.SH SOURCE
|
|
.B /sys/src/cmd/skelfs.c
|