The NetBSD Project

CVS log for src/distrib/utils/sysinst/Attic/bsddisklabel.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.56.10.3, Tue Aug 19 23:45:46 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.56.10.2: +1 -1 lines
FILE REMOVED

Rebase to HEAD as of a few days ago.

Revision 1.60.2.1, Sun Aug 10 06:48:49 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.60: +1 -1 lines
FILE REMOVED

Rebase.

Revision 1.61, Sat Jul 26 19:30:39 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.60: +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.56.4.2 / (download) - annotate - [select for diffs], Thu May 22 12:01:35 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.56.4.1: +14 -3 lines
Diff to previous 1.56.4.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored) to selected 1.44.8.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.60 / (download) - annotate - [select for diffs], Wed Feb 19 12:14:40 2014 UTC (10 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.59: +6 -1 lines
Diff to previous 1.59 (colored) to selected 1.44.8.1 (colored)

Improve luna68k md part of sysinst.

- setup a boot UFS partition and install native bootloader
- add messages how to setup NVRAM variables for firmware to load bootloader
- enable swap on <= 32MB machines

Revision 1.59 / (download) - annotate - [select for diffs], Mon Nov 4 20:07:49 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored) to selected 1.44.8.1 (colored)

fix unitialized variable access

Revision 1.56.10.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:26:20 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.56.10.1: +6 -1 lines
Diff to previous 1.56.10.1 (colored) to branchpoint 1.56 (colored) to selected 1.44.8.1 (colored)

resync from head

Revision 1.58 / (download) - annotate - [select for diffs], Tue Mar 19 22:16:53 2013 UTC (11 years ago) by garbled
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Changes since 1.57: +6 -1 lines
Diff to previous 1.57 (colored) to selected 1.44.8.1 (colored)

Add a new installer image for Raspberry PI to evbarm

Includes the following major changes:

1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.

Much of the sshramdisk code could be reused on other ports easily.

Revision 1.56.10.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:24:47 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.56: +2 -3 lines
Diff to previous 1.56 (colored) to selected 1.44.8.1 (colored)

resync with head

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Wed Jan 16 05:26:11 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.56: +2 -3 lines
Diff to previous 1.56 (colored) to selected 1.44.8.1 (colored)

sync with (a bit old) head

Revision 1.57 / (download) - annotate - [select for diffs], Tue Nov 20 20:17:43 2012 UTC (11 years, 4 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.56: +2 -3 lines
Diff to previous 1.56 (colored) to selected 1.44.8.1 (colored)

Don't enable WAPBL by default. It's far too dangerous.

Revision 1.56 / (download) - annotate - [select for diffs], Mon May 30 14:20:48 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: 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, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) to selected 1.44.8.1 (colored)

Use proper format strings.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Apr 4 08:30:12 2011 UTC (12 years, 11 months ago) by mbalmer
Branch: MAIN
Changes since 1.54: +5 -9 lines
Diff to previous 1.54 (colored) to selected 1.44.8.1 (colored)

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

Revision 1.45.10.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:20:43 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.45: +14 -14 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.44.8.1 (colored)

sync to netbsd-5

Revision 1.54 / (download) - annotate - [select for diffs], Thu Feb 18 12:21:52 2010 UTC (14 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) to selected 1.44.8.1 (colored)

Since we call /usr and /var with absolute paths, lets do that for /tmp
as well.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Oct 18 12:09:48 2009 UTC (14 years, 5 months ago) by ahoka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.52: +14 -10 lines
Diff to previous 1.52 (colored) to selected 1.44.8.1 (colored)

