[9fans] anyone tried fossil on p9p?

2009-01-22 Thread Anthony Sorace
Has anyone gotten fossil (with or without venti) working on p9p, or tried and failed? I've been playing around with a variety of 9vx configurations and want to try booting it off a p9p-hosted fossil (on the same physical box). That's the next project.

Re: [9fans] fun question

2009-01-22 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 22, 2009, at 6:01 PM, erik quanstrom wrote: i assumed that ron was talking about c. Yeah, that's what I thought. Sorry, Russ. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkl5E1IACgkQuv7AVNQDs+xctgCggzbkwZ8Epuu

Re: [9fans] srv funny?

2009-01-22 Thread Russ Cox
>> cpu% mount -n /mnt/term/srv/sources /n/sources >> >> !Adding key: dom=outside.plan9.bell-labs.com proto=p9sk1 >> user[nwf]: > > Why is the terminal able to use /srv/sources to mount /n/sources but the cpu > server isn't able to use exportfs's access to /srv/sources to do the same? mount -n does

[9fans] srv funny?

2009-01-22 Thread Nathaniel W Filardo
I don't undrestand what's going on here: > term% 9fs sources > post... > term% ls -l /n/sources > d-rwxrwxr-x M 38 9grid 9grid 0 Oct 20 2005 /n/sources/9grid > ... > > term% cpu -h phlogiston.acm.jhu.edu > cpu% mount -n /mnt/term/srv/sources /n/sources > > !Adding key: dom=outside.plan9.be

Re: [9fans] fun question

2009-01-22 Thread ron minnich
Erik got it. That code originally was written for a 1s complement machine, the CDC 7200 I believe. I get a kick out of it every time I see something and remember machines with + and - 0 :-) ron

Re: [9fans] fun question

2009-01-22 Thread erik quanstrom
On Thu Jan 22 17:55:55 EST 2009, r...@swtch.com wrote: > >> <- is a unary operator. > > > okay, what does it do? (unless you meant -> in C++) > > it receives from a channel. i assumed that ron was talking about c. in c, "<- 0" tokenizes as "<", "-", and "0". "-" is taken to be a unary operator o

Re: [9fans] fun question

2009-01-22 Thread Russ Cox
>> <- is a unary operator. > okay, what does it do? (unless you meant -> in C++) it receives from a channel. russ

Re: [9fans] fun question

2009-01-22 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 22, 2009, at 5:01 PM, Russ Cox wrote: <- is a unary operator. okay, what does it do? (unless you meant -> in C++) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkl47zYACgkQuv7AVNQDs+wr7ACgi7QtQv4m4TweJlyzLFSHUs

Re: [9fans] fun question

2009-01-22 Thread Russ Cox
On Thu, Jan 22, 2009 at 12:53 PM, ron minnich wrote: > I ask this every time I hit this piece of code, I think. But what the heck: > > if(seed <- 0) >seed = seed + m_31; > > what's wrong with this code? <- is a unary operator. russ

Re: [9fans] fun question

2009-01-22 Thread erik quanstrom
On Thu Jan 22 15:55:09 EST 2009, rminn...@gmail.com wrote: > I ask this every time I hit this piece of code, I think. But what the heck: > > if(seed <- 0) > seed = seed + m_31; > > what's wrong with this code? supposing the code does what it is supposed to on some machines, i would guess t

[9fans] fun question

2009-01-22 Thread ron minnich
I ask this every time I hit this piece of code, I think. But what the heck: if(seed <- 0) seed = seed + m_31; what's wrong with this code? ron

Re: [9fans] file creation time

2009-01-22 Thread Charles Forsyth
>I would never have picked it up without having it pointed out to me. to be fair, in one of the system include files it was commented as ino.h: time_t di_ctime; /* time created */ but it was only a comment. stat(2) was more accurate.

Re: [9fans] file creation time

2009-01-22 Thread erik quanstrom
On Thu Jan 22 14:33:05 EST 2009, 9f...@hamnavoe.com wrote: > > will the real creation time please stand up. > > October 23, 4004 BC. so when we add 8-byte times to 9p2010 Tstat and Wstat, we can add a constant ctime field of -188466825600? or should that just be hardcoded? - erik

Re: [9fans] file creation time

2009-01-22 Thread Richard Miller
> will the real creation time please stand up. October 23, 4004 BC.

