The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.132, Sat Jul 26 19:30:39 2014 UTC (6 days, 5 hours ago) by dholland
Branch: MAIN
CVS Tags: HEAD
Changes since 1.131: +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.131 / (download) - annotate - [select for diffs], Sat Jul 12 16:11:27 2014 UTC (2 weeks, 6 days ago) by dholland
Branch: MAIN
Changes since 1.130: +2 -5 lines
Diff to previous 1.130 (colored)

Revert version 1.111 of sysinst/disks.c, which caused sysinst to
create lfs fstab entries with fsck disabled, and instead patch
fsck_lfs to exit successfully without doing anything when given the -p
(bootup preen) option. If you really want to do fsck_lfs -p, you can
do fsck_lfs -f -p to make it go.

This has been sitting in my todo queue since February 2010 and was
ok'd by the committer at the time. The original commit was based on
this post:
   http://mail-index.netbsd.org/tech-kern/2010/02/09/msg007306.html

and I remain unconvinced that it's the right thing, but we can at
least do it properly and not ship a sysinst with -7 that creates
permanently wrong fstab files.

Note that this may cause problems for anyone who's taken -p out of the
bootup fsck flags; but doing that is wrong, so don't.

Revision 1.116.2.6 / (download) - annotate - [select for diffs], Thu May 22 12:01:35 2014 UTC (2 months, 1 week ago) by yamt
Branch: yamt-pagecache
Changes since 1.116.2.5: +28 -6 lines
Diff to previous 1.116.2.5 (colored) to branchpoint 1.116 (colored) next main 1.117 (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.130 / (download) - annotate - [select for diffs], Sat Dec 7 20:40:42 2013 UTC (7 months, 3 weeks ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.129: +24 -1 lines
Diff to previous 1.129 (colored)

Add a tmpfs for /var/shm on machines with more than 16MB ram to the created
/etc/fstab.

Revision 1.129 / (download) - annotate - [select for diffs], Wed Oct 30 15:37:49 2013 UTC (9 months ago) by drochner
Branch: MAIN
Changes since 1.128: +3 -2 lines
Diff to previous 1.128 (colored)

-recognize CF cards by the magic value in inquiry data
-kill CFG_ATAPI_MASK, didn't see anything in the specs supporting
 that it exists

Revision 1.128 / (download) - annotate - [select for diffs], Wed Oct 30 08:39:01 2013 UTC (9 months ago) by mrg
Branch: MAIN
Changes since 1.127: +3 -5 lines
Diff to previous 1.127 (colored)

remove unused variables

Revision 1.116.2.5 / (download) - annotate - [select for diffs], Wed Jan 16 05:26:11 2013 UTC (18 months, 2 weeks ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.116.2.4: +9 -1 lines
Diff to previous 1.116.2.4 (colored) to branchpoint 1.116 (colored)

sync with (a bit old) head

Revision 1.123.2.2.4.1 / (download) - annotate - [select for diffs], Sun Nov 25 10:12:14 2012 UTC (20 months ago) by jdc
Branch: netbsd-6-0
CVS Tags: 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
Changes since 1.123.2.2: +9 -1 lines
Diff to previous 1.123.2.2 (colored) next main 1.123.2.3 (colored)

Pull up revision 1.127 (requested by tsutsui in ticket #706).

Don't show a disk which is mounted as root partition
in the "Available disks" list during sysinst procedure
to prevent users from shooting their foot in case of
installation using install-image on a USB stick.
Per suggestion in PR/47195.

Revision 1.123.2.3 / (download) - annotate - [select for diffs], Sat Nov 24 19:32:28 2012 UTC (20 months ago) by jdc
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.123.2.2: +9 -1 lines
Diff to previous 1.123.2.2 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)

Pull up revision 1.127 (requested by tsutsui in ticket #706).

Don't show a disk which is mounted as root partition
in the "Available disks" list during sysinst procedure
to prevent users from shooting their foot in case of
installation using install-image on a USB stick.
Per suggestion in PR/47195.

Revision 1.126.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 02:57:53 2012 UTC (20 months, 1 week ago) by tls
Branch: tls-maxphys
Changes since 1.126: +9 -1 lines
Diff to previous 1.126 (colored) next main 1.127 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.127 / (download) - annotate - [select for diffs], Sat Nov 17 20:34:24 2012 UTC (20 months, 1 week ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Changes since 1.126: +9 -1 lines
Diff to previous 1.126 (colored)

Don't show a disk which is mounted as root partition
in the "Available disks" list during sysinst procedure
to prevent users from shooting their foot in case of
installation using install-image on a USB stick.
Per suggestion in PR/47195.

Revision 1.116.2.4 / (download) - annotate - [select for diffs], Tue Oct 30 18:48:52 2012 UTC (21 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.116.2.3: +46 -2 lines
Diff to previous 1.116.2.3 (colored) to branchpoint 1.116 (colored)

sync with head

Revision 1.123.2.2 / (download) - annotate - [select for diffs], Thu Jul 5 17:29:15 2012 UTC (2 years ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-0
Changes since 1.123.2.1: +13 -7 lines
Diff to previous 1.123.2.1 (colored) to branchpoint 1.123 (colored)

Pull up following revision(s) (requested by jdf in ticket #393):
	distrib/utils/sysinst/msg.mi.de: revision 1.68
	distrib/utils/sysinst/msg.mi.fr: revision 1.127
	distrib/utils/sysinst/msg.mi.en: revision 1.173
	distrib/utils/sysinst/disks.c: revision 1.124
	distrib/utils/sysinst/msg.mi.pl: revision 1.84
	distrib/utils/sysinst/msg.mi.es: revision 1.44
Changed returncodes to -1 of mount_disks in case of error (before, they were
inverted).
Add message mount_failed to be displayed when a mount fails, offering the
opportunity to go on anyway (fix for PR install/12020).

Revision 1.123.2.1 / (download) - annotate - [select for diffs], Wed Jul 4 20:48:55 2012 UTC (2 years ago) by jdc
Branch: netbsd-6
Changes since 1.123: +46 -2 lines
Diff to previous 1.123 (colored)

Pull up revisions:
  src/distrib/utils/sysinst/defs.h revision 1.163
  src/distrib/utils/sysinst/disks.c revisions 1.125,1.126
  src/distrib/utils/sysinst/main.c revisions 1.65,1.66
  src/distrib/utils/sysinst/arch/emips/md.h revision 1.4
  src/distrib/utils/sysinst/arch/i386/md.h revision 1.69
  src/distrib/utils/sysinst/arch/vax/md.h revision 1.21
(requested by abs in ticket #386).

- Replace the CD_NAME definition with a CD_NAMES comma separate list,
 the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
 takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
 checks the contents of hw.disknames against CD_NAMES. The first one
 found (minus partition letter) is picked, otherwise the first entry
 in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax

Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either

Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Jun 23 14:06:02 2012 UTC (2 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.125: +14 -11 lines
Diff to previous 1.125 (colored)

Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either

Revision 1.125 / (download) - annotate - [select for diffs], Fri Jun 22 20:54:39 2012 UTC (2 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.124: +43 -2 lines
Diff to previous 1.124 (colored)

- Replace the CD_NAME definition with a CD_NAMES comma separate list,
  the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
  takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
  checks the contents of hw.disknames against CD_NAMES. The first one
  found (minus partition letter) is picked, otherwise the first entry
  in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax

Revision 1.116.2.3 / (download) - annotate - [select for diffs], Wed May 23 10:07:19 2012 UTC (2 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.116.2.2: +13 -7 lines
Diff to previous 1.116.2.2 (colored) to branchpoint 1.116 (colored)

sync with head.

Revision 1.124 / (download) - annotate - [select for diffs], Mon May 21 22:38:26 2012 UTC (2 years, 2 months ago) by jdf
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.123: +13 -7 lines
Diff to previous 1.123 (colored)

Changed returncodes to -1 of mount_disks in case of error (before, they were
inverted).
Add message mount_failed to be displayed when a mount fails, offering the
opportunity to go on anyway (fix for PR install/12020).

Revision 1.116.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:49 2012 UTC (2 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.116.2.1: +14 -9 lines
Diff to previous 1.116.2.1 (colored) to branchpoint 1.116 (colored)

sync with head

Revision 1.123 / (download) - annotate - [select for diffs], Mon Jan 9 01:51:47 2012 UTC (2 years, 6 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base
Branch point for: netbsd-6
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

Use the "doingwhat" message for the multiple disks case, not just the
single-disk case.

XXX Native speakers of .fr, .es, .de, and .pl please make sure the
replacement makes sense.  Thanks!

Revision 1.122 / (download) - annotate - [select for diffs], Thu Jan 5 22:18:36 2012 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.121: +11 -2 lines
Diff to previous 1.121 (colored)

we want the label name not the fstype name.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Jan 5 21:29:24 2012 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

eliminate useless booleans and use the file pointers as conditionals.

Revision 1.120 / (download) - annotate - [select for diffs], Thu Jan 5 21:22:49 2012 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

- add printflike and fix the broken formats
- make sure we don't exceed the number of partitions we have

Revision 1.119 / (download) - annotate - [select for diffs], Thu Jan 5 20:21:35 2012 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.118: +2 -16 lines
Diff to previous 1.118 (colored)

use getfstypename from libutil.

Revision 1.118 / (download) - annotate - [select for diffs], Thu Jan 5 19:43:59 2012 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.117: +15 -5 lines
Diff to previous 1.117 (colored)

- avoid dereferencing junk if fstype is out of bounds.
- kill mountnames since it is not used.

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:15 2011 UTC (2 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.116: +5 -1 lines
Diff to previous 1.116 (colored)

sync with head

Revision 1.117 / (download) - annotate - [select for diffs], Fri Nov 4 11:27:00 2011 UTC (2 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2
Changes since 1.116: +5 -1 lines
Diff to previous 1.116 (colored)

Add a new hook, md_pre_mount(), that is called after preparation of
the target filesystem, but before mounting it. Use this on sparc64
to install the primary boot block, but install the secondary boot
(/ofwboot) later.
This allows sysinst to run at securelevel 1 (as long as we don't do an
upgrade install on the hard disk we booted from).

Revision 1.116 / (download) - annotate - [select for diffs], Sun Aug 21 15:06:41 2011 UTC (2 years, 11 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.115: +9 -6 lines
Diff to previous 1.115 (colored)

Use PRIi64 for printing tmp_ramdisk_size, which is a daddr_t (64 bits).
This fixes the size of the ramdisk file system being 0 on big endian
systems.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Aug 16 18:28:41 2011 UTC (2 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

Improve a comment. For Snader_LB.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Aug 16 13:58:21 2011 UTC (2 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

Fix typo in comment, from Snader_LB.

Revision 1.113 / (download) - annotate - [select for diffs], Mon Apr 4 08:30:12 2011 UTC (3 years, 3 months ago) by mbalmer
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.112: +7 -11 lines
Diff to previous 1.112 (colored)

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

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:18:40 2011 UTC (3 years, 5 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored) next main 1.112 (colored)

Sync with HEAD

Revision 1.112 / (download) - annotate - [select for diffs], Wed Jan 26 01:18:46 2011 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored)

Add support for the Extensible MIPS ("eMIPS") platform.  The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.

Revision 1.100.2.2.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:20:43 2010 UTC (4 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.100.2.2: +234 -7 lines
Diff to previous 1.100.2.2 (colored) next main 1.100.2.3 (colored)

sync to netbsd-5

Revision 1.111 / (download) - annotate - [select for diffs], Wed Feb 17 16:09:52 2010 UTC (4 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.110: +5 -2 lines
Diff to previous 1.110 (colored)

eeh says we should not enable fsck_lfs on lfs partitions

Revision 1.100.2.6 / (download) - annotate - [select for diffs], Sat Jan 9 01:31:57 2010 UTC (4 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-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.100.2.5: +9 -4 lines
Diff to previous 1.100.2.5 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored)

Pull up following revision(s) (requested by cegger in ticket #1217):
	distrib/utils/sysinst/disks.c: revision 1.108
When creating /etc/fstab:
for the first swap partition use type sw,dp instead of sw, so dump device
gets configured correctly if swap is not on the second partition.
Fixes PR install/42148.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Jan 2 18:06:57 2010 UTC (4 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Fix some of the sign-compare fubar.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Oct 18 12:09:48 2009 UTC (4 years, 9 months ago) by ahoka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.108: +9 -4 lines
Diff to previous 1.108 (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.100.2.5 / (download) - annotate - [select for diffs], Sat Oct 3 23:22:23 2009 UTC (4 years, 9 months ago) by snj
Branch: netbsd-5
Changes since 1.100.2.4: +3 -1 lines
Diff to previous 1.100.2.4 (colored) to branchpoint 1.100 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #1046):
	distrib/utils/sysinst/disks.c: revision 1.107
In get_descr(), initialize dd_descr to an empty string before probing
ATA and SCSI identification. Fixes issues with xbd and raid.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Oct 3 12:00:00 2009 UTC (4 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.107: +9 -4 lines
Diff to previous 1.107 (colored)

When creating /etc/fstab:
for the first swap partition use type sw,dp instead of sw, so dump device
gets configured correctly if swap is not on the second partition.
Fixes PR install/42148.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Oct 1 10:41:03 2009 UTC (4 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.106: +3 -1 lines
Diff to previous 1.106 (colored)

In get_descr(), initialize dd_descr to an empty string before probing
ATA and SCSI identification. Fixes issues with xbd and raid.

Revision 1.100.2.4 / (download) - annotate - [select for diffs], Sat Sep 5 12:57:00 2009 UTC (4 years, 10 months ago) by bouyer
Branch: netbsd-5
Changes since 1.100.2.3: +217 -2 lines
Diff to previous 1.100.2.3 (colored) to branchpoint 1.100 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #924):
	distrib/utils/sysinst/disks.c: revision 1.106
PR# install/41925: sysinst find_disks() should display more than just
                   the device name
Try ATA/SCSI identify commands and when successful, use the model information
along with the disk size when creating the 'Available disks' menu.
Instead of having a list of disks (wd0, wd1, sd0) the menu now looks like:
  Available disks
 >a: wd0 (977M, SanDisk SDCFB-1024)
  b: wd1 (233G, FUJITSU MHY2250BH)
  c: sd0 (246M, LEXAR JUMPDRIVE ELITE)
ok martin@

Revision 1.106 / (download) - annotate - [select for diffs], Sun Aug 23 18:43:33 2009 UTC (4 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.105: +218 -3 lines
Diff to previous 1.105 (colored)

PR# install/41925: sysinst find_disks() should display more than just
		   the device name

Try ATA/SCSI identify commands and when successful, use the model information
along with the disk size when creating the 'Available disks' menu.

Instead of having a list of disks (wd0, wd1, sd0) the menu now looks like:

  Available disks

 >a: wd0 (977M, SanDisk SDCFB-1024)
  b: wd1 (233G, FUJITSU MHY2250BH)
  c: sd0 (246M, LEXAR JUMPDRIVE ELITE)

ok martin@

Revision 1.100.2.3 / (download) - annotate - [select for diffs], Mon May 18 19:35:14 2009 UTC (5 years, 2 months ago) by bouyer
Branch: netbsd-5
Changes since 1.100.2.2: +7 -2 lines
Diff to previous 1.100.2.2 (colored) to branchpoint 1.100 (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.105 / (download) - annotate - [select for diffs], Thu May 14 16:23:38 2009 UTC (5 years, 2 months ago) by sborrill
Branch: MAIN
Changes since 1.104: +7 -2 lines
Diff to previous 1.104 (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.100.4.1 / (download) - annotate - [select for diffs], Wed May 13 19:17:55 2009 UTC (5 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.100: +49 -4 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Sync with HEAD.

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

Revision 1.104 / (download) - annotate - [select for diffs], Tue Apr 7 10:45:04 2009 UTC (5 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.103: +47 -1 lines
Diff to previous 1.103 (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.100.2.2 / (download) - annotate - [select for diffs], Mon Mar 2 19:39:30 2009 UTC (5 years, 5 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Branch point for: matt-nb5-mips64
Changes since 1.100.2.1: +2 -2 lines
Diff to previous 1.100.2.1 (colored) to branchpoint 1.100 (colored)

Pull up following revision(s) (requested by ad in ticket #497):
	distrib/utils/sysinst/disks.c: revision 1.103
Put back /kern, apparently xen uses it (and probably scripts too).

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Mon Mar 2 19:36:31 2009 UTC (5 years, 5 months ago) by snj
Branch: netbsd-5
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored)

Pull up following revision(s) (requested by ad in ticket #496):
	distrib/utils/sysinst/disks.c: revision 1.102
- Mount /proc automatically. We have fixed a ton of bugs, it's needed for
  Linux compat, and we are planning to kill ptrace and make the debugger
  use /proc instead.
- kernfs is hosed at the moment and nothing appears to rely on it any more,
  so disable it. (IPsec did at one point, IIRC).

Revision 1.103 / (download) - annotate - [select for diffs], Mon Feb 23 23:12:24 2009 UTC (5 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Put back /kern, apparently xen uses it (and probably scripts too).

Revision 1.102 / (download) - annotate - [select for diffs], Mon Feb 23 22:51:47 2009 UTC (5 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

- Mount /proc automatically. We have fixed a ton of bugs, it's needed for
  Linux compat, and we are planning to kill ptrace and make the debugger
  use /proc instead.

- kernfs is hosed at the moment and nothing appears to rely on it any more,
  so disable it. (IPsec did at one point, IIRC).

Revision 1.101 / (download) - annotate - [select for diffs], Sun Feb 22 11:21:55 2009 UTC (5 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.100: +2 -3 lines
Diff to previous 1.100 (colored)

Remove softdep menu item.

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

Sync with HEAD.

Revision 1.99.6.1 / (download) - annotate - [select for diffs], Sun Sep 28 11:09:22 2008 UTC (5 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.99: +9 -4 lines
Diff to previous 1.99 (colored)

Sync with HEAD.

Revision 1.99.10.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:41:22 2008 UTC (5 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.99: +9 -4 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Aug 8 02:54:06 2008 UTC (5 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2
Branch point for: netbsd-5, jym-xensuspend
Changes since 1.99: +9 -4 lines
Diff to previous 1.99 (colored)

Allow the "log" option to be chosen for filesystems.  Move "log"
and "softdep" to top of menu to chose filesystem options.

Revision 1.99.12.1 / (download) - annotate - [select for diffs], Tue Jun 10 14:51:20 2008 UTC (6 years, 1 month ago) by simonb
Branch: simonb-wapbl
Changes since 1.99: +8 -4 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block
Logging) journaling code.  Originally written by Darrin B. Jewell
while at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

Still a number of issues - look in doc/BRANCHES for "simonb-wapbl"
for more info.

Revision 1.96.4.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:21:03 2008 UTC (6 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.96: +30 -1 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

sync with HEAD

Revision 1.99.2.2 / (download) - annotate - [select for diffs], Sat Feb 2 09:26:46 2008 UTC (6 years, 6 months ago) by tsutsui
Branch: mjf-devfs
Changes since 1.99.2.1: +821 -0 lines
Diff to previous 1.99.2.1 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)

Handle PIF_NEWFS against ext2fs with newfs_ext2fs(8) if USE_EXT2FS is defined.

Revision 1.99.2.1, Sat Feb 2 09:26:45 2008 UTC (6 years, 6 months ago) by tsutsui
Branch: mjf-devfs
Changes since 1.99: +0 -821 lines
FILE REMOVED

file disks.c was added on branch mjf-devfs on 2008-02-02 09:26:46 +0000

Revision 1.99 / (download) - annotate - [select for diffs], Sat Feb 2 09:26:45 2008 UTC (6 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: wrstuden-revivesa, simonb-wapbl, mjf-devfs2, mjf-devfs
Changes since 1.98: +8 -1 lines
Diff to previous 1.98 (colored)

Handle PIF_NEWFS against ext2fs with newfs_ext2fs(8) if USE_EXT2FS is defined.

Revision 1.98 / (download) - annotate - [select for diffs], Sat Feb 2 04:15:27 2008 UTC (6 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.97: +21 -1 lines
Diff to previous 1.97 (colored)

Make it possible to invoke newfs_msdos(8) for MS-DOS partitions
if USE_NEWFS_MSDOS is defined and the specified partition can't be mounted.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Jan 15 12:09:24 2008 UTC (6 years, 6 months ago) by hubertf
Branch: MAIN
Changes since 1.96: +3 -1 lines
Diff to previous 1.96 (colored)

Create /cdrom and add an entry to fstab
Discussed & OK'd in October 2007 on tech-install

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jun 18 16:58:42 2007 UTC (7 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6
Changes since 1.95: +4 -2 lines
Diff to previous 1.95 (colored)

Mount a ptyfs on /dev/pts by default. I'm committing it because
I did not have any answer for 10 days.

http://mail-index.netbsd.org/tech-install/2007/06/08/0001.html

Revision 1.95 / (download) - annotate - [select for diffs], Thu Nov 30 20:48:13 2006 UTC (7 years, 8 months ago) by dsl
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
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Fix inverted test for presence of lfs commands when writing /etc/fstab

Revision 1.94 / (download) - annotate - [select for diffs], Sat Feb 25 20:21:00 2006 UTC (8 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored)

Use a menu for 'install from floppy' questions.
Ask whether the user wants to delete the fetched files (ftp and floppy) after
install.  Delete after sucessful install of each file.
Kill bufferred tty input in a couple of places when typeahead will be wrong.
Code added to run.c to do a 'cd' in the child, unused (so far).

Revision 1.93 / (download) - annotate - [select for diffs], Sun Jan 15 20:33:05 2006 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.92: +6 -5 lines
Diff to previous 1.92 (colored)

Specify -V2 to newfs so that pages of superblock numbers are not output.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Jan 12 22:02:44 2006 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.91: +10 -5 lines
Diff to previous 1.91 (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.91 / (download) - annotate - [select for diffs], Mon Jan 9 10:00:34 2006 UTC (8 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.90: +39 -1 lines
Diff to previous 1.90 (colored)

Add sysvbfs stuff. (enabled by md.h)

Revision 1.87.2.2 / (download) - annotate - [select for diffs], Mon Sep 19 20:50:20 2005 UTC (8 years, 10 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-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.87.2.1: +5 -1 lines
Diff to previous 1.87.2.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)

Pull up following revision(s) (requested by dsl in ticket #795):
	distrib/utils/sysinst/disks.c: revision 1.89
Comment out the vstab entries generated for alternate root filesystems.
Marking the 'noauto' isn't enough to stop the code that remounts root rw
trying to use them.

Revision 1.76.2.4.2.2 / (download) - annotate - [select for diffs], Tue Sep 13 22:32:44 2005 UTC (8 years, 10 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.76.2.4.2.1: +5 -1 lines
Diff to previous 1.76.2.4.2.1 (colored) to branchpoint 1.76.2.4 (colored) next main 1.77 (colored)

Pull up following revision(s) (requested by dsl in ticket #5838):
	distrib/utils/sysinst/disks.c: revision 1.89
Comment out the vstab entries generated for alternate root filesystems.
Marking the 'noauto' isn't enough to stop the code that remounts root rw
trying to use them.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Sep 12 15:47:09 2005 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.89: +9 -7 lines
Diff to previous 1.89 (colored)

Prettier /etc/fstab generation (from Liam Foy)

Revision 1.89 / (download) - annotate - [select for diffs], Sun Aug 28 13:10:20 2005 UTC (8 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.88: +5 -1 lines
Diff to previous 1.88 (colored)

Comment out the vstab entries generated for alternate root filesystems.
Marking the 'noauto' isn't enough to stop the code that remounts root rw
trying to use them.

Revision 1.76.2.4.2.1 / (download) - annotate - [select for diffs], Sun Jul 24 02:25:24 2005 UTC (9 years ago) by snj
Branch: netbsd-2
CVS Tags: netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1
Changes since 1.76.2.4: +2 -3 lines
Diff to previous 1.76.2.4 (colored)

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

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Sat Jun 18 05:27:54 2005 UTC (9 years, 1 month ago) by riz
Branch: netbsd-3
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Pull up revision 1.88 (requested by tron in ticket #439):
Add raid(4) to the list of machine-independent devices which "sysinst"
recognizes. This allows upgrading e.g. NetBSD-macppc or NetBSD-sparc64
systems with RAIDframe mirrored root devices.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Jun 9 22:14:20 2005 UTC (9 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Add raid(4) to the list of machine-independent devices which "sysinst"
recognizes. This allows upgrading e.g. NetBSD-macppc or NetBSD-sparc64
systems with RAIDframe mirrored root devices.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Oct 16 13:20:10 2004 UTC (9 years, 9 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.86: +1 -2 lines
Diff to previous 1.86 (colored)

Make compile with WARNS=3

Revision 1.76.2.4 / (download) - annotate - [select for diffs], Thu Jun 17 09:15:45 2004 UTC (10 years, 1 month 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.76.2.3: +4 -2 lines
Diff to previous 1.76.2.3 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Pull up revision 1.86 (requested by dsl in ticket #492):
dd->dd_no_mbr has to always be initialized.  It doesn't default to 0 since
it is allocated on the stack.  Thus, allow editing the MBR partition table
on disks that actually have a MBR.

Revision 1.76.2.3 / (download) - annotate - [select for diffs], Thu Jun 17 09:14:02 2004 UTC (10 years, 1 month ago) by tron
Branch: netbsd-2-0
Changes since 1.76.2.2: +19 -18 lines
Diff to previous 1.76.2.2 (colored) to branchpoint 1.76 (colored)

Pull up revision 1.85 (requested by dsl in ticket #491):
Parse a disk name of "raid:no_mbr" to mean "raid" but without any mbr
setup (on i386).  Allows sysinst to install to an existing RAID1 volume.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Sat May 22 16:53:21 2004 UTC (10 years, 2 months ago) by he
Branch: netbsd-2-0
Changes since 1.76.2.1: +3 -2 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored)

Pull up revision 1.84 (requested by dsl in ticket #364):
  'ptn' may be ' ' so sprintf(..., "/dev/r%s%c", disk, ptn) won't
  work!  Convert ' ' to 0 to ensure a valid device name is genarated.
  (This will be a problem in 'upgrade' when filesystems are mounted
  using the targets extisting /etc/fstab.)

Revision 1.86 / (download) - annotate - [select for diffs], Tue May 18 14:07:06 2004 UTC (10 years, 2 months ago) by cube
Branch: MAIN
Changes since 1.85: +4 -2 lines
Diff to previous 1.85 (colored)

dd->dd_no_mbr has to always be initialized.  It doesn't default to 0 since
it is allocated on the stack.  Thus, allow editing the MBR partition table
on disks that actually have a MBR.

Revision 1.85 / (download) - annotate - [select for diffs], Sat May 15 21:53:29 2004 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.84: +19 -18 lines
Diff to previous 1.84 (colored)

Parse a disk name of "raid:no_mbr" to mean "raid" but without any mbr
setup (on i386).  Allows sysinst to install to an existing RAID1 volume.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Apr 28 20:59:32 2004 UTC (10 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored)

'ptn' may be ' ' so sprintf(..., "/dev/r%s%c", disk, ptn) won't work!
Convert ' ' to 0 to ensure a valid device name is genarated.
(This will be a problem in 'upgrade' when filesystems are mounted
using the targets extisting /etc/fstab.)

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Wed Apr 28 05:39:15 2004 UTC (10 years, 3 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.76: +59 -2 lines
Diff to previous 1.76 (colored)

Pullup rev 1.77-1.83 (requested by dbj in ticket #195)

Perform the same function in sysinst as the etc/rc.d/fixsb script. PR#25138

Revision 1.83 / (download) - annotate - [select for diffs], Sun Apr 25 18:50:44 2004 UTC (10 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

fix typo when specifying raw partition for fixsb upgrade

Revision 1.82 / (download) - annotate - [select for diffs], Sun Apr 25 18:40:37 2004 UTC (10 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.81: +25 -29 lines
Diff to previous 1.81 (colored)

fix bug with fixsb taking ptn+'a'
use union to align struct fs
don't check error return from fsck upgrade/downgrade runs
use RUN_DISPLAY | RUN_PROGRESS when running upgrade runs
don't use opendisk

Revision 1.81 / (download) - annotate - [select for diffs], Sun Apr 25 17:15:27 2004 UTC (10 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.80: +30 -9 lines
Diff to previous 1.80 (colored)

Merge in code from my version of Darrin's fixsb routine (we both wrote
much the same function).
Mainly some extra comments, also moved a 'static' so we use 512bytes of
stack and not static data.  Killed call to access() as it is pointless
and doesn't do what you want (access is for suid programs to check whether
the real user could do the operation).

Revision 1.80 / (download) - annotate - [select for diffs], Sat Apr 24 20:54:26 2004 UTC (10 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

fix parenthesis in fixsb. oops

Revision 1.79 / (download) - annotate - [select for diffs], Sat Apr 24 20:51:30 2004 UTC (10 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

ensure that sblk is 64bit aligned, fix suggested by dsl

Revision 1.78 / (download) - annotate - [select for diffs], Sat Apr 24 20:48:57 2004 UTC (10 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

fix pread return check in fixsb. caught by dsl

Revision 1.77 / (download) - annotate - [select for diffs], Sat Apr 24 20:42:39 2004 UTC (10 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.76: +41 -1 lines
Diff to previous 1.76 (colored)

fixsb script for sysinst
addresses pr install/25138

Revision 1.76 / (download) - annotate - [select for diffs], Fri Mar 26 19:55:13 2004 UTC (10 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (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.75 / (download) - annotate - [select for diffs], Fri Mar 26 17:28:55 2004 UTC (10 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.74: +4 -1 lines
Diff to previous 1.74 (colored)

Copy 'oldlabel' to 'newlabel' when we read it - should mean that
sysinst 'upgrade' will find the correct filesystem type and install
the correct boot code.
Fixes PR install/24812

Revision 1.74 / (download) - annotate - [select for diffs], Sun Nov 30 14:36:43 2003 UTC (10 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.73: +127 -196 lines
Diff to previous 1.73 (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.73 / (download) - annotate - [select for diffs], Sun Oct 19 20:17:31 2003 UTC (10 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.72: +5 -4 lines
Diff to previous 1.72 (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.72 / (download) - annotate - [select for diffs], Sat Sep 27 10:47:17 2003 UTC (10 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.71: +5 -3 lines
Diff to previous 1.71 (colored)

Use new kern.root_partition sysctl to find out whether we are installing
over the current root (ie the one we are booted from).
Remove all the stuff that tried to find this out by other means.
A few other message changes.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Aug 10 14:51:48 2003 UTC (10 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.70: +5 -2 lines
Diff to previous 1.70 (colored)

Let noexec, nodev and nosuid be written to /ets fstab entries
Always use 1023 cylinders in mbr for large disks

Revision 1.70 / (download) - annotate - [select for diffs], Sat Aug 9 21:36:27 2003 UTC (10 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.69: +9 -3 lines
Diff to previous 1.69 (colored)

Allow user to shoot themselves in the foot by specifing a non-standard
'average bytes per inode' for each partition.
Fixes PR install/8509

Revision 1.69 / (download) - annotate - [select for diffs], Tue Aug 5 13:35:26 2003 UTC (10 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.68: +23 -7 lines
Diff to previous 1.68 (colored)

When writing /etc/fstab:
add support for setting mount options of async, noatime, nodevmtine and softdep.
add noauto if 'mount' was not requested.
add entry for /proc (with noauto)
Display fragment size and block size on the correct line.
Ask for numeric fragment size (not # fragments/block).
Show one unused partition when editing disklabel.
Zap all fields when a partition is made FS_UNSED.
Tweak some menu texts (a space at the end of a line causes a line break!).
Simplify code that displays output from commands - curses is requied to not DTRT
with CR/LF sequences, I need to revert libcurses :-(

Revision 1.68 / (download) - annotate - [select for diffs], Mon Aug 4 09:23:50 2003 UTC (11 years ago) by skrll
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Put a quote in the right place.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 27 08:57:27 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Force localfs_dir to be an absolute path - fixes PR install/14130.
Put disklabel info into /tmp/disktab in case / isn't writable,
fixes PR 17347.  Note the /etc/disktab isn't the target /etc anyway...

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jul 27 07:45:08 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (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.65 / (download) - annotate - [select for diffs], Fri Jul 25 08:26:21 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.64: +12 -12 lines
Diff to previous 1.64 (colored)

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

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jul 11 15:28:58 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.63: +59 -44 lines
Diff to previous 1.63 (colored)

Use a menu when asking for the install disk (fixes PR install/20121).
Make disk_desc[], disk and numdisks local to get_disks (instead of globals).
Fix a little fallout from the above.
A bit of mbr.c was missing #ifdef BOOTSEL...

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jul 8 17:38:55 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Sort out (and remember) the disk partition we will install into.
This should stop the i386 code splatting all over the start of the disk
during upgrade.
Upgrade will still use partition 'a' (unless you loop through the install
far enough first!)

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jul 7 12:30:19 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.61: +56 -89 lines
Diff to previous 1.61 (colored)

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

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jun 27 22:20:15 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Add run-time selection of installation language.
Make 'doingwhat' an argument to find_disks() instead of a global.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jun 16 20:10:02 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.59: +13 -13 lines
Diff to previous 1.59 (colored)

Whitespace fixes

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jun 16 19:42:13 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.58: +5 -6 lines
Diff to previous 1.58 (colored)

A load of KNF changes, plus a couple of strnxxx => strlxxx my fingers did
on the way through.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 16 10:42:47 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.57: +64 -14 lines
Diff to previous 1.57 (colored)

Correct check for active swap on install disk.
Use swapctl() for all swap operations.
Remove md_upgrade_mbrtype() from arc and hpcmips ports.
(I haven't finalised what I'm doing about type 165 partitions, but the
existing code is borked.)

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jun 9 19:06:48 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.56: +103 -33 lines
Diff to previous 1.56 (colored)

Use dynamic menu to select partition to edit

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jun 6 21:37:13 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.55: +6 -7 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Fri Jun 6 14:31:22 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.54: +2 -22 lines
Diff to previous 1.54 (colored)

Remove a load of messages that are no longer used.
Make the French and Polish versions compile (seems I didn't fix it last time)

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jun 4 20:05:12 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.53: +16 -16 lines
Diff to previous 1.53 (colored)

A rototil of the partition size requesting code.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jun 3 11:54:48 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.52: +9 -9 lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Fri May 30 11:56:23 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.51: +10 -2 lines
Diff to previous 1.51 (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.51 / (download) - annotate - [select for diffs], Sun May 18 20:04:21 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.50: +78 -80 lines
Diff to previous 1.50 (colored)

White-space, buffer-overrun and long-line police,
Correct code that selects one of the available disks.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 18 01:13:23 2003 UTC (11 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.49: +5 -59 lines
Diff to previous 1.49 (colored)

Don't bother looking at the superblock directly, just run fsck (and
not fsck_lfs or fsck_ffs), it'll figure it out. Also, upgrading from
the old inode format is only needed for 0.9 or older. Noone is going
to do that.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jan 12 21:49:50 2003 UTC (11 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

hack to have only one copy of fstypenames[]

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 10 20:00:28 2003 UTC (11 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.47: +32 -28 lines
Diff to previous 1.47 (colored)

pass lint[pass1]

Revision 1.47 / (download) - annotate - [select for diffs], Thu Dec 5 01:17:16 2002 UTC (11 years, 7 months ago) by fvdl
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.46: +4 -3 lines
Diff to previous 1.46 (colored)

FILE *log -> FILE *logfp, to avoid warnings about gcc-current's
builtin log() function.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Aug 12 02:22:52 2002 UTC (11 years, 11 months ago) by grant
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

make mbr and disklabel editor consistently use Start, End, Size in
that order.

"offset" -> "start" where applicable.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sun Jun 30 06:24:01 2002 UTC (12 years, 1 month ago) by lukem
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.41.2.1: +16 -8 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Pull up revision 1.45 (requested by scottr in ticket #408):
If a valid file system type is found for a particular partition but no
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. This problem was originally reported by
Frederick Bruckman and fixed by Bob Nestor.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Sun Jun 30 05:54:35 2002 UTC (12 years, 1 month ago) by lukem
Branch: netbsd-1-6
Changes since 1.41: +3 -7 lines
Diff to previous 1.41 (colored)

Pull up revision 1.44 (requested by scottr in ticket #407):
Correct fsck_num() implementation; return the fs_passno value as defined
in fstab(5). Noticed by Frederick Bruckman.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jun 30 04:02:47 2002 UTC (12 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.44: +16 -8 lines
Diff to previous 1.44 (colored)

If a valid file system type is found for a particular partition but no
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. This problem was originally reported by
Frederick Bruckman and fixed by Bob Nestor.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jun 30 03:57:46 2002 UTC (12 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.43: +3 -7 lines
Diff to previous 1.43 (colored)

Correct fsck_num() implementation; return the fs_passno value as defined
in fstab(5). Noticed by Frederick Bruckman.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jun 29 20:16:41 2002 UTC (12 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.42: +8 -16 lines
Diff to previous 1.42 (colored)

Back out last; inadvertantly committed. This will be resurrected
in the future, in all likelihood, but it wasn't ready yet.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jun 29 20:12:57 2002 UTC (12 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.41: +17 -9 lines
Diff to previous 1.41 (colored)

If a valid file system type is found for a particular partition but no
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. Bob Nestor found this while working on sysinst
for mac68k, and as such there is no corresponding PR.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jan 14 23:45:17 2001 UTC (13 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.40: +23 -1 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 14 02:38:14 2001 UTC (13 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.39: +76 -51 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Fri Dec 22 10:12:12 2000 UTC (13 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

de-__P()-ify

Revision 1.38 / (download) - annotate - [select for diffs], Wed Dec 6 04:53:37 2000 UTC (13 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.37: +13 -14 lines
Diff to previous 1.37 (colored)

minor KNF.

Revision 1.31.4.3 / (download) - annotate - [select for diffs], Tue Nov 14 16:13:07 2000 UTC (13 years, 8 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.31.4.2: +5 -4 lines
Diff to previous 1.31.4.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Pullup 1.37 [fvdl]:
For filesystem checks, skip any 'noauto' entries. Avoids problems
when upgrading a system that has a 'noauto' entry for a floppy
or CD device that has type ffs.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 14 13:27:49 2000 UTC (13 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.36: +5 -4 lines
Diff to previous 1.36 (colored)

For filesystem checks, skip any 'noauto' entries. Avoids problems
when upgrading a system that has a 'noauto' entry for a floppy
or CD device that has type ffs.

Revision 1.31.4.2 / (download) - annotate - [select for diffs], Wed Nov 1 02:51:23 2000 UTC (13 years, 9 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-BETA2
Changes since 1.31.4.1: +2 -2 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored)

Pullup 1.34-1.36 [fvdl]:
Fix "incorrect fsck_ffs -c".

Revision 1.36 / (download) - annotate - [select for diffs], Tue Oct 31 16:02:06 2000 UTC (13 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Oops, add missing space after '-c 3'.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 31 11:19:50 2000 UTC (13 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

-c 2 -> -c 3

Revision 1.34 / (download) - annotate - [select for diffs], Tue Oct 31 10:41:43 2000 UTC (13 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

fsck -c -> fsck -c 2

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Wed Oct 18 17:51:14 2000 UTC (13 years, 9 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-BETA
Changes since 1.31: +39 -5 lines
Diff to previous 1.31 (colored)

Pullup (sync with HEAD not including xmisc set changes) [fvdl]:
==
Don't call test(1) to determine the existence/type of files, that's
rather over the top. Not doing this also means that test(1) can
be omitted from the ramdisks (for scripts it's not needed, because it
is built in to sh(1)).
==
On the i386, enable swapspace as soon as the disklabel has been written,
to play nice with low-memory systems.

Add a md_pre_update() hook, to do MD things before an upgrade operation.
On the i386, use it to enable swap.
==
Remove outdated comment.
==
Add a definition for md_init(), an MD function to initialize whatever
needs to be initialized before sysinst starts processing menus.
Call it from main().
==
[i386 only]
* In md_init, determine what kind of bootfloppy we are (either
  by checking uname, or the BOOTMODEL environment var), and set
  the kernel setname accordingly for some bootmodels (tiny and laptop),
  to install GENERIC_TINY and GENERIC_LAPTOP respectively. There's
  no sense in installing plain GENERIC, especially on "tiny" systems;
  it may not even make it far enough to add swapspace on 4M machines.
* Make sure to always install bootcode into the MBR (unless the user
  explicitly tells us not to). Should fix PR#8887, PR#9093, PR#9999
==
[non-i386 md.c files]
Add empty stubs for md_init().
==
[i386]
Fix compare logic error in check for installation of seperate kernel
sets.

Add code to deal with moving a.out libraries to /emul/aout for
upgrading.
==
[i386]
Add 2 defines for a.out library move code.
==
Externalize concat_paths, it is used by arch/i386/md.c now. Add
target_realpath prototype.
==
Add message for a.out library move failure case.
==
Add target_realpath(), a function that expands a pathname on the
"target" filesystem, i.e. a filesystem that will probably be
mounted on /mnt during install/upgrade, but will be / when
the system is booted. Needed to deal with absolute symbolic links.
This function is (unfortunately) a verbatim copy of realpath() from libc,
with prefix handling added.
==
Don't abort when trying to remove a directory marked as obsolete that does
not exist.
==
Create the disktab file directly, no need to waste precious inodes/space
in ramdisks with disktab.preinstall.
==
* Change the interface of run_prog: use a flags argument instead of
  seperate booleans. Add flags to run as a plain 'system()' command,
  fullscreen (but on a pty), and chrooted, and implement their
  functionality. Add a bit of TIOCPKT handling code to handle
  programs messing with term settings better.
* Ask to set the root password at the end of an install.
* Remove a few unneeded comments.
* Sprinkle some touchwin() calls here and there to make the output
cleaner.
  They shouldn't really be needed, but even normal usage (no syslog
  messages) even left the screen messy sometimes.
* Change some messages around that were apparently swapped by accident and
  thus caused confusion.
==
Improve labelling a bit, by allowing some shortcuts to start partitions
where another one ends, and ending partitions where another one start,
or at the start of the disk / until the end of the disk.
==
Stress that if a match is found between a disk device and a BIOS disk,
you really should not be changing the geometry values, unless they
look totally ridiculous due to some BIOS bug.

Disable manual entering of initial partition label values when doing
a custom label. The step was redundant. Just go to the label edit
directly, leaving everything but the c and d partitions empty.
==
Adapt for format change in mbr editing header; it now always displays
the whole partition, and the total disksize.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 11 23:47:55 2000 UTC (13 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

* Change the interface of run_prog: use a flags argument instead of
  seperate booleans. Add flags to run as a plain 'system()' command,
  fullscreen (but on a pty), and chrooted, and implement their
  functionality. Add a bit of TIOCPKT handling code to handle
  programs messing with term settings better.
* Ask to set the root password at the end of an install.
* Remove a few unneeded comments.
* Sprinkle some touchwin() calls here and there to make the output cleaner.
  They shouldn't really be needed, but even normal usage (no syslog
  messages) even left the screen messy sometimes.
* Change some messages around that were apparently swapped by accident and
  thus caused confusion.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Sep 27 12:42:04 2000 UTC (13 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.31: +35 -1 lines
Diff to previous 1.31 (colored)

Move md_enable_swap to disks.c, rename it set_swap, and handle both
enabling and disabling swap. Enabling swap is currently only
done by the i386 port on systems with <= 8M of physical memory.

If a user re-enters the install procedure through the main menu,
and the target disk has an active swap partition, try to disable it,
warning the user that this might lead to 'out of swap' problems,
making a restart necessary. This should not happen very often.

Partly based on comments by Simon Burge.

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 20 00:45:45 2000 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

We don't need to fsck -f filesystems, plain fsck is good enough.
Define DEBUG_SETS to fsck -f by default instead.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 4 21:52:11 1999 UTC (15 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

instead of using msg_printf_add("\n") to add a newline to the output,
add a 'newline' message and use msg_display_add().

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 4 21:39:33 1999 UTC (15 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

convert run_prog's error message from being a "const char *" to a msg.
XXX Only the callers that actually pass strings were fixed, the rest were
XXX left passing 'NULL'.  Eventually they should be cleaned up to pass
XXX MSG_NONE, but I didn't want to do that yet because somebody else
XXX (jonathan) is hacking on the run_prog callers and I didn't want to
XXX cause him a Lot of conflicts.  at least right now, MSG_NONE and NULL
XXX are as equivalent as they need to be.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 4 08:01:39 1999 UTC (15 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.27: +8 -6 lines
Diff to previous 1.27 (colored)

convert tables to use the new table formatting functons.  i386 tested,
mac68k and bebox bits compiled to the extent possible.  (bebox seems
broken, with duplicated menu names, but it doesn't look like that's my
fault.)

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Thu Jun 24 22:58:09 1999 UTC (15 years, 1 month ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.23.2.1: +2 -2 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

pull up rev(s) 1.27 from trunk. (cgd)

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed Jun 23 18:04:26 1999 UTC (15 years, 1 month ago) by cgd
Branch: dynamic-messages
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

commit (on a branch) some steps toward making message layout (word
placement) dynamic.  needs more work, and _much_ testing.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 20 06:08:14 1999 UTC (15 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: dynamic-messages-base
Branch point for: dynamic-messages
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

copyright notice typo fixups, as noticed in PR#7248.  This software
was developed, not develooped.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Apr 19 15:19:27 1999 UTC (15 years, 3 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE
Changes since 1.23: +34 -22 lines
Diff to previous 1.23 (colored)

sync with head. yes, this is an unorthodox pullup.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 13 20:17:47 1999 UTC (15 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.25: +1 -4 lines
Diff to previous 1.25 (colored)

Main change: add a cleanup_dist() function in util.c which will do the needed
cleanups before extracting a set. Should'nt do anything for an install,
as the filesystem shouldn't contain files that need to be removed.
cleanup_dist() is called before extract_file() for each set (the set name
is passed as parameter). It will open a file /dist/<set name>_obsolete
if it exists. This file should contain a list of files (absolutes
pathnames) that needs to be removed. cleanup_dist() will lstat() each file
to determine if it's there and if it's a directory or not.
It will then unlink() entries that are not directories and then rmdir()
directories. If a directory is not empty (it should now if the list of files
is correct) it will be renamed to <directory.old> and the user will be warned.

Other changes:
- move prototype of target_prefix() in defs.h, don't maintain a copy
  of it in each file.
- in install.c, after MSG_disksetupdone, do a wclear(stdscr) (display was
  clobbered after it).
- kill MSG_openmsgbuf, it's not used anywhere
- after MSG_disksetupdone in upgrade, don't call MENU_ok, do it the
  same way as in install.
- add wclear(stdscr);/wrefresh(stdscr); before calling MENU_distset (another
  display problem ...)
- While I'm there, move ask_verbose_dist() before MENU_distmedium. This way,
  if all go well the user can go away one ftp starts and come back once
  sets are extracted.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 11 22:40:19 1999 UTC (15 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.24: +6 -3 lines
Diff to previous 1.24 (colored)

- Add 2 functions in label.c, getpartoff()/getpartsize() used to let the user
  enter partitions offet and size. The user can chose unit independantly of
  the unit used for display ('M'/'c'/'s'). These functions do the proper
  bound checks and alignement/roudups. Used in the edfspart menu and
  i386 md_make_bsd_partitions() (other ports should do the change as
  well).
- now that getpartsize() does the rigth thing, kill the swapadj hack (which was
  buggy anyway).
- in i386 md_make_bsd_partitions(), don't propose defaults that don't fit on
  the disk. If the disk is too small, fallback to custom instead.
- fix a bug in mbr.c, where the partition flags would not have always been
  reset. sysinst created me a MBR with 2 active partition. The boot code
  doesn't like it :)
- added a message for eventual mount failures.
- killed donewfs and extracting messages, as we run  the commands in a
  subwindow these messages just flashed on the screen.
- Changes a few exit(1) to return(1), to give the user a second chance.
- added msg_clear() or wclear(stdscr) in a place or two, to make
  display a bit nicer.
- in run_cmd(), if the command succeeded, don't wait for the user to
  press enter.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 9 10:24:38 1999 UTC (15 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.23: +29 -17 lines
Diff to previous 1.23 (colored)

Some fixes for the do_install() function:
- Make all the functions called from do_install() return an error code,
  so that we can abort install if something went wrong.
- Add a 'errstr' argument to run_prog(), which if not NULL is displayed
  with msg_printf() and followed by process_menu(MENU_ok) if the command fail.
  Used to warn the user that the current action is aborted.
- in a few places use msg_display() or msg_printf() rather than printf.
  It seems that stdout/stderr are not always pointing to the active curses
  window.
- garbage-collecd unused messages, add a few new one (error handling).
XXX only tested on i386. Other md parts should be tested as well.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 31 00:44:48 1999 UTC (15 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.22: +70 -121 lines
Diff to previous 1.22 (colored)

Rework the MBR code, and some of the labelling code.

	* Use structures, not 2-dimensional arrays..
	* Use the DIOCGDEFLABEL ioctl to get the disk information,
	  to avoid confusion with (older) labels.
	* Don't ever call fdisk for partitioning. This was the
	  source of much confusion.
	* For the i386, use the BIOS geometry information passed by
	  the bootblocks.

Lots of things left to do, but it's a start.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 14 14:19:05 1999 UTC (15 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.21: +34 -34 lines
Diff to previous 1.21 (colored)

Start cleaning up geometry code by storing the disk geometry in a structure
with proper names, not an integer array with is numerically indexed.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 21 08:13:02 1999 UTC (15 years, 6 months ago) by garbled
Branch: MAIN
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

Oops.. missed an external declaration in the merge..  compiles now. ;)

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jan 21 08:02:17 1999 UTC (15 years, 6 months ago) by garbled
Branch: MAIN
Changes since 1.19: +37 -10 lines
Diff to previous 1.19 (colored)

This change includes the following:
Scripting and logging functionality for sysinst.
Child programs are run in a "display window" so you can actually see what
	they did before the screen flashes back and you loose it all.
Lots of curses fixups.  Removed nasty endwins that mangled the tty upon
	rentry.
Change the yes/no box to accept Y or N, and not require cursor motion to
	decide one or the other.
Perform curses redraws when doing things that could cause the kernel to
	spew printfs onto your screen.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 16 22:35:26 1998 UTC (15 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.18: +11 -7 lines
Diff to previous 1.18 (colored)

s/sprintf/snprintf/

Revision 1.4.2.9 / (download) - annotate - [select for diffs], Tue Nov 3 00:48:55 1998 UTC (15 years, 9 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.4.2.8: +2 -2 lines
Diff to previous 1.4.2.8 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

pull up rev 1.18 from trunk (jonathan)

Revision 1.18 / (download) - annotate - [select for diffs], Sat Oct 31 03:54:44 1998 UTC (15 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

The disk-scanning loop in get_disks() had a magic upper bound of 5.
Replace with MAX_DISKS (size of the array of disk info).

Fixes a problem where sysinst cannot install onto disks rz5 or greater
on pmaxes (which use old SCSI with wired-down scsi devices, even for
GENERIC kernels).

Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 25 19:15:04 1998 UTC (15 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Implement a config file (-f file) option that overrides compiled in
defaults for things like rel (release number), ftp host, ftp prefix,
cdrom device, cdrom directory and others.

Revision 1.4.2.8 / (download) - annotate - [select for diffs], Fri Dec 5 14:12:40 1997 UTC (16 years, 8 months ago) by jonathan
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001
Changes since 1.4.2.7: +9 -3 lines
Diff to previous 1.4.2.7 (colored) to branchpoint 1.4 (colored)

Pull up changes with commit message starting
  >* Add main menu option to reinstall sets or install additional sets.
  >  (like upgrade but without trying to save etc.
to 1.3 release branch:
    defs.h:1.25
    disks.c:1.16
    label.c:1.2
    menus.mi.eng:1.17
    msg.mi.eng:1.24
    net.c:1.24
    target.c:1.14
    upgrade.c:1.12
    util.c:1.22

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 5 14:01:01 1997 UTC (16 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.15: +9 -3 lines
Diff to previous 1.15 (colored)

* Add main menu option to reinstall sets or install additional sets.
  (like upgrade but without trying to save etc.

* Add option to setls0urce menu to look in an already-mounted (local)
  directory.  Change `local fs' option to say umounted local fs.

* Change extract_file() to check that a tarball actually exists
  and give an explicit non-curses warning if it doesn't. (see above.)

* GNU tar returns a successful status if its gunzip child dies.
  Add short sleep() after tar commands in case of undetected errors.

* Change set-source selection code (except FTP, floppy) to check
  that the mandatory set files (base.tgz, etc.tgz) exist
  in the selected directory.  If they don't, warn the user and
  prompt the user to  change the selected directory.
  Give the user the option to explicitly continue even if
  base.tgz or etc.tgz not found, just in case.

* Change extract_file() to keep count of set unpacks that succeeded
  or failed. (Unreliable, given the broken return status of gnu tar.)
  Warn the user if there are errors and abort the installation/upgrade
  if we find any.  Does at least catch Ctrl-C interrupts of unpacking.

* Make unwind_mounts() signal-safe.

* Sense of target_verify_* is broken. Replace with predicates that
  return 1 iff the file or directory exists.

* Fix upgrade tests for existing etc.old (see above) before saving
  target /etc as /etc.old.

* Other detail fixes.

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Tue Dec 2 11:02:37 1997 UTC (16 years, 8 months ago) by jonathan
Branch: netbsd-1-3
Changes since 1.4.2.6: +2 -2 lines
Diff to previous 1.4.2.6 (colored) to branchpoint 1.4 (colored)

Pull up rev 1.15  from head to 1.3 release branch:
>Quote disktab(5) entry name so that label names with spaces
>(e.g., "bsd disk") work
CVS:

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 2 11:00:59 1997 UTC (16 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Quote disktab(5) entry name so that label names with spaces
(e.g., "bsd disk") work CVS:

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Thu Nov 13 03:10:23 1997 UTC (16 years, 8 months ago) by jonathan
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-BETA
Changes since 1.4.2.5: +4 -1 lines
Diff to previous 1.4.2.5 (colored) to branchpoint 1.4 (colored)

Pull disks.s revision: 1.14 and util.c revision: 1.20 to release branch.
Original commit message:
  >* Create /mnt2 before unpacking sets, in case it's not on install media.
  >* Create target /kern after creating target /etc/fstab entry for /kern.
  >* Check for more  files in target when done: /etc/{rc,rc.subr,conf}
  >* Clean up warning exerciser.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 13 03:06:44 1997 UTC (16 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

* Create /mnt2 before unpacking sets, in case it's not on install media.
* Create target /kern after creating target /etc/fstab entry for /kern.
* Check for more  files in target when done: /etc/{rc,rc.subr,conf}
* Clean up warning exerciser.

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Mon Nov 10 19:22:50 1997 UTC (16 years, 8 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.4.2.4: +17 -13 lines
Diff to previous 1.4.2.4 (colored) to branchpoint 1.4 (colored)

Sync w/ trunk.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 9 04:14:10 1997 UTC (16 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.12: +16 -12 lines
Diff to previous 1.12 (colored)

* Add local definition of DISKLABEL_CMD to arch/i386/md.h.
* Remove default definition from disk.c.  Ports that don't support
  dislabels (e.g., amiga) can now just not define DISKLABEL_CMD.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Thu Nov 6 00:32:35 1997 UTC (16 years, 8 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.4.2.3: +168 -44 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored)

Pull rev 1.8, 1.9, 1.10 and 1.11 up from trunk (jonathan)

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 5 22:49:06 1997 UTC (16 years, 8 months ago) by mhitch
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Use getrawpartition() rather than a constant when creating the new fstab.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 5 07:28:24 1997 UTC (16 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.10: +125 -32 lines
Diff to previous 1.10 (colored)

* Add code to run `test(1)' on target-root pathnames.

* Change find_disks: after mouting target root, check for
  /etc/fstab in target, and abort upgrade if not found.

* Change upgrade to check if the target root has /etc.old
  before renaming the target /etc -> /etc.old.  If found, abort.
  (may indicates a failed upgrade.)

*  Add save_etc(). saves target /etc as /etc.old, then copies back
   config files we might want during upgrade, in case target is current root.

* Fix logic that fscks and mounts disks. Use subroutines to
  fsck with a warning message and ok() on continue.  Same for doing mounts.

* Fix bug in extract_dist(). Do NOT do target prefixing on the dist_dir,
  since we didn't do target prefixing when mounting it.
  (At least, NFS does't.)

* Add function to  sanity-check target root.
   Call after upgrade/install  is done.

* Change MSG_realdir to print the strerror() of any errors.
  Change target_chdir() to check if chdir() returns -1 and return errno.

* Make sure /dev exists before cd'ing there and running MAKEDEV.

* Use target_fopen() and fprintf() to write network state to disk,
  to avoid inadvertent shell escapes.

* Fix silly typo in append_to_target_file. (maybe add shell quotes?)

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 3 02:38:45 1997 UTC (16 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.9: +35 -18 lines
Diff to previous 1.9 (colored)

* Clean up target.c to use a single consistent path-prefixing subroutine.
* Correct arg typo in mv_within_target_or_die().
* Add new path-prefixing entrypoints to fopen(), collect(), and do mounts.
* Use the above.  MI code is now clean of explicit references to /mnt.
* Lint: add `const' to collect()'s pathname arg.
  include <stdio.h> in factor.c, now that defs.h uses FILE*.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 3 00:04:53 1997 UTC (16 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.8: +33 -19 lines
Diff to previous 1.8 (colored)

* Use getmaxpartitions() instead of explicit constant 8.
* Put newfs-and-mount code into a separate function, in case
  we want to support non-ffs filesystems.
* Check for the currently-mounted root, and don't newfs or mount it.
  Assumes md code will also avoid changing  that partition.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sun Nov 2 20:39:44 1997 UTC (16 years, 9 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.4.2.2: +27 -8 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)

Pull rev 1.7 and 1.8 up from trunk (jonathan)

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 2 08:20:42 1997 UTC (16 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.7: +24 -7 lines
Diff to previous 1.7 (colored)

* Change sysinst MI code to use new install-target-filesystem access functions.
  Add  target.c to Makefiles.

* Minor fixes:
  * Fix buglet in disks.c: make sure the target /etc exists before
    touching the target's /etc/fstab. (Could be even cleaner.)

   * If the target root is on /, don't copy our temporary /etc/resolv.conf
     to the target /etc/resolv.conf. (Could be even cleaner.)
   * Don't write the DNS hostname into /etc/defaultdomain.
     DNS  search paths are often not the same as YP group names.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 31 23:00:37 1997 UTC (16 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

Tweeks to editing file system partitions, fix for PR4405, adding a method
to reselect the allocation multiplier while editing a disklabel.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Thu Oct 30 06:09:10 1997 UTC (16 years, 9 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.4.2.1: +4 -4 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Pull rev 1.6 up from trunk (phil)

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 29 01:06:48 1997 UTC (16 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Sync with current state.  Includes selection of distribution sets, tweeks
to disk detection, and floppy load.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Oct 27 19:36:16 1997 UTC (16 years, 9 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.4: +9 -8 lines
Diff to previous 1.4 (colored)

Sync w/ trunk.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 22 15:28:45 1997 UTC (16 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.4: +9 -8 lines
Diff to previous 1.4 (colored)

Recover more bits lost in my earlier blunder.  Get update working.
Other minor tweeks.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 15 04:35:32 1997 UTC (16 years, 9 months ago) by phil
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.3: +33 -33 lines
Diff to previous 1.3 (colored)

Update to current state.  Install and upgrade nearly finished.  Disk
discovery and geometry no longer use /kern/msgbuf.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 7 04:01:30 1997 UTC (16 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.2: +138 -72 lines
Diff to previous 1.2 (colored)

Update to current state.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 1 05:04:25 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.1: +52 -6 lines
Diff to previous 1.1 (colored)

Sync with current state.  Fixes PR 4193.  factor.c -- replce prime table with
code to generate needed primes.  Change copyright because prime table was only
code under previous copyright.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Sep 26 23:02:54 1997 UTC (16 years, 10 months ago) by phil
Branch: PIERMONT_NELSON
CVS Tags: REL_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import of sysinst.  Not quite ready, but other ports want access for
parallel development.  i386 version about 90% complete.  pc532 version
just started, other architectures later in coordination with portmasters.

This is a curses based, menu driven installation program.

Better error checking is needed.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 26 23:02:54 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN

Initial revision

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>