summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authorJacob Moody <moody@posixcafe.org>2022-06-15 06:42:05 +0000
committerJacob Moody <moody@posixcafe.org>2022-06-15 06:42:05 +0000
commitc12022fd8c434860accb237b9bad9bd7cd9ed2db (patch)
treef3651ec0e98313f83a3dce393a53910e1953f359 /sys/man/4
parentc7c0ff5db6137662e435d66338cfa4e68c64598e (diff)
skel(3) → skelfs(4)
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'.
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/skelfs65
1 files changed, 65 insertions, 0 deletions
diff --git a/sys/man/4/skelfs b/sys/man/4/skelfs
new file mode 100644
index 000000000..7168c92f3
--- /dev/null
+++ b/sys/man/4/skelfs
@@ -0,0 +1,65 @@
+.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