OpenBSD CVS

CVS log for src/distrib/vax/Attic/install.md


[BACK] Up to [local] / src / distrib / vax

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.48, Wed Mar 9 16:28:45 2016 UTC (8 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.47: +1 -1 lines
FILE REMOVED

We are done providing support for the vax.
lots of agreement.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Feb 8 17:28:09 2016 UTC (8 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.46: +3 -9 lines
Diff to previous 1.46 (colored)

If manual disklabel editing is requested during install, don't emit
verbiage explaining what disklabels are.

If you don't know, you should be using (A)uto!

ok rpe@ halex@

Revision 1.46 / (download) - annotate - [select for diffs], Thu Oct 15 19:28:31 2015 UTC (8 years, 7 months ago) by miod
Branch: MAIN
Changes since 1.45: +6 -4 lines
Diff to previous 1.45 (colored)

Use MI installboot instead of disklabel -B to install boot blocks.
ok krw@ deraadt@

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jun 2 19:54:07 2015 UTC (9 years ago) by rpe
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Remove the $FSTABFLAG variable and use -F directly. The installer
uses disklabel UIDs unconditionally for a while already.

OK krw@
"looks good" deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Sun May 31 19:40:11 2015 UTC (9 years ago) by rpe
Branch: MAIN
Changes since 1.43: +5 -23 lines
Diff to previous 1.43 (colored)

Replace identical code in the MD scripts of the installer with a new
MI function disklabel_autolayout() which now handles all aspects of
the disklabel auto-layout and autopartitioning case for the root disk.
Remove get_disklabel_template() and merge it with the new function.

"move forward" deraadt@

Revision 1.43 / (download) - annotate - [select for diffs], Mon May 4 19:55:27 2015 UTC (9 years, 1 month ago) by rpe
Branch: MAIN
Changes since 1.42: +6 -1 lines
Diff to previous 1.42 (colored)

Add the new template file based autopartitioning feature of disklabel(8)
to the OpenBSD installer. It is available during unattended installation.
The template file is fetched from an url, provided as answer to a new
question in the response file:

    URL to autopartitioning template for disklabel = url

Original diff from and OK henning@
'no objection' krw@

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 22 02:24:43 2014 UTC (10 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

Oops. MDMTDEVS is used to populate /dev. Put those bits back.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Mar 22 01:13:02 2014 UTC (10 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40 (colored)

Remove 'tape' as a method for installing sets. Elite masters of unix
arcana able to do without instructions for tape installs, can do
without the crutch of script support. If any non-EMOUA tape users
surface, this is easy to restore.

ok halex@ on the actual diff.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Nov 16 18:37:27 2013 UTC (10 years, 6 months ago) by rpe
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Remove AUTOROOT variable which is a leftover of r1.183 of install.sub

diff from Philipp e1c1bac6253dc54a1e89ddc046585792 at osteo dot net

ok krw@ halex@

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 13 14:50:34 2012 UTC (11 years, 10 months ago) by halex
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

copy boot loaders using cat and shell redirection rather than cp,
since the latter may insert holes in the target files, which could
be bad for the boot process

ok deraadt@ guenther@

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jul 10 14:25:00 2012 UTC (11 years, 10 months ago) by halex
Branch: MAIN
Changes since 1.37: +1 -2 lines
Diff to previous 1.37 (colored)

since disklabel -W is no more, zap it from all the install.md's

ok krw@

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jul 6 18:32:58 2011 UTC (12 years, 10 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Remove support for non-microVAX, non-VAXstation, non-VXT hardware in the
VAX port. This means, 11/7xx, VAX6000 and VAX8x00 systems, as well as SBI,
CMI, BI, XMI and MASSBUS drivers.
Most of these files were not being compiled or kept in compilable state over
the years anyway.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Apr 17 20:57:11 2011 UTC (13 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

First crack at enabling the installation of a DUID version of
/etc/fstab, after asking user. Current default is existing behaviour.

Feedback & suggestions deraadt@, halex@, jsing@, todd@.

ok deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 4 00:44:48 2009 UTC (15 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored)

Nuke now superfluous ARCH=ARCH lines in install.md and the sed processing of
those lines in list2sh.awk.

ok deraadt@

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 2 16:23:45 2009 UTC (15 years ago) by krw
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Add '-h' flag, and '*' as a unit specifier for 'p' Editor command.
Both cause partition sizes to be displayed using a human readable
format with the units automatically chosen by looking at the smallest
partition in the disk label. Remove forceable humanization in 'A'
code and use '-h' in install scripts.

Prodded & ok deraadt@, verbiage tweaks from jmc@

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 11 17:13:07 2009 UTC (15 years ago) by deraadt
Branch: MAIN
Changes since 1.32: +9 -1 lines
Diff to previous 1.32 (colored)

Remind people that mountpoints must now be entered using the disklabel
command; the script does not ask afterwards.  Note I am not adjusting
the macppc or sgi install.md scripts.  I ask their maintainers to clean
them before I will maintain them further.  Please

Revision 1.32 / (download) - annotate - [select for diffs], Sat May 9 21:37:26 2009 UTC (15 years ago) by deraadt
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored)

remove some chatty disklabel stuff

Revision 1.31 / (download) - annotate - [select for diffs], Sun Apr 12 12:56:02 2009 UTC (15 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Tweak pattern used to select partition lines for display so the
'# /dev/r...' line is not selected.

Noticed by deraadt@

Revision 1.30 / (download) - annotate - [select for diffs], Sun Apr 12 01:35:01 2009 UTC (15 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

No longer need '-f' or '-p' when displaying layout. A few patterns
missed the '# size offset ...' line at the top of the partition
list.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Apr 10 23:11:17 2009 UTC (15 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.28: +19 -3 lines
Diff to previous 1.28 (colored)

Where appropriate display the auto-allocation layout of the root
disk and ask if the installee wants to use it, edit it, or create
their own custom disklabel. Most one-disk installs will not need
to see fdisk or disklabel.

i386 and macppc by me, adapted for others by deraadt@.

ok deraadt@

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:04 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Sat Mar 22 23:28:10 2008 UTC (16 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.26: +1 -21 lines
Diff to previous 1.26 (colored)

No point in checking disklabel output for 'disk label corrupted' message
since it isn't emitted anymore.

ok deraadt@

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 4 00:36:38 2008 UTC (16 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

Redo serial console configuration logic. Smaller, easier to
understand.

Add serial console handling for alpha, macppc, zaurus.  No functional
change for i386/amd64.

All archs should now have automatic serial console configuration.

ok deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Mon May 28 02:57:11 2007 UTC (17 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Don't look for wt tape devices while installing.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 3 19:34:00 2005 UTC (19 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

More shrinkage with a bit of code factoring.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 27 15:13:50 2005 UTC (19 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.22: +1 -4 lines
Diff to previous 1.22 (colored)

Use new skeleton kbd(8) '-l' to generalize kbd(8) use.  Eliminate
fixed list of available maps and machine dependant md_set_term()
functions.

Any ramdisk with /sbin/kbd present (amd64, cats, i386 at the moment)
will now present list of available keyboard encodings.

ok deraadt@

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 12 13:18:37 2003 UTC (20 years, 7 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.21: +6 -14 lines
Diff to previous 1.21 (colored)

Cleanup and shrinkage:

1) Eliminate 'WARNING: Disk xxx has no label.' message. When installing OpenBSD
this is a normal condition not worth commenting on. From some discussion on
hackers/icb.

2) Use consistant verbiage and case statement when checking the disklabel.

3) Consistantly suppress output of 'disklabel -W', reducing duplicate messages
like '# using MBR partition ...' which are issued again when the 'disklabel -f
...' command is executed.

4) Usual code rectifications - eliminate extra {}'s, multiple echos
elimination, etc.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Sep 21 02:11:42 2003 UTC (20 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.20: +6 -7 lines
Diff to previous 1.20 (colored)

Fix extraneous display of grep output when searching disklabel output for
error information. Previously things like:

disklabel: no disk label
WARNING: Disk wd0 has no disk label. You will be creating a new one.

would be printed. Now the 'disklabel: no disk label' message is correctly
sent to /dev/null.

Take the opportunity to clean up a bit of code and formatting, making all
the md_checkfordisklabel() functions as identical as possible.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Nov 7 01:28:52 2002 UTC (21 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.19: +1 -3 lines
Diff to previous 1.19 (colored)

Treat 'bsd' like just another filename in THESETS, no more 'kernel'
logic.  As result, MDSETS gone from everything but mac68k.

MDSETS now treated as a list of complete file names to add to THESETS,
allowing more MD flexibility, i.e. may or may not be .tgz files.

All traces of tar.gz removed. Not used for sets since 2.7 or so. As a
result of code simplification from not having to consider tar.gz, the
functions get_sets(), make_lastset(), and set_not_done() are
eliminated, along with the global SETS.

Build THESETS and DEFAULTSETS to contain full file names.

Always install sets in the order they appear in THESETS, keeping
siteXX last but without needing special logic. More predictable for
user if a lot of set additions and removals done before being
satisfied, as the sets are now installed in the same order they appear
in the selection list.

Remove ability to look for non-set .tgz/.tar.gz files. The job of the
install scripts is to install the standard sets in a simple and
rational way. Not to install general tar balls. The user can do that
post-install or simply '!' out to do it during install. On their head
be it.

If no sets are found in a specified source, list the filenames in
THESETS to show what is being looked for.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 24 23:45:05 2002 UTC (21 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

fix english; krw ok

Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 27 02:18:34 2002 UTC (21 years, 9 months ago) by krw
Branch: MAIN
Changes since 1.17: +1 -8 lines
Diff to previous 1.17 (colored)

Move general partitioning advice from machine dependant per disk
routine to install.sh so it is displayed only once.

Strongly advise /, /tmp, /var, /usr and /home have their own
disk partitions as requested by deraadt@.

Rather than rely on users not re-selecting an already initialized
disk, just allow them to choose from un-initialized disks.

Move get_root invocation into install.sub as both install.sh and
upgrade.sh did it first thing.

Remove the 'workaround' to a 'vnode aliasing bug' that came in
with the initial import of upgrade.sh from NetBSD. ok millert@.

Rework verbiage in a few places. Clean up logic around looping
through disk units by handling root disk better.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 22 01:48:38 2002 UTC (22 years ago) by krw
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Fix quoting botch in earlier commit. Make sure MDDISKDEVS and
MDCDDEVS actually work with non-empty values as well as the
supplied default this time.

Problem first detected by jsyn@.

Revision 1.16 / (download) - annotate - [select for diffs], Mon May 20 16:53:57 2002 UTC (22 years ago) by krw
Branch: MAIN
Changes since 1.15: +1 -5 lines
Diff to previous 1.15 (colored)

Eliminate md_questions(). It was used only to control the setting of
machdep.allowaperture. Remove the setting of machdep.allowaperture
from md_installboot().

Add MDXAPERTURE variable to relevant architectures.

Add a new function set_machdep_allowaperture(). It is called *after*
install_sets() (which changes when the X Window question is asked), and
if MDXAPERTURE is present modifies sysctl.conf.

Shrinks overall size for i386, macppc, sparc64 (which used md_questions
for machdep.allowaperture) but increases size a bit for other
architectures since set_machep_allowaperture is in install.sub.

Revision 1.15 / (download) - annotate - [select for diffs], Sat May 18 17:56:03 2002 UTC (22 years ago) by krw
Branch: MAIN
Changes since 1.14: +3 -26 lines
Diff to previous 1.14 (colored)

Eliminate md_get_diskdevs() and md_get_cddevs() by

1) Saving one boot's worth of dmesg in /tmp/dmesg.boot
2) Using sed to scan for devices and pull out names in
   new get_diskdevs() and get_cddevs() in install.sub
3) Saving any md disk/cd sed patterns in MDDISKDEVS and
   MDCDDEVS variables.

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 14 01:49:25 2002 UTC (22 years ago) by krw
Branch: MAIN
Changes since 1.13: +1 -9 lines
Diff to previous 1.13 (colored)

Eliminate md_native_fstype() and md_native_fsopts(). Both functions
simply echo'd a single word if present at all.

Replace with variables MDFSTYPE and MDFSOPTS if required. Rework logic
in install.sub's mount_a_disk() to always include 'ro' as an option to
the mount command. This allows even those arch's with MDFSTYPE to
usually get by without MDFSOPTS.

ok deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 9 21:54:46 2002 UTC (22 years ago) by krw
Branch: MAIN
Changes since 1.12: +1 -61 lines
Diff to previous 1.12 (colored)

Elminate md_welcome_banner() and md_not_going_to_install() as the
output of both was essentially identical on all architectures. Replace
with welcome_banner() and not_going_to_install() in install.sub.

Abstract common verbiage from md_congrats() into congrats() which
calls md_congrats() for any architecture specific additional verbiage.

Reword things so ${MODE} can be plausibly used in more places.

Remove extraneous #!/bin/sh in hp300 install.md.

ok deraadt@ espie@

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 8 23:01:47 2002 UTC (22 years ago) by krw
Branch: MAIN
Changes since 1.11: +2 -10 lines
Diff to previous 1.11 (colored)

Abstract out common md_set_term() code into set_term() in install.sub,
calling md_set_term() from set_term() to do machine dependent stuff.
Currently only i386 does anything - keyboard mappings.

Add MDTERM variable to allow install.md to set proper default terminal
type. Default to vt220.

Eliminate md_get_partition_range() as useless since every architecture
returned '[a-p]'.

Make default term for all mvme* architectures vt100 as requested by miod@.

ok deraadt@ millert@ miod@

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 7 02:03:57 2002 UTC (22 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

All architectures now use miniroot, so eliminate last few getresp()
calls in favour of ask().

Fix the erroneous advice I gave to Hugh in vax getresp() -> ask().

ok deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 6 07:23:25 2002 UTC (22 years, 1 month ago) by hugh
Branch: MAIN
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

Convert a getresp that seems to have escaped the sieve.
Spotted by grange.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 31 17:30:31 2002 UTC (22 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.8: +6 -10 lines
Diff to previous 1.8 (colored)

bit of shrinkage, krw ok

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 19 08:43:56 2002 UTC (22 years, 2 months ago) by hugh
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Match RRD40 as a cdrom on MSCP. May be useful to simh users, even if
nobody has the actual hardware.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 10 06:51:15 2002 UTC (22 years, 2 months ago) by hugh
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Add ra[0-9] hd[0-9] and rl[0-9] to drives matched by md_get_diskdevs.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 10 06:48:43 2002 UTC (22 years, 2 months ago) by hugh
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Use the base boot.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 24 23:17:29 2002 UTC (22 years, 3 months ago) by hugh
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Copy boot to correct root.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 14 20:53:12 2002 UTC (22 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +31 -31 lines
Diff to previous 1.3 (colored)

sync with other install.md scripts.  also copy /boot from /usr/mdec, where it
now lives

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 23 01:51:52 2001 UTC (22 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.2: +2 -4 lines
Diff to previous 1.2 (colored)

Remove extra blank line displayed before the paragraph 'As with
anything ...' during install and/or upgrade on some archs.

On sparc, sparc64, sun3 and vax fix a typo ('echo Welcome' ->
'Welcome') in here-document displayed in md_welcome_banner().

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jun 23 19:45:01 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.1: +5 -43 lines
Diff to previous 1.1 (colored)

argh.  stop using kernfs, using dmesg using sysctl.  encode ARCH into
install.md at build time.  remove some crud.  and the icing on the cake:
skip testing all this until next week

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 24 10:55:02 2001 UTC (23 years, 3 months ago) by hugh
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9

Get this stuff closer to woriking in-tree.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.