From owner-freebsd-stable@FreeBSD.ORG Fri Jun 17 12:29:42 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0E0216A41C for ; Fri, 17 Jun 2005 12:29:42 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4501A43D49 for ; Fri, 17 Jun 2005 12:29:41 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j5HCTcwD002160; Fri, 17 Jun 2005 21:59:39 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org, Hannes Mayer Date: Fri, 17 Jun 2005 21:59:20 +0930 User-Agent: KMail/1.8 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9647713.85FnN0jHxR"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506172159.34920.doconnor@gsoft.com.au> X-Spam-Score: -2.4 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: Subject: Re: Kernel module/IPC with userland: create and write to FIFO X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 12:29:43 -0000 --nextPart9647713.85FnN0jHxR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 17 Jun 2005 21:36, Hannes Mayer wrote: > To cut a long story short, how can I open a FIFO in kernel space and > write to it, so I can open and read from it in userspace ? Why don't you create a device node? If you read and write to it, it acts like a FIFO. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart9647713.85FnN0jHxR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCssIu5ZPcIHs/zowRAkTqAJwNehCBLsPXFgBlm43DA69uSigrRgCeMjU5 +O6qNBqj6FiRucSBssCsWhk= =dQM3 -----END PGP SIGNATURE----- --nextPart9647713.85FnN0jHxR--