summaryrefslogtreecommitdiff
path: root/9p/misc.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-23 12:35:42 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-23 12:38:38 -0600
commitfbd945a03f2d706bb4d62aab6a607c1694d6d77a (patch)
treea3ab6ae733c3dbb37156b33bdb09aaac521c6d46 /9p/misc.txt
parentc3d212e15ce147f0b0ceaac7a50f9a44831aacb9 (diff)
wip 9p reorg
Diffstat (limited to '9p/misc.txt')
-rw-r--r--9p/misc.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/9p/misc.txt b/9p/misc.txt
new file mode 100644
index 0000000..93aa304
--- /dev/null
+++ b/9p/misc.txt
@@ -0,0 +1,24 @@
+# qid.types
+QTDIR = 1<<7
+QTAPPEND = 1<<6
+QTEXCL = 1<<5
+QTMOUNT = 1<<4 # been around forever, but undocumented?
+QTAUTH = 1<<3
+QTTMP = 1<<2 # added to Plan 9 2003-12
+QTSYMLINK = 1<<1 # .u
+QTFILE = 1<<0
+
+DMDIR = 1<<31
+DMAPPEND = 1<<30
+DMEXCL = 1<<29
+DMMOUNT = 1<<28
+DMAUTH = 1<<27
+DMTMP = 1<<26
+# = 1<<25
+# = 1<<24
+DMDEVICE = 1<<23 # .u
+# = 1<<22
+DMNAMEDPIPE = 1<<21 # .u
+DMSOCKET = 1<<20 # .u
+DMSETUID = 1<<19 # .u
+DMSETGID = 1<<18 # .u