Re: [9fans] exec crashing

2012-05-24 Thread erik quanstrom
On Thu May 24 23:03:19 EDT 2012, burton.samog...@gmail.com wrote: > I'm trying to add a restart feature to my modified rio by calling exec on a > saved argv[0] and copy of argv that has been null terminated, but it crashes > every time. Is there something about exec on plan9 that I should be awar

Re: [9fans] test -w on directory

2012-05-24 Thread erik quanstrom
> some rc scripts seem to assume that test -w should work on > directories. examples are /rc/bin/lp which tests for /tmp > being writable. another is /rc/bin/juke that tests on > /mnt/juke. in both cases, the test returning the wrong result won't easily be noticed. lp just mounts somthing else on

[9fans] test -w on directory

2012-05-24 Thread cinap_lenrek
yesterday. anth_x discovered that test -w on directory always returns false even tho the directory is writable. test works by calling access(AWRITE) on the file which tries a open(OWRITE) on the directory. this always fails because you can't open directory for writing. some rc scripts seem to ass

[9fans] exec crashing

2012-05-24 Thread Burton Samograd
I'm trying to add a restart feature to my modified rio by calling exec on a saved argv[0] and copy of argv that has been null terminated, but it crashes every time. Is there something about exec on plan9 that I should be aware of that's different than unix? -- Burton Samograd

[9fans] formatting the manual from plan9 ports?

2012-05-24 Thread Aharon Robbins
Is there a simple recipe to use p9p troff to format the manual pages from the plan 9 dist? I.e.: Install Plan 9 Ports wget plan9.iso from bell labs mount said iso /some/where 9 rc cd /some/where/sys/man # magic stuff here (Or tar off the dist to re

Re: [9fans] plan 9 in the cloud - amazon ec2

2012-05-24 Thread Richard Miller
> some strange > usage of the word simple By simple I meant you don't have to ask permission, just do it. Andrey's right, technically it's a bit more challenging. But not much.

Re: [9fans] plan 9 in the cloud - amazon ec2

2012-05-24 Thread andrey mirtchovski
> No, it's simple now - the AMI uses pv-grub (paravirtualised grub) as > the "kernel", which then loads the real kernel from an ext2 partition > on your own virtual disk which you control. can't resist to bastardize the guide. "this is obviously some strange usage of the word simple that I wasn't

Re: [9fans] plan 9 in the cloud - amazon ec2

2012-05-24 Thread Richard Miller
> Are there any hoops to jump through to import a VM? When I last > checked, it didn't seem possible to load a non-sanctioned OS image. No, it's simple now - the AMI uses pv-grub (paravirtualised grub) as the "kernel", which then loads the real kernel from an ext2 partition on your own virtual dis

Re: [9fans] plan 9 in the cloud - amazon ec2

2012-05-24 Thread Skip Tavakkolian
Thank you! very nice. Are there any hoops to jump through to import a VM? When I last checked, it didn't seem possible to load a non-sanctioned OS image. -Skip On Thu, May 24, 2012 at 12:47 AM, Richard Miller <9f...@hamnavoe.com> wrote: > I've made a few tweaks to the paravirtualised plan 9 ker

[9fans] public accounts for interested folks at 9srv.net

2012-05-24 Thread John Francis Lee
From: Anthony Sorace Subject: Governance question??? Date: Tue, 15 May 2012 12:08:44 -0400 I wrote a couple of emails to a...@9srv.net but never got a reply ... did I misunderstand what seemed to me to be an invitation, or did my email or the reply get treated as spam, or have I failed the sil

[9fans] plan 9 in the cloud - amazon ec2

2012-05-24 Thread Richard Miller
I've made a few tweaks to the paravirtualised plan 9 kernel in /n/sources/xen/xen3 to make it compatible with the xen environment used in amazon's "elastic compute cloud". There's an example public AMI (in zone eu-west-1) named ami-03c9f377 which can be used to instantiate a cpu server with fossil