9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Dir->type & Dir->dev
@ 2008-11-30 15:09 Eric Van Hensbergen
  2008-11-30 15:18 ` erik quanstrom
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Van Hensbergen @ 2008-11-30 15:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

The main pages are a little unclear as to the convention for
assignment of dir->type & dir->dev, particularly with respect to
synthetic file servers.  For devices I gather that type is the device
id (ie. 'c' for cons) and that dev is the instance (ie. #I2 for an
alternate IP stack).  Their use seems a bit more slippery when
implementing user space file servers -- particular since type,dev,qid
must(?) be unique per namespace.  Is there a best practices convention
that folks follow or is this something which most ignore and we are
just lucky most of the time?

             -eric



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-30 19:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-30 15:09 [9fans] Dir->type & Dir->dev Eric Van Hensbergen
2008-11-30 15:18 ` erik quanstrom
2008-11-30 16:26   ` Eric Van Hensbergen
2008-11-30 19:07   ` Charles Forsyth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).