From owner-freebsd-current Sun Sep 3 03:35:15 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA06623 for current-outgoing; Sun, 3 Sep 1995 03:35:15 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id DAA06613 for ; Sun, 3 Sep 1995 03:34:54 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id UAA07015; Sun, 3 Sep 1995 20:30:30 +1000 Date: Sun, 3 Sep 1995 20:30:30 +1000 From: Bruce Evans Message-Id: <199509031030.UAA07015@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.ORG, jdli@linux.csie.nctu.edu.tw Subject: Re: Making a release problem : bootfd Sender: current-owner@FreeBSD.ORG Precedence: bulk > I tried to make a release myself, I had finished release.0 to release.7, > when making release.8 (bootfd), it died due to disklabel failure. > How to solve it ? (I am using 2.2-CURRENT, kernel supports MFS) > Thanks. >cd /usr/src/release && make doFS FSSIZE=1075 FSPROTO=/R/stage/mfsfd FSLABEL=mfs1075 FSINODE=80000 >rm -f fs-image >if [ ! -b /dev/vn0 -o ! -c /dev/rvn0 ] ; then cd /dev && sh MAKEDEV vn0 ; fi >dd of=fs-image if=/dev/zero count=1075 bs=1k 2>/dev/null >vnconfig -c /dev/rvn0 fs-image >disklabel -w -r -B -b /R/stage/trees/bin/usr/mdec/fdboot -s /R/stage/trees/bin/usr/mdec/bootfd /dev/rvn0 mfs1075 >ioctl DIOCWLABEL: Inappropriate ioctl for device >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This part of the Makefile seems to be old and broken. Disk labels are only available on vn devices if vnconfig is invoked with the undocumented `labels' option. Running disklabel on /dev/rvn0 would be bogus even if labels were enabled. It is bogus for all disk devices /dev/rxxN but happens to work for floppies due to nonstandard device names for floppies. disklabel should normally be invoked on the device xxN or xxNsM, e.g., on vn0 or vn0s3. Then then disklabel will build the correct device, e.g., /dev/rvn0c. /dev/rvn0 is a completely different device from /dev/rvn0c. >cd /R/stage/mfsfd && find . -print | cpio -dump /mnt >cpio: write error: No space left on device The kernel and/or utilities are now slightlty too large. Bruce