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
On Sun, Nov 30, 2008 at 9:18 AM, erik quanstrom [EMAIL PROTECTED] wrote:
there is a dir.type and a dir.qid.type. i believe these are different.
the comment above dir.type in /sys/include/libc.h says that it's
system modified. and, e.g. /mail/fs shows up as from the mount
driver. the
Qid.type is defined to be equal to the top 8 bits of mode (see stat(5))
and type and dev are defined to be for kernel use (also stat(5))
which is fine if you're not in the kernel.
but what if you are? type is just the device [unicode] letter,
and dev is assigned by the device, and might be the