From owner-freebsd-hackers Sat Sep 14 18: 1: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 221E437B400 for ; Sat, 14 Sep 2002 18:01:07 -0700 (PDT) Received: from web13104.mail.yahoo.com (web13104.mail.yahoo.com [216.136.174.149]) by mx1.FreeBSD.org (Postfix) with SMTP id E8FF043E3B for ; Sat, 14 Sep 2002 18:01:06 -0700 (PDT) (envelope-from mardleapa@yahoo.com) Message-ID: <20020915010106.1780.qmail@web13104.mail.yahoo.com> Received: from [213.157.186.34] by web13104.mail.yahoo.com via HTTP; Sat, 14 Sep 2002 18:01:06 PDT Date: Sat, 14 Sep 2002 18:01:06 -0700 (PDT) From: Duma Mardleapa Subject: using a regular file as a character device To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Just a question: Can I use a regular file as a character device in FreeBSD ( like a loop device in linux ) ? If not,which guidelines should I follow whe writing a driver for such a pseudo device ? Is there anithing nasty about buffering twice or so ? Thank You Best Regards DM __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message