[9fans] How can I clone the plan9 source code to my local

2016-11-04 Thread Kaviraj Launchyard
Hi everyone, I'm new to Plan9 community. Just wondering how can I clone the source code repo of plan9 to my local. I looked around and found a place to browse the source code online http://plan9.bell-labs.com/sources/plan9/sys/src/ (even this is off line for past 2 days I guess.) but I how ca

Re: [9fans] q re /sys/src/cmd/disk/prep/prep.c:240

2016-11-04 Thread James A. Robinson
On Fri, Nov 4, 2016 at 1:43 PM Steve Simon wrote: > The usual process is to use prep first to create a windows etc > compatible partition table with one big partition called plan9. > then subdivide that. > > see the recipie near the end of the format(1) manpage. > > why part does different things

[9fans] /sys/src/9/port/portfns.h execregs uint vs ulong

2016-11-04 Thread James A. Robinson
While futzing around with rebuilding a kernel, I noticed that 9atom distributed source tree /sys/src/9/port/portfns.h declares void* execregs(uintptr, uint, uint) but /sys/src/9/pc/trap.c declares long execregs(ulong entry, ulong ssize, ulong nargs) which seems to match all the other architectu

Re: [9fans] q re /sys/src/cmd/disk/prep/prep.c:240

2016-11-04 Thread Steve Simon
The usual process is to use prep first to create a windows etc compatible partition table with one big partition called plan9. then subdivide that. see the recipie near the end of the format(1) manpage. why part does different things in automatic mode I don't know. -Steve

[9fans] q re /sys/src/cmd/disk/prep/prep.c:240

2016-11-04 Thread James A. Robinson
So I noticed that if I run disk/prep -b -a^(arenas isect bloom) against my disk it goes ahead and creates a partition table that has arenas starting at sector 0. If I manually create partitions, /sys/src/cmd/disk/prep/prep.c:24 guards against using sectors 0 and 1 unless it's a 9fat partition. Wh