Give the option to use tmpfs for /tmp in sysinst instead of the older
mfs on i386 and amd64. Should be enabled on other platforms with reliable
tmpfs too.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Mon May 18 19:35:14 2009 UTC (14 years, 10 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.45: +14 -14 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by sborrill in ticket #758):
	distrib/utils/sysinst/mbr.c: revision 1.80
	distrib/utils/sysinst/msg.mi.en: revision 1.155
	distrib/utils/sysinst/disks.c: revision 1.105
	distrib/utils/sysinst/arch/i386/md.c: revision 1.122
	distrib/utils/sysinst/savenewlabel.c: revision 1.6
	distrib/utils/sysinst/mbr.h: revision 1.23
	distrib/utils/sysinst/defs.h: revision 1.143
	distrib/utils/sysinst/msg.mi.pl: revision 1.65
	distrib/utils/sysinst/bsddisklabel.c: revision 1.52
	distrib/utils/sysinst/msg.mi.es: revision 1.26
	distrib/utils/sysinst/msg.mi.de: revision 1.49
	distrib/utils/sysinst/msg.mi.fr: revision 1.106
Support drives over 1TB in size (i.e. stop errors like drive is -654343MB in
size).
Error if drive is over 2TB in size (and thus over the disklabel limit).

Revision 1.52 / (download) - annotate - [select for diffs], Thu May 14 16:23:38 2009 UTC (14 years, 10 months ago) by sborrill
Branch: MAIN
Changes since 1.51: +14 -14 lines
Diff to previous 1.51 (colored) to selected 1.44.8.1 (colored)

Support drives over 1TB in size (i.e. stop errors like drive is -654343MB in
size).
Error if drive is over 2TB in size (and thus over the disklabel limit).

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:17:55 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.45: +63 -7 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.44.8.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.51 / (download) - annotate - [select for diffs], Tue Apr 7 10:45:04 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.50: +42 -2 lines
Diff to previous 1.50 (colored) to selected 1.44.8.1 (colored)

Improve UFS2 root handling on sysinst:
- add HAVE_UFS2_BOOT define on ports which have UFS2 capable loader
- reject UFS2 for root file system on ports !HAVE_UFS2_BOOT
- add a MI function to get bootxx name from root file system type
  per MD defines and remove md_bootxx_name() from arch/i386/md.c,
  so that alpha can use bootxx_ffsv2 for UFS2 as well as x86

Tested on i386 and alpha with FFSv1 and FFSv2, and also
tested on vax (on simh) for !HAVE_UFS2_BOOT case.
de translation is provided by martin@.

No objection on tech-install, and "move forward with it" from perry@.

XXX1: not tested on all ports, more ports might/could have UFS2 root support
XXX2: no es, fr, and pl translations, even en message should be improved
XXX3: alpha has a fixed en message without MSG

Revision 1.50 / (download) - annotate - [select for diffs], Sun Apr 5 00:50:51 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.49: +6 -3 lines
Diff to previous 1.49 (colored) to selected 1.44.8.1 (colored)

- introduce machine dependent DEFAULT_UFS2 and HAVE_UFS2_BOOT flags in md.h
- use those flags to change default ffs type, rather than adding
  __HAVE_UFS2_BOOT in <machine/types.h>

Okay'ed by martin@, briefly tested on i386.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Apr 4 11:34:09 2009 UTC (14 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.48: +1 -7 lines
Diff to previous 1.48 (colored) to selected 1.44.8.1 (colored)

Back out the / change. This is an incorrigible. Any change to that would
make it more user friendly is likely to (a) trigger complaints from elitist
morons (b) overflow RAM disks everywhere.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 4 11:24:24 2009 UTC (14 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.47: +10 -3 lines
Diff to previous 1.47 (colored) to selected 1.44.8.1 (colored)

- Improve on previous.
- If no /usr and the disk still has free space, give it to /

Revision 1.47 / (download) - annotate - [select for diffs], Sat Apr 4 11:04:28 2009 UTC (14 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.46: +11 -6 lines
Diff to previous 1.46 (colored) to selected 1.44.8.1 (colored)

Calculate swap size dynamically if DEFSWAPSIZE == -1. Default to RAM size.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Apr 4 10:38:00 2009 UTC (14 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.45: +8 -1 lines
Diff to previous 1.45 (colored) to selected 1.44.8.1 (colored)

- Default to UFS2 if the platform can boot from it.
- Default logging on.

Revision 1.44.6.2, Sun Oct 5 20:11:09 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.1: +1 -1 lines
FILE REMOVED

Sync with HEAD.

Revision 1.44.10.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:00 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.44: +38 -7 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.44.8.1 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.44.8.1 / (download) - annotate - [selected], Wed Jun 4 02:03:20 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.44: +38 -7 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:18 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44: +38 -7 lines
Diff to previous 1.44 (colored) to selected 1.44.8.1 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Sat May 24 11:06:53 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, 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, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.44: +38 -7 lines
Diff to previous 1.44 (colored) to selected 1.44.8.1 (colored)

PR install/38604: when chosing "use existing partitions", and the old
label looks like an autogenerated "whole disk" label, make sure that
we adjust the 'a' partition when we create an MBR that does not start
right at the start of the disk. Also when we force this partition to be
mounted, init it's mount point to / and force a newfs.

Revision 1.42.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 00:21:03 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.42.8.1: +6 -25 lines
Diff to previous 1.42.8.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.44.8.1 (colored)

sync with HEAD

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 23:15:38 2008 UTC (16 years, 2 months ago) by garbled
Branch: mjf-devfs
Changes since 1.44.2.1: +671 -0 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.44.8.1 (colored)

Change bsddisklabel.c to export it's functions rather than declaring them
all static.  This makes it possible to write a md_make_bsd_partitions()
function without having to copy all of bsddisklabel.c into md.c.

Make ofppc sysinst install sanely and in a bootable manner on both my
7044, and my pegasos.  The only thing the user needs to do is pick the
right kernel set.

Revision 1.44.2.1, Wed Jan 23 23:15:37 2008 UTC (16 years, 2 months ago) by garbled
Branch: mjf-devfs
Changes since 1.44: +0 -671 lines
FILE REMOVED

file bsddisklabel.c was added on branch mjf-devfs on 2008-01-23 23:15:38 +0000

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jan 23 23:15:37 2008 UTC (16 years, 2 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: yamt-pf42, wrstuden-revivesa, mjf-devfs2, mjf-devfs
Changes since 1.43: +6 -25 lines
Diff to previous 1.43 (colored) to selected 1.44.8.1 (colored)

Change bsddisklabel.c to export it's functions rather than declaring them
all static.  This makes it possible to write a md_make_bsd_partitions()
function without having to copy all of bsddisklabel.c into md.c.

Make ofppc sysinst install sanely and in a bootable manner on both my
7044, and my pegasos.  The only thing the user needs to do is pick the
right kernel set.

Revision 1.42.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:28:27 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.42: +8 -1 lines
Diff to previous 1.42 (colored) to selected 1.44.8.1 (colored)

sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jan 2 11:23:22 2008 UTC (16 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-armv6-base
Changes since 1.42: +8 -1 lines
Diff to previous 1.42 (colored) to selected 1.44.8.1 (colored)

add support for PART_BOOT_PI_FLAGS and PART_BOOT_PI_MOUNT defines that
allow PART_BOOT support to set flags / mountpoint for the boot partition.

will be used for ofppc port to create an msdos /boot.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Oct 23 22:41:51 2006 UTC (17 years, 5 months ago) by he
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, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6
Changes since 1.41: +12 -8 lines
Diff to previous 1.41 (colored) to selected 1.44.8.1 (colored)

Complete the initializers.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 4 21:27:27 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored) to selected 1.44.8.1 (colored)

remove home-brewd rounding macros.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Apr 5 16:55:01 2006 UTC (17 years, 11 months ago) by garbled
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.39: +8 -2 lines
Diff to previous 1.39 (colored) to selected 1.44.8.1 (colored)

Rather big update to sysinst, in order to get it working on the prep port.

1) Add an md_post_extract() function.  This function is called after
extracting the sets, and allows the arch to do something at that time.
In the case of prep, it is much easier to install the bootcode after all
the sets are extracted, so we do it in md_post_extract().  Added empty
md_post_extract() functions to all other arches so they compile.

2) Add md_mbr_use_wholedisk() and md_check_mbr().  In edit_mbr() I have
split off the code that uses the whole disk for NetBSD, into the
mbr_use_wholedisk() function.  On most ports that use mbr.c, I made
md_mbr_use_wholedisk() just call that and return.  On prep we create the
magical prep boot partition here.  The md_check_mbr() function allows the
arch to add additional checks after the user had manually edited the MBR
to make sure the choices he made allow NetBSD to function.  Added a dummy
routine to all mbr.c using arches.

3) Added code to bsdlabel.c to create a partition of type boot if
PART_BOOT is defined, but BOOT_SIZE is not defined.  Also added two more
globals "bootsize" and "bootstart" which must be seeded in order to do
so.  This is done on prep in md_check_mbr().

4) Added MBR_PTYPE_PREP to the list of MBR partitions.

5) Made the prep port actually install sanely.  It now creates a prep
boot partition, labels it correctly, installs all the sets, and then runs
mkbootimage and dd's the bootimage into the prep partition.  The result
is a prep installer that creates a bootable NetBSD installation
automatically.

