From owner-freebsd-current Sat Aug 18 12:53:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 14F3E37B409 for ; Sat, 18 Aug 2001 12:50:36 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 18 Aug 2001 20:50:35 +0100 (BST) To: mjacob@feral.com Cc: Mikhail Teterin , current@FreeBSD.ORG Subject: Re: "block device required" In-reply-to: Your message of "Sat, 18 Aug 2001 12:34:26 PDT." X-Request-Do: Date: Sat, 18 Aug 2001 20:50:35 +0100 From: David Malone Message-ID: <200108182050.aa94906@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > msdosfs: /dev/ugen0: Block device required > > > > This is caused by the kernel returning ENOTBLK, which I think still > > makes sense in the kernel. It's possible that the errno should be > > translated to a different string though... > Just because there is no 'block' device representation in /dev doesn't mean > that there aren't block devices. Indeed - that's why I said ENOTBLK makes sense in the kernel. Since someone got rid of the classic "Not a typewriter" message for ENOTTY, maybe we should change the message for ENOTBLK to "Inappropriate device for operation". David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message