> 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.
--- "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
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,
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.
--- "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
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
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
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