Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 1996 00:24:05 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        current@freebsd.org
Subject:   DEVFS broken by last devsw_add_generic()/bdevvp() changes
Message-ID:  <199607281624.AAA01851@spinner.DIALix.COM>

next in thread | raw e-mail | index | archive | help
It seems the last set of changes to the devsw creation routines and the
subsequent bdevvp() change has broken ffs_mount when trying to mount the
root filesystem on at least scsi disks.

The "new" bdevvp() is returning 0, and ffs_mount is not checking it before
passing it onto ffs_mountfs.

This might be because of the slice code not knowing whether or not it's
using the compatabilty slices or not, or simply because nothing has accessed
the slices in the first place to cause the slice code to create the
initial nodes in devfs.

So, if you are using "options DEVFS", beware, you may not be able to boot
anymore, regardless of whether you are mounting the filesystem.

-Peter



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