[9fans] Dir-type Dir-dev

2008-11-30 Thread Eric Van Hensbergen
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

Re: [9fans] Dir-type Dir-dev

2008-11-30 Thread Eric Van Hensbergen
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

Re: [9fans] Dir-type Dir-dev

2008-11-30 Thread Charles Forsyth
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