X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Tue, 21 Dec 2004 21:43:02 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c4e795$Blat.v2.2.2$6e49f320@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <41c7daa5$0$180$cc7c7865@news.luth.se> (message from Martin Str|mberg on 21 Dec 2004 08:11:17 GMT) Subject: Re: DMA and PIO (was Re: Problems with timer interrupt chaining and SmartDrv) References: <01c4e368$Blat.v2.2.2$592f6a00 AT zahav DOT net DOT il> <41c5fcca DOT sandmann AT clio DOT rice DOT edu> <01c4e6ce$Blat.v2.2.2$be0d2340 AT zahav DOT net DOT il> <41c73a4d$0$176$cc7c7865 AT news DOT luth DOT se> <01c4e717$Blat.v2.2.2$a07fa340 AT zahav DOT net DOT il> <41c7daa5$0$180$cc7c7865 AT news DOT luth DOT se> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Martin Str|mberg > Date: 21 Dec 2004 08:11:17 GMT > > >> "cat file >/dev/null"? > > > This reads _and_ writes the file. I want something that just reads > > it. > > It doesn't write it to disk. At least I hope so. In fact, it doesn't do anything it all: it is smart enough to see that stdout is redirected to the null device, and exits immediately. So it's no good for a test I wanted to do.