Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site megad.UUCP Path: utzoo!linus!philabs!sbcs!megad!seth From: seth@megad.UUCP (Seth H Zirin) Newsgroups: net.unix-wizards Subject: Re: tar fs copy Message-ID: <201@megad.UUCP> Date: Wed, 2-Oct-85 10:09:09 EDT Article-I.D.: megad.201 Posted: Wed Oct 2 10:09:09 1985 Date-Received: Mon, 7-Oct-85 06:44:19 EDT References: <832@burl.UUCP> <221@drivax.UUCP> <842@burl.UUCP> <240@investor.UUCP> <233@drivax.UUCP> <249@investor.UUCP> <239@drivax.UUCP> Organization: The Bohemian Pleasure Dome Lines: 26 > > How big is the pipe? I read somewhere pipes use the root file system, > > which on our computer has about 1100 free blocks. Yet, I have used > > cphier to transfer, for example, the entire netnews source, including > > rn, from one drive to another. All I created was the highest level > > directory. Cphier made all the rest. Will it sometimes work and sometimes > > fail on a transfer of this size? > > Pipes use an inode on the root file system. They are limited to 5120 bytes > on System V, and 4096 on some other systems, by code in the kernel. Not entirely true, pipes do use an inode, but its from the "pipedev" not the "rootdev" in SIII and SV. The "pipedev" is however usually the same as the "rootdev", although it doesn't have to be. The data in pipes is stored in blocks of the buffer cache. When the buffer cache fills and a buffer is needed for perhaps another process, the data from a pipe could find itself physically on the disk (especially with named pipes). I have seen instances (SIII) where the system crashed or was rebooted when there was data in opened named pipes, and the data remained accessable after reboot. If both ends of the named pipe are closed before reboot, the data is flushed. -- ------------------------------------------------------------------------------- Name: Seth H Zirin UUCP: {decvax, ihnp4}!philabs!sbcs!megad!seth Keeper of the News for megad