% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*bootscreen = 1024x768x16 r5g6b5 0xd1000000 16777216
*e820 = 1 0x0000000000000000 0x000000000009fc00 2 0x000000000009fc00
0x00000000000a0000 2 0x00000000000e0000 0x0000000000100000 1 0x0000000000100000
0x00000000ae72b000 4 0x00000000ae72b000 0x00000000ae92c000 3 0x00000000ae92c000
0x00000000af000000 2 0x00000000af000000 0x00000000bf000000 3 0x00000000bf000000
0x00000000bf02d000 4 0x00000000bf02d000 0x00000000bf031000 3 0x00000000bf031000
0x00000000bfec3000 4 0x00000000bfec3000 0x00000000bfec5000 3 0x00000000bfec5000
0x00000000bfec6000 4 0x00000000bfec6000 0x00000000bfec9000 3 0x00000000bfec9000
0x00000000bfecd000 4 0x00000000bfecd000 0x00000000bfedf000 3 0x00000000bfedf000
0x00000000bfef9000 2 0x00000000bfef9000 0x00000000bfeff000 3 0x00000000bfeff000
0x00000000bff00000 2 0x00000000d3300000 0x00000000d3301000 2 0x00000000f0000000
0x00000000f4000000 2 0x00000000fec00000 0x00000000fec01000 2 0x00000000fee00000
0x00000000fee01000 2 0x00000000ffc00000 0x0000000100000000 2 0x00000000ffc00000
0x0000000100000000 1 0x0000000100000000 0x0000000140000000
bootfile = /386/9pcf
cdboot = yes
monitor = ask
mouseport = ask
vgasize = ask

% cat '#'P/archctl
cpu Core 2/Xeon 2256 pge
pge on
coherence mfence
cmpswap cmpswap486
arch generic
cache default wb
cache 0xc0000000 1073741824 uc
cache 0xbff00000 1048576 uc
cache 0xd1000000 16777216 wc

% cat '#'P/irqalloc
	  1 0 debugexc
	  3 0 debugpt
	  7 0 mathemu
	  8 0 doublefault
	  9 0 mathover
	 14 0 fault386
	 15 0 unexpected
	 16 0 matherror
	 19 0 simderror
	 32 0 clock
	 37 5 ehci
	 38 6 floppy
	 39 7 lpt
	 39 7 ohci
	 42 10 ehci
	 43 11 ohci

% cat '#'P/ioalloc
       0 f dma
      20 21 i8259.0
      40 43 i8253
      61 61 i8253.cntr2c
      70 71 rtc/nvr
      80 8f dma
      a0 a1 i8259.1
      d0 df dma
     2b0 2df vga
     378 37a lpt0
     3c0 3da vga
     3f0 3f5 floppy
     3f7 3f7 floppy
     fff fff dummy

% cat '#'c/config
# pcf - pc terminal with local disk
dev
	root
	cons
	arch
	pnp pci
	env
	pipe
	proc
	mnt
	srv
	shr
	dup
	rtc
	ssl
	tls
	cap
	kprof
	fs

	ether netif
	ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium
	ptclbsum386 inferno

	draw screen vga vgax swcursor
	mouse mouse
	kbd
	vga

	sd
	floppy dma
	aoe
	lpt

	audio dma
	pccard
	i82365 cis
	uart
	usb

	segment
	vmx

link
	segdesc
	devpccard
	devi82365
	cputemp
	apm apmjump
	ether2000 ether8390
	ether2114x pci
	ether589 etherelnk3
	ether79c970 pci
	ether8003 ether8390
	ether8139 pci
	ether8169 pci ethermii
# should be obsoleted by igbe
# ether82543gc pci
	ether82557 pci
	ether82563 pci
	ether82598 pci
	ether83815 pci
	etherbcm pci
	etherdp83820 pci
	etherec2t ether8390
	etherelnk3 pci
	etherga620 pci
	etherigbe pci ethermii
	ethervgbe pci ethermii
	ethervt6102 pci ethermii
	ethervt6105m pci ethermii
	ethersink
	ethersmc devi82365 cis
	etheryuk pci
	etherwavelan wavelan devi82365 cis pci
	etheriwl pci wifi
	etherwpi pci wifi
	etherrt2860 pci wifi
	ethervirtio pci
	ethermedium
	pcmciamodem
	netdevmedium
	loopbackmedium
	usbuhci
	usbohci
	usbehci usbehcipc
	usbxhci pci

	audiosb16 dma
	audioac97 audioac97mix
	audiohda

