Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 16:00:41 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release Makefile src/share/man/man7 release.7
Message-ID:  <20030725130041.GA84040@sunbay.com>
In-Reply-To: <20030725.213123.74673434.nyan@jp.FreeBSD.org>
References:  <200307250854.h6P8sfom098536@repoman.freebsd.org> <20030725.213123.74673434.nyan@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 25, 2003 at 09:31:23PM +0900, Takahashi Yoshihiro wrote:
> In article <200307250854.h6P8sfom098536@repoman.freebsd.org>
> Ruslan Ermilov <ru@FreeBSD.org> writes:
>=20
> > ru          2003/07/25 01:54:41 PDT
> >=20
> >   FreeBSD src repository
> >=20
> >   Modified files:
> >     release              Makefile=20
> >     share/man/man7       release.7=20
> >   Log:
> >   Moved the boot floppy generation code out from release.9 to release.1=
0.
>=20
> -	sh -e ${DOFS_SH} mfsroot ${RD} ${MNT} \
> +	sh -e ${DOFS_SH} mfsroot-small ${RD} ${MNT} \
> (snip)
> +	@sh -e ${DOFS_SH} ${RD}/floppies/mfsroot-small.flp \
> +		${RD} ${MNT} ${SMALLBOOTSIZE} ${RD}/mfsroot/mfsroot-small.gz \
> +		${BOOTINODE} ${SMALLBOOTLABEL}
>=20
> This change breaks small floppy image support.  The filename of MFS
> filesystem should be 'mfsroot', not 'mfsroot-small'.  Because we use
> the following command to load MFS filesystem.
>=20
> > load -t mfs_root /mfsroot
>=20
Would the following work for you?

%%%
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/release/Makefile,v
retrieving revision 1.798
diff -u -r1.798 Makefile
--- Makefile	25 Jul 2003 08:55:51 -0000	1.798
+++ Makefile	25 Jul 2003 12:58:42 -0000
@@ -1087,7 +1087,11 @@
 	@echo "echo Please insert MFS root floppy and press enter:" >> ${RD}/imag=
e.${FSIMAGE}/boot/loader.rc
 	@echo "read" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
 .endif
+.if defined(FDSIZE) && ${FDSIZE} =3D=3D "SMALL"
+	@echo "load -t mfs_root /mfsroot-small" >> ${RD}/image.${FSIMAGE}/boot/lo=
ader.rc
+.else
 	@echo "load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
+.endif
 .if ${TARGET_ARCH} !=3D "ia64"
 	@echo "set hint.acpi.0.disabled=3D1" >> ${RD}/image.${FSIMAGE}/boot/loade=
r.rc
 .endif
%%%

Or do you insist that it's always named /mfsroot?


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/ISn5Ukv4P6juNwoRAl5YAJ9jtkxyZpVfgvIjYOG7fJVogIRbVACfajra
OWbBD9W0MAzP4AStqE/bIAY=
=vuY1
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--



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