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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message