misc
	archacpi mp apic squidboy ec
	archmp mp apic squidboy
	mtrr

	sdaoe
	sdide pci sdscsi
	sd53c8xx pci sdscsi
	sdmylex pci sdscsi
	sdiahci pci sdscsi led
	sdodin pci sdscsi led
	sdvirtio pci sdscsi
	sdmmc pci pmmc
	sdnvme pci
	sdloop

	uarti8250
	uartisa
	uartpci pci

	vga3dfx +cur
	vgaark2000pv +cur
	vgabt485 =cur
	vgaclgd542x +cur
	vgaclgd546x +cur
	vgact65545 +cur
	vgacyber938x +cur
	vgaet4000 +cur
	vgageode +cur
	vgahiqvideo +cur
	vgai81x +cur
	vgaigfx +cur
	vgamach64xx +cur
	vgamga2164w +cur
	vgamga4xx +cur
	vganeomagic +cur
	vganvidia +cur
	vgaradeon +cur
	vgargb524 =cur
	vgas3 +cur vgasavage
	vgat2r4 +cur
	vgatvp3020 =cur
	vgatvp3026 =cur
	vgavesa
	vgavmware +cur

ip
	tcp
	udp
	rudp
	ipifc
	icmp
	icmp6
	gre
	ipmux
	esp
	il

port
	int cpuserver = 0;

bootdir
	/$objtype/bin/paqfs
	/$objtype/bin/auth/factotum
	bootfs.paq
	boot

% cat '#'c/swap
2922057728 memory
4096 pagesize
65536 kernel
4360/649003 user
0/160000 swap
968064/1048832/240982848 kernel malloc
2162496/4194368/216884564 kernel draw
192/65568/16777216 kernel secret

% cat '#'c/sysstat
	  0 35886 29022 471984 45209 0 0 41 97 0

% awk /^Plan 9/{p=1} /^init: starting/{exit} {if(p)print} '#'c/kmesg
Plan 9
126 holes free
0x0001a000 0x0009f000 544768
0x004ff000 0x0ffff000 263192576
263737344 bytes free
cpu0: 2255MHz GenuineIntel Core 2/Xeon (AX 0001067A CX 0408E3BD DX BFEBFBFF)
ELCR: CCA0
pcirouting: ignoring south bridge PCI.0.3.1 10DE/0AA4
i8042: kbd init failed
usbohci: 0x10de 0xaa5: port 0xd3388000 size 0x1000 irq 11
usbohci: 0x10de 0xaa7: port 0xd3387000 size 0x1000 irq 7
usbehci: 0x10de 0xaa6: port 0xd3389200 size 0x100 irq 10
usbehci: 0x10de 0xaa9: port 0xd3389100 size 0x100 irq 5
2791M memory: 256M kernel data, 2535M user, 3160M swap

/dev/sdUa6bf4: SanDisk Cruzer U 1.26
/dev/sdUa6bf4/data 9660
/dev/sdUa6bf4/dos dos
/dev/sdUa6bf4/esp dos
/shr/sdUa6bf4:
bootargs is (tcp, tls, il, local!device)[local!/dev/sdUa6bf4/data]
user[glenda]:


% pci -v
0.0.0: brg 06.00.00 10de/0a82 0
	NVIDIA Corporation MCP79 Host Bridge
0.0.1: mem 05.00.00 10de/0a88 0
	NVIDIA Corporation MCP79 Memory Controller
0.3.0: brg 06.01.00 10de/0aae 255
	NVIDIA Corporation MCP79 LPC Bridge
0.3.1: mem 05.00.00 10de/0aa4 0
	NVIDIA Corporation MCP79 Memory Controller
0.3.2: smb 0c.05.00 10de/0aa2 15 0:00002181 64 4:00002141 64 5:00002101 64
	NVIDIA Corporation MCP79 SMBus
0.3.3: mem 05.00.00 10de/0a89 0
	NVIDIA Corporation MCP79 Memory Controller
0.3.4: mem 05.00.00 10de/0a98 0
	NVIDIA Corporation MCP79 Memory Controller
0.3.5: proc 0b.40.00 10de/0aa3 14 0:d3300000 524288
	NVIDIA Corporation MCP79 Co-processor
0.4.0: usb 0c.03.10 10de/0aa5 11 0:d3388000 4096
	NVIDIA Corporation MCP79 OHCI USB 1.1 Controller
0.4.1: usb 0c.03.20 10de/0aa6 10 0:d3389200 256
	NVIDIA Corporation MCP79 EHCI USB 2.0 Controller
0.6.0: usb 0c.03.10 10de/0aa7 7 0:d3387000 4096
	NVIDIA Corporation MCP79 OHCI USB 1.1 Controller
0.6.1: usb 0c.03.20 10de/0aa9 5 0:d3389100 256
	NVIDIA Corporation MCP79 EHCI USB 2.0 Controller
