Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 20:50:35 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        mjacob@feral.com
Cc:        Mikhail Teterin <mi@aldan.algebra.com>, current@FreeBSD.ORG
Subject:   Re: "block device required" 
Message-ID:   <200108182050.aa94906@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Sat, 18 Aug 2001 12:34:26 PDT." <Pine.BSF.4.21.0108181233550.59594-100000@beppo> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 	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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200108182050.aa94906>