Subject: Re: MAKEDEV/MAKEDEV.subr issues in today's i386/amd64 builds
To: <>
From: Alan Barrett <>
List: current-users
Date: 03/01/2007 15:32:56
On Thu, 01 Mar 2007, Chavdar Ivanov wrote:
> 4.99.13 release completed overnight.
> As I was doing an upgrade, I had a copy of MAKEDEV.subr on the
> original disk. Booting i386cd.iso (undef VMWare workstation) of course
> did not find any disk, so I made the node for wd0a, mounted the drive
> root and copied MAKEDEV.subr to /dev on the install system. MAKEDEV
> then failed because of no dirname, as was earlier mentioned, so I did
> cd /dev ; ./MAKEDEV.subr; ./MAKEDEV; setup /dev; makedev all
> which did the trick, but filled /dev, so I had to rm /dev/*raid* and
> makedev pty? to complete the upgrade. So it's both MAKEDEV.subr and
> dirname missing from i386cd, apparently.

Thanks for the detailed report.  All those problems, apart from
too many inodes, were fixed in some commits I made last night and
this morning.  If you have sbin/init/init.c revision 1.89 and
distrib/common/list.makedev revision 1.5 or later, you should be OK.

The problem with running out of inodes in the mfs /dev is apparently an
older problem that wasn't reported until now, and is not fixed yet.

--apb (Alan Barrett)