Re: [9fans] file creation time

2009-01-22 Thread Charles Forsyth
> Does Plan 9 really not provide for file creation? no, but it wasn't really creation on unix but inode change.

Re: [9fans] file creation time

2009-01-22 Thread lucio
> useful or not, traditional unix ctime never gave the creation time > anyway - it gave inode modification time, which isn't the > same thing at all: it's updated when you do a chmod. Well, that is understandable, if contrary to the principle of least astonishment. Thank you for that gem, I would

Re: [9fans] file creation time

2009-01-22 Thread erik quanstrom
On Thu Jan 22 13:17:59 EST 2009, rogpe...@gmail.com wrote: > 2009/1/22 : > > I do wonder why this field was sacrificed in the file system(s) and > > 9P*? > > useful or not, traditional unix ctime never gave the creation time > anyway - it gave inode modification time, which isn't the > same thing

Re: [9fans] file creation time

2009-01-22 Thread roger peppe
2009/1/22 : > I do wonder why this field was sacrificed in the file system(s) and > 9P*? useful or not, traditional unix ctime never gave the creation time anyway - it gave inode modification time, which isn't the same thing at all: it's updated when you do a chmod.

Re: [9fans] file creation time

2009-01-22 Thread erik quanstrom
On Thu Jan 22 12:54:14 EST 2009, lu...@proxima.alt.za wrote: > > use the dump, luke. ☺ > > If there was an easy, foolproof way to scan the dump by filename, I > presume I could search for the earliest instance and consider that the > time of creation. Not entirely viable, is it? it's hard to giv

Re: [9fans] file creation time

2009-01-22 Thread andrey mirtchovski
On Thu, Jan 22, 2009 at 10:50 AM, wrote: >> use the dump, luke. ☺ > > If there was an easy, foolproof way to scan the dump by filename, I > presume I could search for the earliest instance and consider that the > time of creation. Not entirely viable, is it? > history(1) http://plan9.bell-labs

Re: [9fans] file creation time

2009-01-22 Thread lucio
> use the dump, luke. ☺ If there was an easy, foolproof way to scan the dump by filename, I presume I could search for the earliest instance and consider that the time of creation. Not entirely viable, is it? I do wonder why this field was sacrificed in the file system(s) and 9P*? Or am I dream

Re: [9fans] file creation time

2009-01-22 Thread erik quanstrom
On Thu Jan 22 12:41:10 EST 2009, lu...@proxima.alt.za wrote: > Does Plan 9 really not provide for file creation? > > typedef > struct Dir { > /* system-modified data */ > ushort type; /* server type */ > uintdev;/* server subtype */

[9fans] file creation time

2009-01-22 Thread lucio
Does Plan 9 really not provide for file creation? typedef struct Dir { /* system-modified data */ ushort type; /* server type */ uintdev;/* server subtype */ /* file data */ Qid qid;/

Re: [9fans] SYSTOR 2009---The Israeli Experimental Systems

2009-01-22 Thread Rodolfo kix García
If I remember, when you visit Israel, they put an additional paper in your passport. This paper is removed when you leave the country. Then ... your passport do not have any stamp of Israel ... and you will not have problems visit other countries. Saludos, kix. >> I wonder how much flack I would

Re: [9fans] SYSTOR 2009---The Israeli Experimental Systems

2009-01-22 Thread lucio
> I wonder how much flack I would get from Israeli passport control for > the stamps in my passport. :) What makes you think you'll be allowed back into those countries after visiting Israel? :-) ++L

Re: [9fans] SYSTOR 2009---The Israeli Experimental Systems Conference

2009-01-22 Thread ron minnich
I don't know but that's a good group of people on the committee. I expect they'd be open to more than the usual "how I got linux to be power aware" type papers ... ron

Re: [9fans] SYSTOR 2009---The Israeli Experimental Systems Conference

2009-01-22 Thread John Waters
I wonder how much flack I would get from Israeli passport control for the stamps in my passport. :) On Thu, Jan 22, 2009 at 1:26 PM, Akshat Kumar wrote: > which homie in the hood is going to represent? > > yo > ak > >

Re: [9fans] SYSTOR 2009---The Israeli Experimental Systems Conference

2009-01-22 Thread Akshat Kumar
which homie in the hood is going to represent? yo ak