0.8.0: aud 04.03.00 10de/0ac0 15 0:d3380000 16384
	NVIDIA Corporation MCP79 High Definition Audio
0.9.0: brg 06.04.01 10de/0aab 255
	NVIDIA Corporation MCP79 PCI Bridge
0.10.0: net 02.00.00 10de/0ab0 14 0:d3386000 4096 1:000021e1 16 2:d3389000 256
3:d3389300 16
	NVIDIA Corporation MCP79 Ethernet
0.11.0: disk 01.01.85 10de/0ab5 11 0:000021d9 16 1:000021ed 16 2:000021d1 16
3:000021e9 16 4:000021c1 16 5:d3384000 8192
	NVIDIA Corporation MCP79 SATA Controller
0.16.0: brg 06.04.00 10de/0aa0 255
	NVIDIA Corporation MCP79 PCI Express Bridge
0.21.0: brg 06.04.00 10de/0ac6 255
	NVIDIA Corporation MCP79 PCI Express Bridge
2.0.0: vid 03.00.00 10de/0863 11 0:d2000000 16777216 1:c000000c 268435456
3:d000000c 33554432 5:00001001 128
	NVIDIA Corporation C79 [GeForce 9400M]
3.0.0: net 02.80.00 14e4/4353 10 0:d3100004 16384
	Broadcom Corporation BCM43224 802.11a/b/g/n

% aux/cpuid
vendor GenuineIntel
procmodel 0001067a / 00020800
typefammod 0 06 016 a
features fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
features pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
features pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave
extmodel 00000000 / 00000000
extfeatures nx lm
extfeatures ahf64
procname Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz
physbits 36
virtbits 48

% aux/icanhasmsi
0.10.0
0.11.0
0.16.0
0.21.0
2.0.0
3.0.0

% aux/pcmcia

% cat '#'u/usb/ctl
ep1.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 7 ohci
ep2.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 5 ohci
ep3.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 7 ehci
ep4.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 0 rootport 0 addr 0 busy
roothub csp 0x000009 ports 5 ehci
ep5.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 1 rootport 1 addr 5 busy
storage csp 0x500608 vid 0x0781 did 0x55a5 SanDisk 'Cruzer U' a6bf4 ehci
ep5.1 enabled bulk r speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 0 port 1
rootport 1 addr 5 busy
ep5.2 enabled bulk w speed high maxpkt 512 pollival 1 samplesz 0 hz 0 hub 0 port 1
rootport 1 addr 5 busy
ep6.0 enabled control rw speed high maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0
port 4 rootport 4 addr 6 idle
239 csp 0x0102ef vid 0x05ac did 0x8507 'Apple Inc.' 'Built-in iSight' 0cb96 ehci
ep6.1 enabled interrupt r speed high maxpkt 8 pollival 32 samplesz 0 hz 0 hub 0
port 4 rootport 4 addr 6 idle
ep6.2 enabled iso r speed high maxpkt 1024 pollival 10 samplesz 4 hz 44100 hub 0
port 4 rootport 4 addr 6 idle
ep7.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 0 port
1 rootport 1 addr 7 busy
hub csp 0x000009 ports 3 'Apple Inc.' 'BRCM2070 Hub' ohci
ep8.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 7 port
1 rootport 1 addr 8 busy
hid csp 0x010103 vid 0x05ac did 0x820a none <nil> 7e7d1 ohci
ep8.1 enabled interrupt r speed full maxpkt 8 pollival 10 samplesz 0 hz 0 hub 7
port 1 rootport 1 addr 8 busy
ep9.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 7 port
2 rootport 1 addr 9 busy
hid csp 0x020103 vid 0x05ac did 0x820b none <nil> 67a70 ohci
ep9.1 enabled interrupt r speed full maxpkt 4 pollival 10 samplesz 0 hz 0 hub 7
port 2 rootport 1 addr 9 busy
ep10.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 7
port 3 rootport 1 addr 10 idle
255 csp 0x0101ff vid 0x05ac did 0x8218 'Apple Inc.' 'Bluetooth USB Host
Controller' d9ce4 ohci
ep10.1 enabled interrupt r speed full maxpkt 16 pollival 1 samplesz 0 hz 0 hub 7
port 3 rootport 1 addr 10 idle
ep10.2 enabled bulk rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 7 port
3 rootport 1 addr 10 idle
ep10.3 enabled iso rw speed full maxpkt 180 pollival 1 samplesz 4 hz 44100 hub 7
port 3 rootport 1 addr 10 idle
ep10.4 enabled bulk rw speed full maxpkt 32 pollival 0 samplesz 0 hz 0 hub 7 port
3 rootport 1 addr 10 idle
ep11.0 enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub 0
port 6 rootport 6 addr 11 busy
hid csp 0x010103 vid 0x05ac did 0x0236 'Apple Inc.' 'Apple Internal Keyboard /
Trackpad' 6f883 ohci
ep11.1 enabled interrupt r speed full maxpkt 64 pollival 2 samplesz 0 hz 0 hub 0
port 6 rootport 6 addr 11 busy
ep11.3 enabled interrupt r speed full maxpkt 10 pollival 8 samplesz 0 hz 0 hub 0
port 6 rootport 6 addr 11 busy
ep11.4 enabled interrupt r speed full maxpkt 8 pollival 8 samplesz 0 hz 0 hub 0
port 6 rootport 6 addr 11 busy

