From owner-freebsd-questions Tue Feb 12 23:46:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from windmill-en0.garlic.com (windmill-en0.garlic.com [208.195.160.130]) by hub.freebsd.org (Postfix) with ESMTP id 3865537B400 for ; Tue, 12 Feb 2002 23:46:51 -0800 (PST) Received: from blah (130.sm7.dialup.garlic.net [216.139.3.130]) by windmill-en0.garlic.com (8.11.1/8.11.1) with ESMTP id g1D7kkP21990; Tue, 12 Feb 2002 23:46:47 -0800 From: "Remington" To: "'Ruben de Groot'" , Subject: RE: Named Pipes? Date: Tue, 12 Feb 2002 23:47:00 -0800 Message-ID: <000001c1b462$a6d0c8e0$82038bd8@blah> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <008101c1b459$257e2e80$0801a8c0@lan.1729.net> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK I tried mkfifo -m LOG and my /root directory. It created it find but when I edit it on vi it wont save the changes("Warning: LOG is not a regular file; LOG: unmodified, UNLOCKED: line 1") how would I go around thins? -----Original Message----- From: Ruben de Groot [mailto:ruben@1729.net] Sent: Tuesday, February 12, 2002 10:39 PM To: Remington; freebsd-questions@FreeBSD.ORG Subject: Re: Named Pipes? Try mkfifo(1) ----- Original Message ----- From: "Remington" To: Sent: Wednesday, February 13, 2002 5:33 AM Subject: Named Pipes? > Im reading a book on shell scripting. I came acroos something on named > pipes. "you can create special devise devices called named pipes... > Named pipe is a permanent pipe device that exists until it is remived... > named pipes can accept imput from any connamds that write to them. And > then it goes on telling me on how to creat one by using mknod > #mknod LOG p > This doesn't work. Essentialy I want to create one and put in the > following: > #log < LOG > while TRUE > do > read line > echo `date+'%H$M%S'` $line ?? /usr/local/logfile > done > LOG > > How would I accomplish creating a nemed pipe? > > Windows, not worth the CD its burned on. > -Remington > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message