# 9P2000.u.txt - Definitions of 9P2000.u messages # # Copyright (C) 2024 Luke T. Shumaker # SPDX-Licence-Identifier: AGPL-3.0-or-later # "9P2000.u" Unix extension # https://ericvh.github.io/9p-rfc/rfc9p2000.u.html # https://github.com/ericvh/9p-rfc/blob/master/9p2000.u.xml version "9P2000.u" from 9P2000.txt import * stat += "file_extension[s]" "file_owner_n_uid[4]" "file_owner_n_gid[4]" "file_last_modified_n_uid[4]" Tauth += "n_uname[4]" Rerror += "errno[4]" # # 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