Re: [9fans] Disk backup?

2013-03-26 Thread arisawa
Hello, Now I think, pseudo-RAID1 configuration c(/dev/sdC0/fscache){(/dev/sdC0/fsworm)(/dev/sdD0/fsworm)} might be a best solution. I have no experience this configuration. anyone tried it? On 2013/03/25, at 11:04, trebol wrote: >> if you can afford it, i'd make a periodic copy of the dump dev

Re: [9fans] Disk backup?

2013-03-26 Thread arisawa
Hello erik, look free block list in superblocks, and observe their changes. then you will find some of these free blocks are consumed for new file contents. if not, your system and mine is different. On 2013/03/26, at 0:03, erik quanstrom wrote: >> it is better to have efficient backup tool. (b

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread dexen deVries
On Monday 25 of March 2013 19:31:27 aram wrote: > > And how do you manage to browser the web? web is made with Acme and deployed with mk, at least while i am on it. when i needed a HTTP server for an FPS game files (Xonotic), i quickly scribbled a script in Rc. at a measly few dozen lines it h

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread iainws
On Tuesday, 26 March 2013 17:03:14 UTC+11, Kurt H Maier wrote: > On Tue, Mar 26, 2013 at 06:45:33AM +0200, lu...@proxima.alt.za wrote: > > > But it's a strange thing to want to do. A bit like asking for the > > > Ford Model T gear shift in a modern car. > > > > I reject this analogy and the

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread Balwinder S Dheeman
On 03/25/2013 11:57 AM, lu...@proxima.alt.za wrote: >> Yes, I run Go on native Plan9, > > Go breaks away from a number of traditions that have long become > obsolete and that is its main merit. The price is not only in having > to adjust to the change, but also in some sacred cows being > slaught

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread sl
>> It is possible to use computers without also using javascript. > > But it's a strange thing to want to do. A bit like asking for the > Ford Model T gear shift in a modern car. Your addiction to popular web browsers is your own problem. http://img.stanleylieber.com/src/15137/img/1364299588.jpg

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread Rubén Berenguel
I'm starting to wonder why I decided to subscribe to yet another newsgroup, after having unsubscribed from so many in the past for lack of content. I guess I never learn the required lessons. Ruben On Tue, Mar 26, 2013 at 1:07 PM, wrote: > >> It is possible to use computers without also using j

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread hiro
I'm subscribed to this mailgroup so I can find out why other people are subscribed to this mailgroup.

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread dexen deVries
On Tuesday 26 of March 2013 13:11:11 Rubén Berenguel wrote: > I'm starting to wonder why I decided to subscribe to yet another newsgroup, > after having unsubscribed from so many in the past for lack of content. I > guess I never learn the required lessons. as a counterport, picol...@software-lab

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread Rubén Berenguel
That's pretty meta on your part Hiro. I'm here for plan9 knowledge, tips, tricks, news and related things (I guess go is a related thing, although I still have to manage to install it... mercurial screwed me up last time I tried to install it in P9) As for picolisp dexen... Have never checked it (

[9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread Friedrich Psiorz
I'm currently trying to set up a usb-hdd as my root filesystem; I found out, that I have to use partfs to actually see the partitions I create, however they don't show up after the next reboot; i have to use fdisk's and prep's w command (without actualy modifying the partition table), to see the pa

Re: [9fans] Disk backup?

2013-03-26 Thread erik quanstrom
> Hello, > > Now I think, > pseudo-RAID1 configuration > c(/dev/sdC0/fscache){(/dev/sdC0/fsworm)(/dev/sdD0/fsworm)} > might be a best solution. > I have no experience this configuration. > anyone tried it? from iwp9 2e, http://www.quanstro.net/plan9/disklessfs.pdf we take advantage of the mirror

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread Charles Forsyth
On 26 March 2013 12:11, Rubén Berenguel wrote: > I'm starting to wonder why I decided to subscribe to yet another > newsgroup, after having unsubscribed from so many in the past for lack of > content. Any unmoderated list is likely to have bursts of somewhat diffuse exchanges. Normally 9fans is

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread Rubén Berenguel
Where did I put my Raspberry Pi is one of the few questions I don't have :D Currently my worse problem is "I have my router upstairs and HDMI TV downstairs." No chord :( So far I've found the answers I was looking (more or less, still can't get gmail to work with acme/Mail, unknown error :/) but I

Re: [9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread erik quanstrom
On Tue Mar 26 08:52:50 EDT 2013, f.psi...@gmx.de wrote: > I'm currently trying to set up a usb-hdd as my root filesystem; I found > out, that I have to use partfs to actually see the partitions I create, > however they don't show up after the next reboot; i have to use fdisk's > and prep's w comman

Re: [9fans] Disk backup?

2013-03-26 Thread erik quanstrom
On Tue Mar 26 03:28:07 EDT 2013, aris...@ar.aichi-u.ac.jp wrote: > Hello erik, > > look free block list in superblocks, and observe their changes. > then you will find some of these free blocks are consumed for new file > contents. > if not, your system and mine is different. i have seen the sup

Re: [9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread Friedrich Psiorz
I recompiled the kernel as you said, and noticed that it doesn't complain about missing partfs during boot anymore; however there is no additional sd*, still only sdM0 and sdU0.0, which still doesn't show me any partitions. Am 26.03.2013 14:07, schrieb erik quanstrom: > On Tue Mar 26 08:52:50 EDT

Re: [9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread erik quanstrom
On Tue Mar 26 09:48:30 EDT 2013, f.psi...@gmx.de wrote: > I recompiled the kernel as you said, and noticed that it doesn't > complain about missing partfs during boot anymore; however there is no > additional sd*, still only sdM0 and sdU0.0, which still doesn't show me > any partitions. i'm sorry.

Re: [9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread Friedrich Psiorz
Hmm, ok, I'm more confused now than before. do I have to put all partitions there? Or just the 'plan9' partition that fdisk created? Where do I set the environment variable? I tried adding sdB0parts='p1 0 38913' to cmdline.txt, but nothing happens. Am 26.03.2013 14:56, schrieb erik quanstrom: > On

Re: [9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread erik quanstrom
On Tue Mar 26 10:27:02 EDT 2013, f.psi...@gmx.de wrote: > Hmm, ok, I'm more confused now than before. sorry. evidently i'm not good at explaining this. > do I have to put all partitions there? Or just the 'plan9' partition > that fdisk created? put all the partitions in. (but remember, there i

Re: [9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread Friedrich Psiorz
No I get these errors when booting: can't update /dev/sdXX/data's devsd partition table for nvram: partition name already in use: "part nvram 63 64" can't update /dev/sdXX/data's devsd partition table for fossil: partition name already in use: "part fossil 64 99518702" can't update /dev/sdXX/data'

Re: [9fans] Disk backup?

2013-03-26 Thread cinap_lenrek
i looked at kenfs's dumpblock() from /n/sources/extra/fs/fs/dev/cw.c but i do not see what you mean. the code just goes thru the cache looking for a block to dump while trying to get one as close to the previous dumped block address as possible in both directions. (trying to avoid seeks?) can you

Re: [9fans] Disk backup?

2013-03-26 Thread erik quanstrom
> int > cwfree(Device *dev, Off addr) > { > int state; > > if(dev->type == Devcw) { > state = cwio(dev, addr, 0, Ofree); > if(state != Cdirty) > return 1; /* do not put in freelist */ > } > return 0;

Re: [9fans] Disk backup?

2013-03-26 Thread cinap_lenrek
because it is never visited by cwrecur(). the block isnt part of the active filesystem. its just sitting in the freelist. cwrecur() just walks from the root directory down following the trail of dirty modified blocks but it is not walking the freelist. -- cinap

Re: [9fans] Disk backup?

2013-03-26 Thread erik quanstrom
On Tue Mar 26 15:08:13 EDT 2013, cinap_len...@gmx.de wrote: > because it is never visited by cwrecur(). the block isnt part of the > active filesystem. its just sitting in the freelist. cwrecur() just > walks from the root directory down following the trail of dirty > modified blocks but it is not

Re: [9fans] Disk backup?

2013-03-26 Thread erik quanstrom
On Tue Mar 26 15:08:13 EDT 2013, cinap_len...@gmx.de wrote: > because it is never visited by cwrecur(). the block isnt part of the > active filesystem. its just sitting in the freelist. cwrecur() just > walks from the root directory down following the trail of dirty > modified blocks but it is not

Re: [9fans] Disk backup?

2013-03-26 Thread cinap_lenrek
because that worm address is still perfectly usable for storage. i dont know how common this case is tho. maybe you could live with abandoning these worm blocks on dump and get an append only worm structure in return and not waste too much space. -- cinap

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread Bence Fábián
2013/3/25 > > And how do you manage to browser the web? > > 9front did some work on mothra. For trivial javascript > I try charon (which was sufficient to configure my wifi > router). As a last resort I VNC to another operating > system. > > For the vast majority of what I do, mothra is sufficien

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread sl
> but i really like mothra. It's so pure. You just gotta love it. The 9front > guys did a really good job with it. To be clear: Tom Duff created mothra. We made some alterations. -sl

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread Bence Fábián
That's what i meant. May be i wasn't clear. So mothra by Tom is great. And the 9front guys really improved on it. 2013/3/26 > > but i really like mothra. It's so pure. You just gotta love it. The > 9front > > guys did a really good job with it. > > To be clear: > > Tom Duff created mothra. We m

Re: [9fans] Root file system from usb-hdd on raspberry pi

2013-03-26 Thread Friedrich Psiorz
Also, the disk still doesn't show up as sdB0 or sdXX or something like that in /dev; still only sdU0.0 Do I have to do something to make sdB0/sdXX appear? Am 26.03.2013 16:53, schrieb Friedrich Psiorz: > No I get these errors when booting: > > can't update /dev/sdXX/data's devsd partition table f

[9fans] Disk backup?

2013-03-26 Thread trebol
I see a lot of interesting things on this thread, but all of those are beyond my knowledge. I'm just starting to learn programming (K&R), the internal structure of the file system is too much for me now. I'm thinking about mount dump, and copy the /n/dump directory to other system (linux). So my q

[9fans] changes to loader elf generation

2013-03-26 Thread geoff
The loader code to produce ELF or ELF64 binaries is now consolidated into /sys/src/cmd/8l/elf.[ch], and it no longer modifies (in loader-dependent ways) the text-start virtual address to produce a physical equivalent. In the process, bugs such as incorrect byte-order header elements were fixed. T