% cat '#'S/sdctl

% cat '#'S/sd[A-Z][0-9]*/ctl

% cat '#'v/vgactl
type vesa
size 1024x768x16 r5g6b5
hwgc soft
hwaccel off
hwblank on
panning off
addr p 0xd1000000 v 0xe0400000 size 0x1000000
softscreen on

@{rfork n; aux/realemu; aux/vga -p}
vesa flag Ulinear|Hlinear|Fsnarf
vesa sig VESA 3.0
vesa oem NVIDIA 98.121
vesa vendor NVIDIA Corporation
vesa product NVIDIA GeForce 9400M
 - mcp79k84
vesa rev Chip Rev
vesa cap 8-bit-dac
vesa mem 14680064
vesa mode 0x100 640x400x8 m8 packed
vesa mode 0x101 640x480x8 m8 packed
vesa mode 0x103 800x600x8 m8 packed
vesa mode 0x105 1024x768x8 m8 packed
vesa mode 0x10e 320x200x16 r5g6b5 direct
vesa mode 0x10f 320x200x32 x8r8g8b8 direct
vesa mode 0x111 640x480x16 r5g6b5 direct
vesa mode 0x112 640x480x32 x8r8g8b8 direct
vesa mode 0x114 800x600x16 r5g6b5 direct
vesa mode 0x115 800x600x32 x8r8g8b8 direct
vesa mode 0x117 1024x768x16 r5g6b5 direct
vesa mode 0x118 1024x768x32 x8r8g8b8 direct
vesa mode 0x130 320x200x8 m8 packed
vesa mode 0x131 320x400x8 m8 packed
vesa mode 0x132 320x400x16 r5g6b5 direct
vesa mode 0x133 320x400x32 x8r8g8b8 direct
vesa mode 0x134 320x240x8 m8 packed
vesa mode 0x135 320x240x16 r5g6b5 direct
vesa mode 0x136 320x240x32 x8r8g8b8 direct
vesa mode 0x13d 640x400x16 r5g6b5 direct
vesa mode 0x13e 640x400x32 x8r8g8b8 direct
vesa mode 0x160 1280x800x8 m8 packed
vesa mode 0x161 1280x800x32 x8r8g8b8 direct
vesa mode 0x162 768x480x8 m8 packed
vesa mode 0x17b 1280x720x32 x8r8g8b8 direct

% xd -x1 '#'r/nvram
0000000 48 4e 03 57 01 6f 03 09 08 17 26 02 50 80 ea ff
0000010 00 ed df ee 0a 80 02 00 3c ff ff ff f3 f7 fd bf
0000020 fe ff ff ff 2f ff ff ff bf fb f8 f5 fb ff 16 ed
0000030 00 3c 20 df bd fe be df f7 eb ff ff 75 00 9f 40
0000040 00 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00
0000050 00 00 00 00 00 00 00 7b 2c 86 80 00 00 00 00 00
0000060 54 4f 4f 42 00 00 00 02 00 00 0b 00 00 00 00 00
0000070 00 00 00 00 00 00 00 00 00 00 00 00 be 33 b9 20
0000080 48 4e 03 57 01 6f 03 09 08 17 26 02 00 80 ea ff
0000090 00 ed df ee 0a 80 02 00 3c ff ff ff f3 f7 fd bf
00000a0 fe ff ff ff 2f ff ff ff bf fb f8 f5 fb ff 16 ed
00000b0 00 3c 20 df bd fe be df f7 eb ff ff 75 00 9f 40
00000c0 00 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00
00000d0 00 00 00 00 00 00 00 7b 2c 86 80 00 00 00 00 00
00000e0 54 4f 4f 42 00 00 00 02 00 00 0b 00 00 00 00 00
00000f0 00 00 00 00 00 00 00 00 00 00 00 00 be 33 b9 20
0000100
0000100

% cat '#'A/audiostat

% cat '#'A/volume

% cat /mnt/apm/ctl