From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <60682619.771899.1413721813507.JavaMail.ngmail@webmail24.arcor-online.net> References: <60682619.771899.1413721813507.JavaMail.ngmail@webmail24.arcor-online.net> Date: Sun, 19 Oct 2014 16:32:48 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=f46d04426c5278e7130505c84f85 Subject: Re: [9fans] libc struct Dir field type Topicbox-Message-UUID: 1e6fc9f8-ead9-11e9-9d60-3106f5b1d025 --f46d04426c5278e7130505c84f85 Content-Type: text/plain; charset=UTF-8 On 19 October 2014 13:30, Carsten Kunze wrote: > where is the type field of libc struct Dir documented? In source I found > a compare of field type with the char 'M'. Where can I loop up what 'M' > means? > It's the Unicode character used to identify the device driver within a kernel, and are part of the device driver's Dev value. Only a few have any sort of global significance, and even that's probably a mistake. cat /dev/drivers for the map currently in use. /sys/src/9/port/master tries to keep track of them, but as you'll see some characters are used for several devices (not in use simultaneously in the same kernel) --f46d04426c5278e7130505c84f85 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 19 October 2014 13:30, Carsten Kunze <carsten.kunze@arcor.de&g= t; wrote:
where is the type field of libc struct D= ir documented?=C2=A0 In source I found a compare of field type with the cha= r 'M'.=C2=A0 Where can I loop up what 'M' means?


It's th= e Unicode character used to identify the device driver within a kernel,
and are part of the device driver's Dev va= lue. Only a few have any sort of global
sig= nificance, and even that's probably a mistake.

cat /dev/drivers
for the map currently in use. /sys/src/9/port/master tri= es to keep track of them,
but as you'll= see some characters are used for several devices (not in use simultaneousl= y in the same kernel)
--f46d04426c5278e7130505c84f85--