6) Edited the prep menus and messages files to add new labels.  In the
case of the translated files, I just added the words in english for
someone to translate later.

I tried to xcompile a few arches to make sure I didn't break anything,
but I could have missed something.  Please let me know if I have broken
your arch in any way.  I'll watch the autobuilds for the next few days
too. For all ports other than prep there should be no functional changes
at all.

Revision 1.39 / (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.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.44.8.1 (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.38 / (download) - annotate - [select for diffs], Mon Jan 9 15:25:20 2006 UTC (18 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.37: +5 -4 lines
Diff to previous 1.37 (colored) to selected 1.44.8.1 (colored)

- Fix typo (s/BFS/SYSVBFS/)
- Use strlcpy(3) rather than strcpy(3)

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 9 10:00:34 2006 UTC (18 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.36: +10 -1 lines
Diff to previous 1.36 (colored) to selected 1.44.8.1 (colored)

Add sysvbfs stuff. (enabled by md.h)

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Mon Nov 21 20:40:27 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: 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-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.34.2.1: +4 -3 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by dsl in ticket #975):
	distrib/utils/sysinst/bsddisklabel.c: revision 1.36
Fix check for root being entirely inside the area that can be read on
systems where the bios doesn't support LBA reads.
Due to faked geometries the last few (over 30000!) sectors may not be reported
as being readable, but we expect them to be in swap.  So we don't force a
root+usr install in that case.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Nov 5 09:55:34 2005 UTC (18 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored) to selected 1.44.8.1 (colored)

Fix check for root being entirely inside the area that can be read on
systems where the bios doesn't support LBA reads.
Due to faked geometries the last few (over 30000!) sectors may not be reported
as being readable, but we expect them to be in swap.  So we don't force a
root+usr install in that case.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sun Sep 18 18:15:38 2005 UTC (18 years, 6 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-0-RC1
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by dsl in ticket #791):
	distrib/utils/sysinst/bsddisklabel.c: revision 1.35
Don't display 'Yes' under 'Newfs' for swap

Revision 1.27.2.1.2.2 / (download) - annotate - [select for diffs], Tue Sep 13 22:21:03 2005 UTC (18 years, 6 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1
Changes since 1.27.2.1.2.1: +2 -2 lines
Diff to previous 1.27.2.1.2.1 (colored) to branchpoint 1.27.2.1 (colored) next main 1.28 (colored) to selected 1.44.8.1 (colored)

Pull up following revision(s) (requested by dsl in ticket #5834):
	distrib/utils/sysinst/bsddisklabel.c: revision 1.35
Don't display 'Yes' under 'Newfs' for swap

Revision 1.35 / (download) - annotate - [select for diffs], Sun Sep 11 20:38:26 2005 UTC (18 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.44.8.1 (colored)

Don't display 'Yes' under 'Newfs' for swap

Revision 1.27.2.1.2.1 / (download) - annotate - [select for diffs], Sun Jul 24 02:25:24 2005 UTC (18 years, 8 months ago) by snj
Branch: netbsd-2
CVS Tags: netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1
Changes since 1.27.2.1: +51 -37 lines
Diff to previous 1.27.2.1 (colored) to selected 1.44.8.1 (colored)

Apply patch (requested by riz in ticket #5523):
Sync sysinst with HEAD of 2005-07-23.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 20 20:42:36 2005 UTC (19 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.33: +26 -15 lines
Diff to previous 1.33 (colored) to selected 1.44.8.1 (colored)

Give all the space to / even when the BIOS can't quite read all of it.
Usually the unreadable part will be swap, but remove it from root even
if swap is not selected.
The user can always put it back on the next screen.
Saves sysinst allocating /usr when the bios geometry excludes the last
few MB of the disk (32 on one disk I have).

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jan 21 17:02:40 2005 UTC (19 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.44.8.1 (colored)

Ensure we only remove the size of /usr from that of / once.
Fixes PR install/28568

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 20 21:59:35 2005 UTC (19 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.31: +13 -17 lines
Diff to previous 1.31 (colored) to selected 1.44.8.1 (colored)

Default to using 2k fragments (16k blocks) on filesystems that are >1GB.
Matches the defaults advertised in the newfs(8).
Perry keeps on asking me to do this :-)

Revision 1.31 / (download) - annotate - [select for diffs], Sat Aug 14 16:06:36 2004 UTC (19 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) to selected 1.44.8.1 (colored)

Default to input in MB for all architectures (MB are cylinder aligned).
Move info about cylinders to the 'ask for units' menu.
  (translations need checking, done by cutting sentences)
Stop i386 always asking for units.
Use BIOS cylinders for MBR and disk cylinders for the disklabel.
  (code intended to do this, but got it wrong...)
Mark some menus as 'sub menu' or MC_SUBMENU so that the screen underneath
  is saved.
Add GENERIC.MPACPI to i386 menu.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jul 17 10:55:03 2004 UTC (19 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.44.8.1 (colored)

Remove the globals ramsize and rammb, the former was only ever used inside
a single function, the latter is now the return value of get_ramsize().
Changed all uses of rammb to get_ramsize().
Used the 64bit HW_PHYSMEM64 so silly things don't happen if the memory size
approaches (or even exceeds) 4GB.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed Jul 14 09:00:12 2004 UTC (19 years, 8 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-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
Branch point for: netbsd-2
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.44.8.1 (colored)

Pull up revision 1.29 (requested by christos in ticket #642):
PR/26201: Jukka Salmi: sysinst dumps core on NetBSD 2.0_BETA i386
The problem is that current_cylsize is used in the menu to select
rounding, and it is un-initialized at this point.
XXX: Must be pulled up to 2.0

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 12 22:33:21 2004 UTC (19 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored) to selected 1.44.8.1 (colored)

PR/26201: Jukka Salmi: sysinst dumps core on NetBSD 2.0_BETA i386
The problem is that current_cylsize is used in the menu to select
rounding, and it is un-initialized at this point.
XXX: Must be pulled up to 2.0

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 6 06:06:59 2004 UTC (19 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.27: +11 -7 lines
Diff to previous 1.27 (colored) to selected 1.44.8.1 (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.27 / (download) - annotate - [select for diffs], Fri Mar 26 19:55:13 2004 UTC (20 years ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.44.8.1 (colored)

Kill emptylabel() is doesn't DTRT since it doesn't know the size of the array.
Fixes breakage caused by copying oldlabel to bsdlabel for update.
Don't look for 'last mounted' in first alternate superblock.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Nov 30 14:36:43 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 (colored) to selected 1.44.8.1 (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.25 / (download) - annotate - [select for diffs], Thu Nov 20 09:47:53 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (colored) to selected 1.44.8.1 (colored)

Don't take the size of an mfs /tmp off the free disk space,
nor count a partition for it.
(Maybe the size of /tmp should be capped by that of swap.)

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 19 20:17:31 2003 UTC (20 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.23: +82 -70 lines
Diff to previous 1.23 (colored) to selected 1.44.8.1 (colored)

Checkpoint a load of changes - seems to work ok still.
- rework run_prog() so that the program name (etc) is usually displayed if
  the program generates any output, or terminates with an error.
  Allow arguments to included in single quotes.
  Try to collect console output so it doesn't interfere with curses.
- Add a '*' to the cylinder count if non-integral number of cylinders
  (on disklabel editor)
- Only show partition type for unused partitions.
- Show size including unused space on '+' partition, remove a..z since
  the don't relate to partition IDs (netbsd partition sizes)
- Fix deleting of 'user' partitions - killed size of next ptn.
- Don't default a swap partition is the disk already has one.
- Fix deleting of extended MBR partitions - changed size of ptn 2.
- Show error message if user tries something illegal in mbr editor.
- Default to old diskname (actually disk type - dunno why!)
- Use MI enable_rc_conf() to set RC_CONFIGURED=YES, use a single sed
  command instead of a raft of code playing with files etc.
- Float some menus to just below header text, saves counting and lets
  language variants have different height headers (use y=-1)
- Track whether anything is mounted on /mnt2 better.
- Put more texts into message file.
- Change english prose texts to be more correct.
- Stop french and polish versions core dumping if ptn start/size changed.
- Fix processing logic for saving /etc (action is still borked)
- Do tail-end setup if any sets (eg X) can't be found (but not if you give
  in (yet)).

Revision 1.23 / (download) - annotate - [select for diffs], Sat Sep 27 10:16:33 2003 UTC (20 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.22: +10 -5 lines
Diff to previous 1.22 (colored) to selected 1.44.8.1 (colored)

Include '+' in default for partition size.
If partition size input as '+', treat as 1 cylinder and '+'.
Set default sized /usr if all space can't be given to root.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jul 27 07:45:08 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.44.8.1 (colored)

Remove 'menu_ent' parameter from action routines.
Add menu for all disklabel partition types.
Default 'partition type' and 'sizechoice' menus to current value.
Change 'standard/use existing' to 'set sizes/use existing'.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jul 26 17:07:39 2003 UTC (20 years, 8 months ago) by salo
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.44.8.1 (colored)

netbsd.org->NetBSD.org

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

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

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 7 12:30:19 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.18: +38 -42 lines
Diff to previous 1.18 (colored) to selected 1.44.8.1 (colored)

Another pass of the rototiller. Mainly:
1) New MBR editor
2) Hierarchic timezone menu

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jun 14 12:58:45 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.17: +26 -7 lines
Diff to previous 1.17 (colored) to selected 1.44.8.1 (colored)

Implement a limit on the size of / so that its guaranteed readable by the boot code.
Remove pointless 'len' parameter from read_mbr and write_mbr.
Make read_mbr initialise mbr if it can't be read (delete MD code).
Make i386 always ask at least once about the bootcode.
Move LIB_MOVE and LIB_COUNT from md.h to aout2elf.c

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 13 11:45:49 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.16: +86 -31 lines
Diff to previous 1.16 (colored) to selected 1.44.8.1 (colored)

Report actual minimum size of partitions (instead of a number that is
4 times system memory). (These numbers need moving to a different menu still.)
Remove size of /usr from default sized / when /usr created.
Shrink swap in order to get partitions into available disk space.
Add twice ram size to / if space available (for system dumps).
Keep all but last partition cylinder aligned when the disk isn't a whole
number of cylinders.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 11 22:17:03 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.15: +27 -18 lines
Diff to previous 1.15 (colored) to selected 1.44.8.1 (colored)

Fix window size when asking for partition mount pt and size.
Hack to give free space to a default sized /usr
Add extra space to / and /usr is any of the X sets are included.
Remove last reference to 'layoutkind == 3'.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jun 10 17:47:15 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.14: +10 -24 lines
Diff to previous 1.14 (colored) to selected 1.44.8.1 (colored)

Use dynamic menu for final editing of partition stable

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 6 21:37:13 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.13: +118 -98 lines
Diff to previous 1.13 (colored) to selected 1.44.8.1 (colored)

Add (back) support for mfs /tmp
Fix menu size so that user defined partitions can be allocated instead of
standard ones (need > MAXPARTITIONS entries in menu).
Make partition size info static - with a view to including it in a longer loop.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 6 19:04:55 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored) to selected 1.44.8.1 (colored)

Fix build if MAXPARTITIONS is 8

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 4 20:05:12 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.11: +325 -247 lines
Diff to previous 1.11 (colored) to selected 1.44.8.1 (colored)

A rototil of the partition size requesting code.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 3 11:54:48 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.44.8.1 (colored)

Add NULL to all process_menu() calls - value is passed through to the
action routine.
Make the french and polish versions compile.
NB needs a new version of menuc - so need 'build.sh tools'

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 30 22:17:00 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored) to selected 1.44.8.1 (colored)

Make all architectures (except amiga and mac68k) use the MI make_bsd_partitions.
This does change the default size of /, but I'm going to rewrite
make_bsd_partitions next to make it less user-hostile.
(I'm not sure adding in 2 * ram is actually useful! Especially size it left
/usr with a -ve size on all my test installs with 256MB ram and 1GB disk)
Make bootsel code delete menu names if the partition is unused.
Use raw device for cdrom access (I've a kernel that doesn't report an invalid
label so /dev/cd0a dosn't work).

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 30 11:56:23 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.8: +34 -25 lines
Diff to previous 1.8 (colored) to selected 1.44.8.1 (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.8 / (download) - annotate - [select for diffs], Thu May 29 17:53:24 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.7: +28 -4 lines
Diff to previous 1.7 (colored) to selected 1.44.8.1 (colored)

Use local partstart and partsize.
Add code that might let this code add the boot partition for the 2 ports that need it.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 21 10:05:20 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.6: +136 -93 lines
Diff to previous 1.6 (colored) to selected 1.44.8.1 (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.6 / (download) - annotate - [select for diffs], Fri Aug 2 05:11:29 2002 UTC (21 years, 8 months ago) by grant
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) to selected 1.44.8.1 (colored)

set root partition default bsize and fsize.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 14 23:45:16 2001 UTC (23 years, 2 months ago) by mrg
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
Changes since 1.4: +1 -17 lines
Diff to previous 1.4 (colored) to selected 1.44.8.1 (colored)

fix compile lossage on i386.
move some data & a function from bsddisklabel.c to disks.c.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 14 02:38:13 2001 UTC (23 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.3: +170 -27 lines
Diff to previous 1.3 (colored) to selected 1.44.8.1 (colored)

extend sysinst disk handling, some general clean ups, better /etc support
and some sparc64 fixes.  details:

- new scripting_{,v}fprintf() that also write to the script log (if open).
- support of creation of LFS filesystems
- standard installs now allow one to choose which file systems to create,
out of the list of /usr, /var, /home, MFS /tmp, and swap.  a / is always
created, but the rest all optional. [*]
- new disklabel method: use existing.  this requires one to fill in the
mount points (and having at least a "/" is enforced).
- preservation of existing filesystems (at install) is supported.
- rewrote most of make_fstab(): the entire thing is generated from the
bsdlabel now, rather than hard coding / to 'a' and swap to 'b'.  create
MFS /tmp if requested.
- if IPv6 support isn't present, don't display any ipv6 messages.
- better rc.conf support
- sparc & sparc64 default to "cylinders" now.
- choosing "standard" instead of "standard with X" de-selects the X pkgs
by default.
- sparc64: don't install bootblocks until we have a complete system, avoids
booting with no /dev/console.
- sparc64: bump STDNEEDMB, it is way low.


[*] i have added default values for DEFVARSIZE & DEFUSRSIZE (this is used
only if /usr and /home are selected) to each port, based on STDNEEDMB.  as
such, my guesses might be wrong so port maintainers should look at these.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 22 10:12:12 2000 UTC (23 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.44.8.1 (colored)

de-__P()-ify

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 14 22:42:48 2000 UTC (24 years ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) to selected 1.44.8.1 (colored)

Convert ask_sizemult to take an argument, so that MBR using ports can
actually call it with the right sectors per cylinder size during
MBR partitioning.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 16 08:29:04 1999 UTC (24 years, 7 months ago) by abs
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Diff to selected 1.44.8.1 (colored)

Add generic make_bsd_partitions() in bsddisklabel.c useable by virtually all
orts. Since port specific information is in appropriate arch/.../md.h
bsddisklabel.c is currently #included by arch/.../md.c.
I'm not totally happy about this, but my concience is somewhat salved by the
overall reduction in breakage.
Initially only pmax, sparc, vax and x68k are using bsddisklabel.c.
While I'm here adjust defs.h for more than eight partitions in a generic
fashion.

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>