Date: Sat, 18 Aug 2001 12:34:26 -0700 (PDT) From: Matthew Jacob <mjacob@feral.com> To: David Malone <dwmalone@maths.tcd.ie> Cc: Mikhail Teterin <mi@aldan.algebra.com>, current@FreeBSD.ORG Subject: Re: "block device required" Message-ID: <Pine.BSF.4.21.0108181233550.59594-100000@beppo> In-Reply-To: <20010818201447.A90048@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Aug 2001, David Malone wrote: > 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, > Just because there is no 'block' device representation in /dev doesn't mean that there aren't block devices. 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.4.21.0108181233550.59594-100000>