Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!mvb.saic.com!ncr-sd!ncrlnk!ncrstp!npdiss1!mercer From: mercer@npdiss1.StPaul.NCR.COM (Dan Mercer) Newsgroups: comp.unix.internals Subject: Re: What does sync() _really_ do? Message-ID: <799@npdiss1.StPaul.NCR.COM> Date: 21 Dec 90 18:15:40 GMT References: <52328@mcdchg.chg.mcd.mot.com> <1635@lot.ACA.MCC.COM> <5156@segue.segue.com> Reply-To: mercer@npdiss1.StPaul.NCR.COM (Dan Mercer) Organization: StPaul Lines: 29 In article <5156@segue.segue.com> jim@segue.segue.com (Jim Balter) writes: : :In article <1635@lot.ACA.MCC.COM> ables@lot.ACA.MCC.COM (King Ables) writes: :>been processed and removed from the queue. So when the 3rd :>one returned, you knew the first one had actually happened. : :If one insists on believing that people are being rational in typing sync :three times, that's a great hypothesis. However, it has no basis in fact. :While there may a such a sync queue in some kernel somewhere, there isn't one :in any of the common kernels that have had triple syncs directed at them. :(Gee, I hope I haven't violated a non-disclosure agreement by saying so.) : :[This paragraph has been placed here to satisfy some incredibly stupid person :who coded inews to reject insufficiently lengthy new articles. :Oh, that wasn't the intent of the check? Like I said, incredibly stupid. :IMHO, of course.] Save the bandwidth. postnews only checks the number of lines beginning with '>' against the lines not beginning with it. Yes it's dumb. Bypass it by globally changing the leading '>'s. I've mapped 'g' in vi to do just that map g :1,$s/^>/:/^M -- Dan Mercer NCR Network Products Division - Network Integration Services Reply-To: mercer@npdiss1.StPaul.NCR.COM (Dan Mercer) "MAN - the only one word oxymoron in the English Language"