Re: hostname again.

2002-03-06 Thread Roland McGrath
> Roland, can you compare the current behavior of dir-mkfile.c with the > open mode bits, and make a suggestion about what you think we should > do? This is our own function, so we can tweak the semantics as we > please. I changed it to mask out the same bits as done in dir_lookup.

Re: hostname again.

2002-02-05 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > Actually, O_READ, O_WRITE, O_EXEC are the only things that can be > > turned on. > > No, O_APPEND, the O_*SYNC flags, and so forth, are all meaningfull. > Humm, I seem to be missing som

Re: hostname again.

2002-02-04 Thread Thomas Bushnell, BSG
James Morrison <[EMAIL PROTECTED]> writes: > Actually, O_READ, O_WRITE, O_EXEC are the only things that can be > turned on. No, O_APPEND, the O_*SYNC flags, and so forth, are all meaningfull. > So O_CREAT, O_TRUNC are ignorned. Should libnetfs be > change to limit the usable flags to O_READ,

Re: hostname again.

2002-02-01 Thread James Morrison
It seems my assumption of Rolands patch being in the debian tree is wrong. --- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > - err = __dir_mkfile (dir, O_WRONLY, 0644, &new); > > + err = __dir_mkfile (dir, O_WRITE, 0644, &new); > > Hrm.

Re: hostname again.

2002-01-31 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > Before I get to the patch, here is an interesting error: > > > > Fatal error, aborting. > > load average of 17 is too high > > From where? > I tried to run cvs diff -u and I got that erro

Re: hostname again.

2002-01-31 Thread Thomas Bushnell, BSG
James Morrison <[EMAIL PROTECTED]> writes: > Before I get to the patch, here is an interesting error: > > Fatal error, aborting. > load average of 17 is too high >From where? ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/lis

Re: hostname again.

2002-01-31 Thread Thomas Bushnell, BSG
James Morrison <[EMAIL PROTECTED]> writes: > - err = __dir_mkfile (dir, O_WRONLY, 0644, &new); > + err = __dir_mkfile (dir, O_CREAT|O_WRITE, 0644, &new); Hrm. O_WRITE is surely better than O_WRONLY, but they are equal in fact. And the implementation of dir-mkfile.c in libdiskfs always turn

hostname again.

2002-01-30 Thread James Morrison
I finally got to understanding the change that was made in libc/hurd/set-host.c by Roland a couple months ago. However, his fix still has the same problem. I have the debian libc0.2 package installed which is from Jan 04 so I assume it has Rolands fix. Before I get to the patch, here is an