Skip Tavakkolian | 19 Nov 20:22 2014

Plan 9/ARM port wishlist: ODROID-U3 or XU3

they're well made, priced right, and fast (e.g. compiling Go on linux on rpi is *very* slow when compared with older odroid-u2 with the same config).

Peter Hull | 19 Nov 14:18 2014

cpu/auth/file servers

I've had some success setting up and using plan9 standalone and I have
moved on to trying a networked configuration.

Following the instructions I have set up a combined  cpu/auth server,
and a terminal booting with PXE.

When I boot my terminal it asks for my username (no password) and
starts rio. I can then access my home directory as read-only. I then
run 'cpu', which asks me for a password, and then I can write  my

This doesn't seem right and I think the problem is that I don't really
understand how it's supposed to work. The terminal needs to see the
cpu's filesystem because that's where its root filesystem is coming
from but it shouldn't be able to get to files in /usr/ without a
password, surely. I've used X terminals in the past and I suppose I am
expecting some sort of XDMCP prompt like that.

Can anyone enlighten me or point to the appropriate place in the docs?

Thanks very much,

Mayuresh Kathe | 18 Nov 14:54 2014

using plan9 as the only system!

is there anyone using plan9 as their only system for development activities?
while i do have a 'gui' based networked system (a google chromebook), it
would be nice to immerse myself into the plan9 culture by using the 'os' for
everything i need for software tinkering and development.

Mayuresh Kathe | 18 Nov 14:29 2014

running plan9 : an ideal setup?

i have been trying to get plan9 running on my latest and greatest hp-aio.
failed, even while trying out 9front.
would there be some way to determine an ideal configuration for a machine
to used solely for plan9 experimentation?
also, based on what ever i have read, plan9 seems most at home with a set
of machines in some kind of client-server mode. if this is true, may i
know an ideal setup?


Factotum vs SASL

Hi folks,

I've got the impression that there're some similarities between SASL
(saslauthd) and Factotum - at least at the point that both are
offloading actual authentication handshakes to a separate service.
But I have to admit that I didn't have done a deeper analysis of
these two.

Could anybody with deeper insight perhaps give some detailed
comparison between them ?

Enrico Weigelt,
metux IT consulting

Russ Cox | 17 Nov 04:49 2014 + plan9port on git

i have moved the plan9port sources from mercurial to git. the instructions at are up-to-date: you can still install by downloading a .tgz, or you can use git clone. it's entirely possible i've missed some things. let me know on plan9port-dev or send a code review (see "9 man codereview").

perhaps more substantially, i created a organization. right now it's just plan9port, and i intended to add drawterm. if anyone else wants to host plan9-related things there, i'm happy to add more owners.


arisawa | 16 Nov 05:36 2014

inconsistent comparison?


/sys/lib/mimetype is referenced in three files:
/sys/src/cmd/ip/httpd/content.c	# for outgoing file
/sys/src/cmd/upas/marshal/marshal.c	# for outgoing file
/usr/arisawa/src/upas/vf/vf.c	# for incoming file

the codes are as follows.

	while((p = strrchr(buf, '.')) != nil){
		for(s = suffixes; s; s = s->next){
			if(strcmp(p, s->suffix) == 0){
				if(s->generic != nil && type == nil)
					type = hmkcontent(hc, s->generic, s->specific, nil);
				if(s->encoding != nil && enc == nil)
					enc = hmkcontent(hc, s->encoding, nil, nil);
		*p = 0;

	/* try the mime types file */
	if(p != nil){
		if(mimetypes == nil)
		for(c = mimetypes; c != nil && c->ext != nil; c++)
			if(strcmp(p, c->ext) == 0){
				a->type = c->type;
				a->ctype = c;
				return a;

	for(m = mtypes; m != nil; m = m->next)
		if(cistrcmp(p, m->ext) == 0){
			case 'm':
			case 'y':
				return 0;
			case 'p':
				*p = 0;
				rv = badfile(name);
				*p = '.';
				return rv;
			case 'r':
				return 2;

these codes are in 9front but probably same as both official plan9 and 9atom.
note that vf.c uses cistrcmp() but others use strcmp().
this these are intensional?

Mats Olsson | 15 Nov 20:03 2014

The Best way (easiest) of sending E-MAIL in Plan 9.

What could be considered to be the best (userfriendliness is of
importance) way of sending e-mail from Plan 9? I haven't cracked that
nut yet although I've gotten a lot of help. Would be very grateful for
your point of view in this matter (especially if it helps me to work
this issue out and leave it behind me). I have a lot to learn about
Plan 9 anyway. It's a very special OS and I just love it! Perfect for
the Raspberry Pi in my opinion.

Kind Regards,

cigar562hfsp952fans | 15 Nov 17:15 2014

DigiLand DL701Q quad core tablet

Does anybody know if Plan 9 can run on a DigiLand DL701Q quad core
tablet?  Details here:

In short, it's an Arm Cortex A7 with 512MB DDR3, 8GB NAND flash, 7"
touchscreen, uSD, uUSB AB (OTG), Bluetooth, GPS, and 802.11b/g/n.

trebol | 14 Nov 14:00 2014

e0|e01 on regexp(3)

Using a little script I wrote to rename files, I encounter a funny
behavior with '|'.  If the regular expressions share a part, doesn't
matter the order of those,  The first match from the start of the input
is processed.  Now that I'm writing this, it's seems obviously the
right behavior (and I think it is), for example:

	% echo '123' | sed s'/12|12/o/g' 
	% echo '123' | sed s'/23|12/o/g' 

But in large concatenations with strange characters like in:
	$ echo '__-' | sed s'/_-|_-_|-_|__+ ... and a lot of more cra* ... /__/g'
You could expect the output be '__', but it's '__-'

So... if you are a retard like me, don't try to be such smart and use
various sed commands.


Kenji Arisawa | 14 Nov 08:20 2014

pjpeg in /sys/lib/memetype

Hello 9fans,

It is curious for me that ".jpg" has two lines in /sys/lib/mimetype.
term% grep jpeg /sys/lib/mimetype
.jfif		image		jpeg		-		y
.jfif-tbnl	image		jpeg		-		y
.jpe		image		jpeg		-		y
.jpeg		image		jpeg		-		y
.jpg		image		jpeg		-		y
.jpg		image		pjpeg		-		y

The file is currently consulted by only two applications: mail and httpd.
I have thought that the file provides conventional way to determine mime type from file suffix. If so, what
is the mime time for "foo.jpg"?

Kenji Arisawa