summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorJacob Moody <moody@posixcafe.org>2022-06-07 05:25:44 +0000
committerJacob Moody <moody@posixcafe.org>2022-06-07 05:25:44 +0000
commitf4840cdba548979969cb2ad25b4c6acbc3e63f8c (patch)
treea07a794da0807fdb331942f7fb7b9f37ea38e287 /sys/man
parentdf92301d8fc8310fbfdf3de91b97a156ca0504d4 (diff)
kernel: add devskel for pc and pc64
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/3/skel35
1 files changed, 35 insertions, 0 deletions
diff --git a/sys/man/3/skel b/sys/man/3/skel
new file mode 100644
index 000000000..cc8dfbc17
--- /dev/null
+++ b/sys/man/3/skel
@@ -0,0 +1,35 @@
+.TH SKEL 3
+.SH NAME
+skel \- skeleton builder
+.SH SYNOPSIS
+.B bind #z/\fIskel\fR
+.I dir
+.PP
+.B bind #zd/\fIskel\fR
+.I dir
+.PP
+.B bind #ze/
+.I dir
+.SH DESCRIPTION
+.PP
+This device serves a single child directory with a single empty child
+file. The name of these files is determined by the first walk away
+from the root. After which, the hierarchy for that attached session
+becomes stable. The
+.B d
+attach option causes the child file to be an empty directory. The
+.B e
+attach option presents a completly empty root directory.
+.SH EXAMPLES
+Skeleton files can be used for constructing arbitrary bind targets.
+.EX
+.IP
+bind -b '#zd/newroot' /
+bind '#zd/bin' /newroot
+bind '#z/walk' /newroot/bin
+bind /bin/walk /newroot/bin/walk
+bind /newroot /
+walk /
+.EE
+.SH SOURCE
+.B /sys/src/9/port/devskel.c