Date: Thu, 20 May 1999 10:32:11 +0100 (BST) From: Matt Hamilton <matt@bad.bris.ac.uk> To: freebsd-current@freebsd.org Subject: mmap() on raw devices Message-ID: <Pine.BSF.3.96.990520102940.10148C-100000@blue.bad.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990520102940.10148C-100000>