Date: Sat, 18 Aug 2001 20:14:47 +0100 From: David Malone <dwmalone@maths.tcd.ie> To: Mikhail Teterin <mi@aldan.algebra.com> Cc: current@freebsd.org Subject: Re: "block device required" Message-ID: <20010818201447.A90048@walton.maths.tcd.ie> In-Reply-To: <200108181502.f7IF25559851@aldan.algebra.com>; from mi@aldan.algebra.com on Sat, Aug 18, 2001 at 11:02:04AM -0400 References: <200108181502.f7IF25559851@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 18, 2001 at 11:02:04AM -0400, Mikhail Teterin wrote: > Now, this may be the wrong way to do it: > > # mount -oro -t msdos /dev/ugen0 /mnt > > But the error message is certainly misleading. Especially, > since the are no block devices in -current any more :) > > 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... David. ./fs/hpfs/hpfs_vfsops.c: err = ENOTBLK; ./fs/ntfs/ntfs_vfsops.c: err = ENOTBLK; ./i386/ibcs2/ibcs2_errno.c: IBCS2_ENOTBLK, /* 15 */ ./kern/vfs_aio.c: if (error == ENOTBLK) ./kern/vfs_subr.c: *errp = ENOTBLK; ./kern/vfs_subr.c: *errp = ENOTBLK; ./compat/svr4/svr4_sysvec.c: SVR4_ENOTBLK, 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?20010818201447.A90048>