Re: Background processes setting O_NONBLOCK on ttys

2005-01-13 Thread Stephen McKay
On Thursday, 13th January 2005, Jilles Tjoelker wrote: >POSIX states that the O_NONBLOCK flag is per open file description. File >descriptors created with dup(2), fork(2) or similar methods share the >same open file description, while new descriptors created with open(2) >do not. Can you quote ch

Re: Background processes setting O_NONBLOCK on ttys

2005-01-13 Thread Stephen McKay
On Thursday, 13th January 2005, Peter Jeremy wrote: >On Wed, 2005-Jan-12 23:54:38 +1000, Stephen McKay wrote: >>a) Rewrite file descriptor handling in libc_r so it does not set O_NONBLOCK >>on tty file descriptors unless it is in the foreground. I don't know how >>hard

Background processes setting O_NONBLOCK on ttys

2005-01-12 Thread Stephen McKay
Hi! I'm running FreeBSD 4.11-RC2 on an Athlon 2100+ with 768MB of ram and software mirrored 160GB Seagate disks. All pretty straightforward so far. I'm currently a couple of DAYS into compiling Open Office 1.1.3, and while I can tell you all sorts of stories of trouble and woe, I want to concent

Re: Background processes setting O_NONBLOCK on ttys

2005-01-12 Thread Stephen McKay
On Wednesday, 12th January 2005, Stephen McKay wrote: >[Problems during Open Office compilation on FreeBSD 4.11-RC2] >After some tracing, I have worked out that the tty is being alternately >set to nonblocking and back to normal hundreds of times during the compilation >of Open

Background processes setting O_NONBLOCK on ttys

2005-01-12 Thread Stephen McKay
[You may see this message twice as it got stuck in the ^$&#@ moderation queue.] Hi! I'm running FreeBSD 4.11-RC2 on an Athlon 2100+ with 768MB of ram and software mirrored 160GB Seagate disks. All pretty straightforward so far. I'm currently a couple of DAYS into compiling Open Office 1.1.3, an

Re: dc0: failed to force tx and rx to idle state

2002-07-08 Thread Stephen McKay
On Friday, 5th July 2002, Martin Blapp wrote: >This problem still persists. On my Laptop a ACCTON MiniPCI >100Mbit card does make this output. Then I loose my network >connection. Only a ifconfig down/up of the interface helps. Are you running -current? I did a quick (but safe) hack in -stable

vmiodirenable vs isofs, some proof

2001-10-19 Thread Stephen McKay
About a month ago I suggested that vfs.vmiodirenable=1 and the cd9660 file system interract badly. I have not got absolute proof, but I think fairly good evidence of a causal link. At work I have an Athlon 1.4GHz with 512MB ram, IDE disk, IDE burner running FreeBSD 4.4 (no special options). For

Re: Conclusions on... was Re: More on the cache_purgeleafdirs() routine

2001-09-27 Thread Stephen McKay
On Sunday, 23rd September 2001, Poul-Henning Kamp wrote: >Things to look out for: > >1. !ufs filesystems I am irredeemably slack for not testing this a lot but... I believe I saw bad interactions between vmiodirenable and isofs on 4.3-R. I mounted a CD, looked at stuff on it, did a lot of othe

Re: more on latency

2001-07-10 Thread Stephen McKay
On Monday, 9th July 2001, Terry Lambert wrote: >Kenneth Wayne Culver wrote: >> >> I think I found the reason that my FreeBSD box is performing >> so poorly as a NATing router. When I do an ipnat -l to see >> what "active connections" are there on the router, a list >> about 3 pages long (using i

Re: pipe

2000-12-06 Thread Stephen McKay
On Wednesday, 6th December 2000, Dag-Erling Smorgrav wrote: >"G. Adam Stanislav" <[EMAIL PROTECTED]> writes: >> I know it addresses it. Unfortunately, I didn't understand a word of it. > MAP_ANONMap anonymous memory not associated with any specific file. > The file descri

Re: pipe

2000-12-04 Thread Stephen McKay
On Sunday, 3rd December 2000, "G. Adam Stanislav" wrote: >On Sat, Dec 02, 2000 at 10:12:56AM -0700, Wes Peters wrote: >>Yes, you can read from your own pipe, and yes the buffering availabe in >>the pipe is limited. IIRC, the pipe size is 8K. > >Thank you. In that case I'll be better off using ch

Re: Human readable df

1999-11-30 Thread Stephen McKay
On Tuesday, 30th November 1999, Dan Nelson wrote: >In the last episode (Nov 30), Stephen McKay said: >> If anything, I want a 'df -m' option that does this: >> >>[snip] >Just set BLOCKSIZE to your preferred unit. > >$ BLOCKSIZE=1M df > >Filesystem

Re: Human readable df

1999-11-30 Thread Stephen McKay
On Tuesday, 30th November 1999, Warner Losh wrote: > FilesystemSize UsedAvail Capacity Mounted on > /dev/da0s1a 62.0M 31.0M 26.1M54% / > /dev/da0s1e 192M 167M 9.22M95% /usr > /dev/da0s1d 61.4M 11.3M 45.2M20% /var > /dev/da0s1f 288M 247M 18.4M9

Re: Unquoted mail (was: aio_read kills machine)

1999-10-13 Thread Stephen McKay
On Tuesday, 12th October 1999, Greg Lehey wrote: >On Monday, 11 October 1999 at 20:39:11 -0500, Matthew D. Fuller wrote: >> On Tue, Oct 12, 1999 at 11:04:50AM +0930, a little birdie told me >> that Greg Lehey remarked >>> >>> What mailer are you using? It didn't quote the "From " at the >>> begi

Re: softupdates on root partition, no floppy

1999-07-19 Thread Stephen McKay
On Saturday, 17th July 1999, Matthew Dillon wrote: >:Is there any way to force softupdate on on a mounted system, or do I have to >:either move the / to another machine, or move a floppydrive to this machine? > >If you boot single-user, root will be mounted read-only and you should >be abl

Re: softupdates on root partition, no floppy

1999-07-18 Thread Stephen McKay
On Saturday, 17th July 1999, Matthew Dillon wrote: >:Is there any way to force softupdate on on a mounted system, or do I have to >:either move the / to another machine, or move a floppydrive to this machine? > >If you boot single-user, root will be mounted read-only and you should >be ab

Re: symlink question

1999-06-14 Thread Stephen McKay
On Monday, 14th June 1999, "Jordan K. Hubbard" wrote: >> symlinks have caused me grief (Pyramid OSx) and never joy. I hope it fails >> yet again to appear in FreeBSD. Just think of the new security holes for a >> start. > >Name one, please. You can currently point a symlink anyplace you >like;

Re: symlink question

1999-06-14 Thread Stephen McKay
On Sunday, 13th June 1999, "Chuck Youse" wrote: >Forgive my ignorance, but what exactly is meant by a "variant link", and >what might one be used for? Abused, not used. A number of incredibly dodgy things can be done with symlinks that point here at one moment and there at another moment based o