Floppies for ALPHA
Ruslan Ermilov
ru at FreeBSD.org
Tue Jul 29 10:39:25 PDT 2003
On Tue, Jul 29, 2003 at 10:18:39AM -0700, David O'Brien wrote:
> [ Reply-to: set back to list ]
>
[ Mail-Followup-To: was still set to David O'Brien <obrien at FreeBSD.org> etc.,
so I had to remove your address manually. ]
> On Tue, Jul 29, 2003 at 12:54:36PM +0300, Ruslan Ermilov wrote:
> > I've got that feeling that the consensus was to drop the floppy
> > support for Alpha, as supporting it becomes a nightmare. If so,
> > could any of you please review the attached patch? (It makes
> > Alpha similar to AMD64 regarding floppies, i.e., no floppies.)
> ...
> > .elif ${TARGET_ARCH} == "alpha"
> ...
> > +NO_FLOPPIES=
> ...
> > Index: alpha/dokern.sh
> > ===================================================================
> > RCS file: alpha/dokern.sh
> > diff -N alpha/dokern.sh
> > --- alpha/dokern.sh 28 Jul 2003 18:22:07 -0000 1.73
> > +++ /dev/null 1 Jan 1970 00:00:00 -0000
> > @@ -1,66 +0,0 @@
> > -#!/bin/sh
> > -#
> > -# $FreeBSD: src/release/alpha/dokern.sh,v 1.73 2003/07/28 18:22:07 ru Exp $
> ..snip..
>
>
> Its not that we want NO_FLOPPIES, we want a single MFSROOT floppy that is
> like 10MB large.
>
MFS root FLOPPY we don't want. MFS root FILE SYSTEM we need,
and it is still generated by release.9 and used in the CD-ROM
installation. Its size is another subject.
> This is something you can dd(1) onto a disk and install
> from.
>
Not quite. It's a r/w root file system (MFS), without a
kernel and distributions.
> We still need dokern.sh to change the ident, and other minor
> things.
>
No we don't. For the CD-ROM installation (with the help of
/boot/cdboot), the GENERIC kernel is used. I think some
people working in this area (including you) were confused
about this for some time. If you don't trust me, ask JHB,
or just boot off the 5.[01]-CD/DVD and watch the ident
string.
> But there should be no seperate driver floppy, etc..
>
That's what my patch does. Not defining the corresponding
*SIZE, *INODE, and *LABEL constants does the trick. The
NO_FLOPPIES knob is not strictly necessary -- if you look
over the conditionals in the release.10 target, you'll notice
that with these changes, the release.10 will be a no-op even
if we don't enforce the NO_FLOPPIES for amd64 and alpha.
The purpose of enforcing NO_FLOPPIES is to avoid unnecessary
IFs in the release.9, ftp.1, and cdrom.1 targets.
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software Ltd,
ru at FreeBSD.org FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-alpha/attachments/20030729/31297674/attachment.bin
More information about the freebsd-alpha
mailing list