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

Reply via email to