Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-02 Thread smiley
Enjoy... /$objtype/mkfile CFLAGS=-FTVwp binaries=app headers=important.h tarfile=app.tgz srcfiles=${binaries:%=%.c} $headers mkfile objfiles=${binaries:%=%.$O} all:V: $binaries app.$O: important.h %.$O: %.c $CC $CFLAGS $prereq %: %.$O $LD $LDFLAGS -o $target $prereq

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread erik quanstrom
least for me). Then I don't have to worry about whether I screwed up a file system setup: that's what distributed repos are for. hg isn't a filesystem. - erik

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread Eric Van Hensbergen
http://www.ueber.net/code/r/hgfs ? I'm sure its not the only one On Tue, Feb 1, 2011 at 8:49 AM, erik quanstrom quans...@labs.coraid.com wrote: least for me). Then I don't have to worry about whether I screwed up a file system setup: that's what distributed repos are for. hg isn't a

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread erik quanstrom
On Tue Feb 1 10:01:54 EST 2011, eri...@gmail.com wrote: http://www.ueber.net/code/r/hgfs ? I'm sure its not the only one but it is quite distinct in concept from a cwfs no? - erik

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread Eric Van Hensbergen
doesn't mean its not a file system -- nothing saying such things can't be layered. On Tue, Feb 1, 2011 at 9:18 AM, erik quanstrom quans...@labs.coraid.com wrote: On Tue Feb  1 10:01:54 EST 2011, eri...@gmail.com wrote: http://www.ueber.net/code/r/hgfs ? I'm sure its not the only one but

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread erik quanstrom
On Tue Feb 1 10:40:33 EST 2011, eri...@gmail.com wrote: doesn't mean its not a file system -- nothing saying such things can't be layered. hg itself is not a file system, and i would imagine if one layered hgfs on top, one would either need to manually trigger dumps, or one wouldn't want to

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread Charles Forsyth
Then set up a repo on a free place like bitbucket. or github. wasn't that in the news lately?

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread Eric Van Hensbergen
On Tue, Feb 1, 2011 at 9:45 AM, erik quanstrom quans...@labs.coraid.com wrote: On Tue Feb  1 10:40:33 EST 2011, eri...@gmail.com wrote: doesn't mean its not a file system -- nothing saying such things can't be layered. hg itself is not a file system, and i would imagine if one layered hgfs

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread erik quanstrom
Is fossil not a file system if it doesn't maintain a disk cache and only dumps to venti? Perhaps our disagreement would be solved by saying that its not a disk file system. Don't you oppress me we with narrow minded views of what a file system is and isn't. my narrow views? perhaps you've

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread ron minnich
On Tue, Feb 1, 2011 at 6:49 AM, erik quanstrom quans...@labs.coraid.com wrote: least for me). Then I don't have to worry about whether I screwed up a file system setup: that's what distributed repos are for. hg isn't a filesystem. hg is not a lot of things. It is one thing, however, and the

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread ron minnich
On Tue, Feb 1, 2011 at 8:45 AM, erik quanstrom quans...@quanstro.net wrote: Is fossil not a file system if it doesn't maintain a disk cache and only dumps to venti?  Perhaps our disagreement would be solved by saying that its not a disk file system.  Don't you oppress me we with narrow minded

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread Federico G. Benavento
Two means, one end: don't lose that .h file! I'm still waiting to see that crazy mkfile... -- Federico G. Benavento

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-31 Thread smiley
John Floren j...@jfloren.net writes: I've continually meant to write some sort of beginners-level summary of the system including things like Fossil and Venti, but the magnitude of the task is daunting. I may try to do a more clear description of how the filesystems work together in the near

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-31 Thread Federico G. Benavento
have you checked the wiki? http://www.plan9.bell-labs.com/wiki/plan9/Documentation/ there are tons of articles on Using this or that, a recommended readings section and even a UNIX to Plan 9 command translation. there's also: http://www.quanstro.net/newbie-guide.pdf On Tue, Feb 1, 2011 at

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-31 Thread John Floren
Writing a newbie guide is a newbie rite of passage :) John On Mon, Jan 31, 2011 at 10:47 PM, Federico G. Benavento benave...@gmail.com wrote: have you checked the wiki? http://www.plan9.bell-labs.com/wiki/plan9/Documentation/ there are tons of articles on Using this or that, a recommended

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-31 Thread ron minnich
On Sat, Jan 29, 2011 at 2:47 PM, smi...@zenzebra.mv.com wrote: I'm REALLY hoping someone can help me with this... BTW, apropos this sad tale, go ahead and install python and mercurial on your plan 9 system. Then set up a repo on a free place like bitbucket. Voila, standard tools, which make

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-31 Thread Federico G. Benavento
8l $LDFLAGS -o important.h important.h.8 I'm interested in seeing this mkfile which causes mk misbehavior -- Federico G. Benavento

[9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-29 Thread smiley
I'm REALLY hoping someone can help me with this... For some reason, mk decided it would be fun to run the following command for me: 8l $LDFLAGS -o important.h important.h.8 Of course, this overwrote important.h, a file containing C macros I spent all day writing. I tried mounting dump, but get

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-29 Thread Steve Simon
sorry this happened to you. is this native plan9, p9p, or 9vx? so, are you using fossil or do you run cwfs or kfs or somthing else? do you definitely have fossil and venti running? a missing archive/main looks like you don't have archival dumps enabled in fossil.conf? perhaps you have

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-29 Thread erik quanstrom
For some reason, mk decided it would be fun to run the following command for me: 8l $LDFLAGS -o important.h important.h.8 sounds like important.h was the target and a rule like this was chosen: %: %.$O $CC $CFLAGS $stem $stem.$O Fortunately, there's a magic string in important.h

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-29 Thread smiley
Steve Simon st...@quintile.net writes: is this native plan9, p9p, or 9vx? I'm running the stock 386 distribution, on a real hard drive on real hardware. I figured learning a new OS would be simpler without having to think about what's virtual versus what's real, versus what's Linux. do you

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-29 Thread John Floren
On Sat, Jan 29, 2011 at 5:16 PM, smi...@zenzebra.mv.com wrote: Steve Simon st...@quintile.net writes: is this native plan9, p9p, or 9vx? I'm running the stock 386 distribution, on a real hard drive on real hardware.  I figured learning a new OS would be simpler without having to think

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-29 Thread erik quanstrom
I have no idea.  I just chose the default installation options, installing from the CD following the install instructions.  As far as I know, Venti is a volcano in Italy. In that case, you'll only have Fossil installed. and here i thought that venti was a swimming pool of rather bland

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-29 Thread John Floren
On Sat, Jan 29, 2011 at 8:49 PM, erik quanstrom quans...@quanstro.net wrote: I have no idea.  I just chose the default installation options, installing from the CD following the install instructions.  As far as I know, Venti is a volcano in Italy. In that case, you'll only have Fossil