The NetBSD Project

CVS log for src/distrib/utils/sysinst/arch/hp300/Attic/md.h

[BACK] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst / arch / hp300

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.19, Sat Jul 26 19:30:41 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, localcount-20160914, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.18: +1 -1 lines
FILE REMOVED

Move sysinst sources to usr.sbin.

This commit only physically moves the sources - there are no other
changes, to maximize the probability that this will be treated as a
rename if we ever do manage to migrate away from CVS.

Moving sysinst has been discussed on and off for years and has two
goals: making it easier to work on sysinst, and also making sysinst
available on running systems for use installing chroots and VM images
and other such things. None of the latter is possible yet, but as they
say, one thing at a time.

Doing this now was approved in an impromptu fashion by mrg, riz,
riastradh, me, and groo.

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 14 13:14:27 2013 UTC (10 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: tls-earlyentropy
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

Use the default MD_SETS_SELECTED for ports which have Xservers.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 4 08:30:28 2011 UTC (12 years, 11 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.16: +7 -11 lines
Diff to previous 1.16 (colored)

Remove the advertisement clause from files copyrighted by Piermont Information
Systems, with the consent of the copyright owner, Perry E. Metzger.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 19 14:57:28 2009 UTC (14 years, 6 months ago) by abs
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

defs.h:
- Re-order the md_*() definitions so they are in the order called
- Add some comments
- Remove obsolete md_set_no_x() definition
- Remove md_copy_filesystem()
- #if defined(DEBUG) declare backtowin(void) to avoid scattering
  externs in various md .c files

mbr.[ch]:
- Add a set_bios_geom_with_mbr_guess() which can be called by all
  the non x86 ports rather than copying the same code into arc,
  bebox, cobalt, evbmips, evbppc, hpcarm, hpcmips, landisk, ofppc,
  prep, sandpoint, and zaurus md.c

install.c:
- Remove now unnecessary call to md_copy_filesystem()

upgrade.c:
- Move move_aout_libs() here, and put under #ifdef AOUT2ELF
- Rather than having *every* md_update call wrefresh(curscr),
  wmove(stdscr, 0, 0), wclear(stdscr), and wrefresh(stdscr),
  move them here

arch/acorn26/md.c:
- Just include arch/acorn32/md.c, but add a note there warning
  about this, and while here add a note to i386/md.c that it
  is included by amd64

arch/*/md.c:
- By all means "Vive la difference", but we have 38 pairs of md.[ch],
  and they could not even agree on the order in which to list the
  md hooks, let alone formatting. Sort the md hooks to match the
  (now sane) order in def.sh, and try to normalise the formatting
- Also copy across some function level comments everywhere
- Ensure functions only used inside each md.c are defined as static
- Remove some now unused functions
- Some files had enable_rc_conf in #ifdef DEBUG. Add this to all
- bebox, evbppc and sandpoint were still playing broken games with
  copying the booted ramdisk to the target disk, the primary result
  of which was just to slow things down and ensure the target system
  lost the .profile extracted from the sets. Just kill this.
- For some ports md_update() called endwin(), and in others not.
  Take a cure from i386/amd64 and a few other more active ports,
  and update everything to match (no endwin())
- In a couple of cases correct port names in comments
- ANSIfy some lingering old style functions
- Consistently use "return 0;" rather than "return (0);"

More of the mbr code should be abstracted, along with the
get_ramsize() / set_swap() logic, but this is (more than)
enough for one day...

sysinst built for all ports but only runtime tested on amd64 & i386

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 12 15:07:35 2007 UTC (16 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, pc532-eol-2008, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: mjf-devfs2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Make sysinst install the new tests.tgz set

Teach sysinst about the new tests.tgz set and allow the user to install
it as part of a regular installation.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 21 06:18:29 2006 UTC (18 years ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.13: +9 -5 lines
Diff to previous 1.13 (colored)

- Create an independent "boot" partition for bootloader rather than
  marking a raw partition as "boot".
- Adjust default partition size for /usr so that extracted files
  won't flood on the default full installation.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 26 10:25:53 2006 UTC (18 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.12: +1 -8 lines
Diff to previous 1.12 (colored)

Make floppy install messages less confusing (maybe).
Make floppy file system type settable - it depends on the system you are
using to write the split sets, not the target.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 12 22:02:44 2006 UTC (18 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Rework the installation loop so that it is possible to change the source
of the sets after an error.
A side effect is that it now does fetch-install-fetch-install..., not
fetch-...-fetch-install-...install.
The set selection code now uses a byte per set (not a bit-pattern) removing
the restriction of 32 sets, and allowing a per set status display (TBC).
Also TBC is deleting sets from /usr/INSTALL.
However I believe it works...

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 6 06:07:00 2004 UTC (19 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Get rid of the EXTERN/INIT mess; fix so that we can process this with xstr(1).
Not worth processing though, since on the i386 we only save ~3K.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 29 08:48:24 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

Add support for "xetc".

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 17 05:30:02 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Remove references to xcontrib and xmisc now that they've been merged
into xbase.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 30 14:36:44 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

- Change enum for partition numbers from [A..Z] to PART_[A..P] (16 is enough)
- Rename run_prog() to run_program() and remove the 'errmsg' argument (almost
  never used).
- Be consistent about #define<space> in defs.h
- Allow BSDFFS partitions to be FFSv1 or FFSv2 (fixes PR install/23547)
- i386: install correct bootblocks for root filesystem type.
- Do 'fsck -p' before all mounts (but never a full fsck), rename fsck_xxx()
  to mount_xxx() and remove some wrapper functions.
- Allow root to be an APPLEUFS partition - and allow them to be newfsed,
  should fix PR install/23198
- Redo fstab processing for upgrade to avoid large static data items and
  memory leaks.  Change walk() to abort on user defined error.
  (the fstab stuff really needs more work though...)
- i386: 'Warp' cursor to alternate option when selecting console/bootblocks,
  should fix PR port-i386/23546.
- Allow MENU_ok and MENU_yesno to take user defined title.
- Ensure that mountpoint not defined for swap (and similar issues) when
  editing netbsd label.
- Tweaks to error handling in run_program(), allow user to say that errors
  are expected or that the display shouldn't be cleared before returning.
- Remove some old code that has been festering under #if 0

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 25 08:26:27 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Sprinkle a load of consts, and change a few variable names.
Now compiles with WARNS=3.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 13 11:57:31 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

Remove all references to minfsdmb and STDNEEDMB - neither are used any more.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 11 21:35:41 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.4: +4 -29 lines
Diff to previous 1.4 (colored)

rototil of the set selection menu
I've also made the set selection happen first.  This lets me test it!
also measn the selected sets could be used in the disk partition code.
Removed the 'with X' disk layout question (now too late to change the sets).

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 30 11:56:26 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.3: +2 -7 lines
Diff to previous 1.3 (colored)

Further collapsing of MD code:
- make_bsd_partitions() correctly handles PART_BOOT
- use bsddisklabel.c for pc532 and sgimips (this does change the default size
  for the root partition, as it no longer includes twice the memory size).
- Change way ports define disk_names[] (in particular this lets me add "vnd"
  for testing), also ensures all ports pick up new drivers.
  I've make most ports use the default "wd", "sd", "ld".
  Abort the search for disk units if we get ENOENT (ie no /dev entry) to
  speed up the case where we are looking for a disk type that isn't
  supprted by the port.
  (it is possible we could just check all possible disks on all ports...)

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 21 10:05:24 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.2: +1 -10 lines
Diff to previous 1.2 (colored)

Reduce the number of global variables slightly, use the ones that are
left consistently.
Make the i386 install let you partition a disk beyond the CHS limit if the
system bios doesn't support LBA reads (the checks aren't ideal yet).
Make the bsddislabel.c code usable onan i386 system - but don't use it yet.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 6 16:12:39 2003 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.1: +16 -16 lines
Diff to previous 1.1 (colored)

When installing from floppy disks, let the user say which is the last one
on a set, instead of hardcoding the number of parts in sysinst (which gets
out of sync easily).  The fdlast field of the distinfo struct has been
removed.

This solution is a bit simplistic but...  anybody using the floppy
installation method will have to split sets himself (as we don't provide
them), so he will know which is the last one.  Also, he will be able to
use whatever chunk size he wants.

Closes PR install/5050.  Ok'ed by fvdl.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 10 01:14:05 2002 UTC (22 years, 1 month ago) by gmcgarry
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base

hp300 machine-dependent components

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.




CVSweb <webmaster@jp.NetBSD.org>