From owner-freebsd-current Thu May 20 2:32:16 1999 Delivered-To: freebsd-current@freebsd.org Received: from blue.bad.bris.ac.uk (blue.bad.bris.ac.uk [137.222.132.60]) by hub.freebsd.org (Postfix) with SMTP id 21BF714C9D for ; Thu, 20 May 1999 02:32:13 -0700 (PDT) (envelope-from matt@blue.bad.bris.ac.uk) Received: (qmail 10243 invoked by uid 58871); 20 May 1999 09:32:11 -0000 Date: Thu, 20 May 1999 10:32:11 +0100 (BST) From: Matt Hamilton Reply-To: Matt Hamilton To: freebsd-current@freebsd.org Subject: mmap() on raw devices Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear All, I am trying to mmap a raw device (/dev/rda0) yet mmap() keeps returning EINVAL. From what I have read on the list archives, mmap() should be able to map a character device (just not a block device), am I missing something here? I have tried this on 3.1-STABLE and 4.0-CURRENT, but no luck. TIA, Matt -------------------------------------------------------------------------------- Matt Hamilton matt.hamilton@acm.org Hamilton Computing +44 (0)797 909 2482 -------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message