summaryrefslogtreecommitdiff
path: root/lib9p/misc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/misc.txt')
-rw-r--r--lib9p/misc.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib9p/misc.txt b/lib9p/misc.txt
new file mode 100644
index 0000000..93aa304
--- /dev/null
+++ b/lib9p/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