1762 Commits

Author SHA1 Message Date
ceri
9680b98fd3 MFC:
devices.c	revision 1.164
	tcpip.c 	revision 1.135

  s/lp/plip/ for PLIP interfaces.

Approved by:	re (mux)
2006-02-25 18:51:13 +00:00
ceri
bc3c1b31ae MFC revision 1.10:
Another update for reality: "dangerously dedicated" mode is
  now achieved by hitting 'F', which is no longer undocumented.

Approved by:	re (scottl)
2006-02-13 21:03:55 +00:00
ceri
4285305817 MFC revision 1.414:
Correct a user-visible typo.

Approved by:	re (scottl)
2006-02-13 21:02:35 +00:00
ceri
b86b7b2ee0 MFC the following revisions of the help files:
Bring these files somewhat into the present.
  Perform some rewording while here.

  Remove register.hlp, since the code that deals with it was removed
  nearly 7 years ago.

  Revision  Changes    Path
  1.2       +2 -0      src/usr.sbin/sysinstall/help/anonftp.hlp
  1.15      +9 -10     src/usr.sbin/sysinstall/help/distributions.hlp
  1.5       +1 -5      src/usr.sbin/sysinstall/help/fixit.hlp
  1.3       +1 -1      src/usr.sbin/sysinstall/help/html.hlp
  1.9       +75 -18    src/usr.sbin/sysinstall/help/options.hlp
  1.14      +2 -2      src/usr.sbin/sysinstall/help/partition.hlp
  1.6       +0 -76     src/usr.sbin/sysinstall/help/register.hlp (dead)
  1.3       +2 -2      src/usr.sbin/sysinstall/help/securelevel.hlp
  1.12      +15 -12    src/usr.sbin/sysinstall/help/shortcuts.hlp
  1.9       +1 -7      src/usr.sbin/sysinstall/help/slice.hlp
  1.10      +10 -2     src/usr.sbin/sysinstall/help/tcp.hlp
  1.7       +5 -5      src/usr.sbin/sysinstall/help/usermgmt.hlp

Approved by:	re (scottl)
2006-02-13 21:01:23 +00:00
delphij
f865c8d9db MFC a set of changes that fixes DHCP handling in sysinstall(8)
* network.c,v 1.53 (by ceri):
   Fixes DHCP handling to use a more robust way to determine whether
   DHCP should be used.
 * tcpip.c,v 1.134:
   Avoid adding unnecessary tailing space when no media option(s) is
   specified.

Approved by:	re (scottl)
2006-02-12 15:23:50 +00:00
jkim
9ca5124a7d MFC: usr.sbin/sysinstall/disks.c 1.155
- Hide 'incorrect geometry warning' in non-interactive mode. Users should
know what they are doing in non-interactive mode.  Less scarier warning
goes to debugging info instead.
- Print sanitized geometry to debugging info.
2006-01-31 22:07:18 +00:00
jkim
59efc5f86e MFC: Add `mediaOpen' function. This function mounts selected media device.
For example, you can dynamically generate and load configuration file
depending on the hardware configuration with the following template:

	mediaSetCDROM
	mediaOpen
	command=/dist/scripts/install.sh
	system
	mediaClose
	configFile=generated.cfg
	loadConfig

Now we have full access to files on the media before installation begins.
2006-01-31 22:03:19 +00:00
ceri
7cebe2cfa5 MFC revision 1.150:
On i386, 7.0 requires 106MB on /usr.  6.0 requires 101MB.
  Bump USR_MIN_SIZE to 128MB, so that an auto-layout install won't fail
  due to /usr being too small.
2006-01-24 15:51:33 +00:00
ceri
2a7cb7f0ba MFC revision 1.133:
Preserve any additional arguments to ifconfig that were specified in
  the DHCP case too.
2006-01-20 18:46:06 +00:00
ceri
2f6c15280f MFC revision 1.413:
Add ntp.cgi.cz.
2006-01-20 13:03:13 +00:00
ceri
4fd8a7fa17 MFC revisions 1.36 and 1.37:
r1.36:
	  Correct obsolete chown syntax.

	r1.37:
	  If sysinstall was used to configure an anonymous FTP area, it
	was possible for information to be copied from the group file to
	the group file in the FTP area.  This patch based on a patch
	from Zak Johnson <zakj at nox dot cx>.
2006-01-20 13:00:32 +00:00
ceri
ac30b2fccc MFC revision 1.364:
An i386 machine with 32MB of RAM requires a 700MB disk for auto-layout to
  succeed, whilst an i386 with 256MB of RAM requires more.  Up the amount
  of disk hinted at as a minimum requisite for auto-layout.
2006-01-06 20:10:41 +00:00
philip
da676c8632 MFC r1.85:
Preserve /etc/sysctl.conf when doing a binary update.  This prevents, for
  instance, the dreaded shared memory problem in PostgreSQL coming back to
  haunt you after a binary update.
2005-12-03 14:37:24 +00:00
delphij
2bc56e044b MFC revision 1.70
date: 2005/07/17 03:24:11;  author: obrien;  state: Exp;  lines: +0 -29
Catch up with menus.c revision 1.399.

Approved by:	re (scottl)
2005-10-09 03:48:42 +00:00
nyan
e61c61f414 MFC: Switch from OLDCARD to NEWCARD on pc98.
Approved by:	re (scottl)
2005-10-07 15:56:30 +00:00
murray
bef72ac0a1 MFC: r1.240 - update number and size of ports distribution.
Approved by:	re (scottl)
2005-08-30 20:01:32 +00:00
rodrigc
1273bd9a5e MFC rev 1.411:
- Remove NTP servers which do not resolve in DNS.
 - Use pool.ntp.org servers where possible, thanks to
   Chuck Swiger <cswiger at mac dot com> .
 - Update list of Swedish NTP servers, thanks to
   Fredrik Lindberg <fli+freebsd-current at shapeshifter dot se> .

PR:		bin/75479
Approved by:	re (scottl)
2005-08-25 00:42:26 +00:00
cperciva
6a29a52c26 MFC revision 1.149: Change the default partition sizes to provide more
space in /, /var, and /tmp, and if the device is large enough, provide
extra space to /var sufficient to store a crash dump.

Approved by:	re (kensmith)
2005-08-17 13:53:11 +00:00
kensmith
704cef6b45 MFC v1.125:
>   Log:
>   The /stand directory now disappears out from under sysinstall while
>   it is running during installations.  The vsystem() function does get
>   used after this happens (e.g. if you manually configure the network
>   interface and ask it to enable the interface) so it needs to be a
>   little smarter about whether it uses /stand/sh or /bin/sh.

Approved by:	re (hrs)
2005-08-17 13:32:29 +00:00
grehan
85dcd28828 MFC, r1.234:
Make sure /etc/fstab is written out for Apple-partitioned drives

    reviewed by:    scottl

Approved by:	re (Ken Smith)
2005-07-28 01:18:19 +00:00
grehan
c3509ed9f1 MFC, r1.161:
Recognise GEM ethernet adapter (sparc64/ppc).

    reviewed by:    scottl

Approved by:	re (Ken Smith)
2005-07-28 01:17:12 +00:00
scottl
c3747a85fb Adapt sysinstall to the new dhclient. This includes explicitely telling
it about the lease file location and not invoking it with the (non-existant)
'-r' option.  Releasing leases works vastly different now, so this isn't
needed.

Submitted by: sam
Approved by: re
2005-07-11 03:57:04 +00:00
simon
1fcdc4acfd Update hardcoded postfix version number to the current postfix version
2.2.x.

PR:		i386/82030
Prodded by:	matteo
MFC after:	1 week
Approved by:	re (scottl)
2005-07-04 07:53:35 +00:00
dwhite
dd5c43b572 Don't ask about CD numbers if not installing from CD.
Approved by:	re
2005-07-02 22:34:22 +00:00
ru
73ab2fc036 Provide 32-bit runtime support on amd64 as a separate distribution, lib32.
Prodded by:	obrien
Nodded by:	peter
Approved by:	re
2005-06-16 18:16:14 +00:00
jhb
6a69a04d9c The current NTP servers for .nl do not work with ntpdate, so switch to
using the servers provided by nl.net instead.

PR:		bin/80659
Submitted by:	Jilles Tjoelker jilles at stack dot nl
MFC after:	3 days
2005-05-06 19:14:36 +00:00
delphij
f16e29fe55 Use static for static variables. This fixes gcc4 build. 2005-05-02 14:18:08 +00:00
matusita
68bb6c3256 Add ntp.jst.mfeed.ad.jp and ntp1.v6.mfeed.ad.jp (IPv6 only) to
the NTP server list.

The servers are by Internet Multifeed Co., and connected to their
IX service JPNAP.  It would be a good NTP server for machines in Japan.

See also http://www.jst.mfeed.ad.jp/ for more details (Japanese only).

Reviewed by:	nork
2005-05-01 08:19:54 +00:00
jhb
c874648f8b Explicitly install linux_base 8 to make sure the right version is
installed.

PR:		bin/74593
Submitted by:	Matteo Riondato rionda at gufi dot org
MFC after:	3 days
2005-04-12 01:05:50 +00:00
nyan
eb3dd13248 Add over 32GB disk support on pc98 (userland part).
Submitted by:	Hirokazu WATANABE
2005-03-30 13:03:33 +00:00
jhb
228e0be521 Change the Romania NTP server to point to a working server.
Submitted by:	Ion-Mihai Tetcu itetcu at people dot tecnik93 dot com
MFC after:	3 days
2005-03-28 22:24:32 +00:00
kensmith
f1944299a8 Update parsing of the ports INDEX file to accomodate some new
fields that got added to it recently-ish.  While here document
what each of the fields is based on discussion with portmgr@.

Patch from:     murray (slightly adapted)
MFC after:	1 day
2005-03-24 23:03:39 +00:00
murray
4890af12de Add Central European and Slovak keymaps to sysinstall.
PR:		misc/78701
MFC after:	1 week
2005-03-19 02:28:02 +00:00
murray
9a489dbe6b Use the correct variable name for the description of multi-volume
support in cdrom.inf.  Should be CD_VOLUME.
2005-03-18 01:05:46 +00:00
murray
f35fea1e33 Recover gracefully if the user puts in the wrong CD volume after being
prompted to insert another CD for a package.

MFC After:	3 days
2005-03-18 00:55:12 +00:00
jhb
beec1e31ad Automatically switch to ttyv3 where the fixit shell is running when using
the standard console and any fixit mode.

MFC after:	1 day
2005-03-02 22:48:13 +00:00
jhb
7040795aae - Fix a bug in sysinstall related to mounting CD-ROMs. If mount(2) fails
with EBUSY and a cdrom is not mounted at /cdrom, sysinstall fails to
  treat it as an error and thinks that the disk mounted ok.  However, it
  doesn't find a cdrom.inf file so it complains.  Later when it tries to
  unmount the disk due to a mediaClose() umount(2) returns an error, and it
  never clears its internal mounted flag.  The fix here is to properly
  handle EBUSY as an error if there isn't a CD already mounted at /cdrom.
- Add a new CDROMInitQuiet variable that can be used to shut up the dialog
  box about the mount(2) system call failing when trying to mount a CD-ROM.
  This is used by the feature described below.
- When using a fixit CD, first try to see if we can mount the disc in the
  drive now and use it as a fixit CD.  If not, then prompt the user to
  insert the disc and try again.  If we do succeed on the first "silent"
  probe then we don't ask the user to eject the disk after leaving fixit
  mode.
- Add a simple file existence test to make sure that the disc that we mount
  really is a livefs disc.
- Explicitly switch back to ttyv0 when using the standard console after
  the fixit shell dies.  Previously this behavior worked accidentally
  because all the fixit modes popped up a dialog box which contained a
  hidden switch to ttyv0.

MFC after:	1 day
2005-03-02 22:27:22 +00:00
ru
6b6b8c04f6 Expand contractions. 2005-02-13 23:45:54 +00:00
obrien
9f12546f8e Remove /stand when we are done with it.
Submitted by:	Ryan Sommers <ryans@gamersimpact.com>
2005-02-07 04:25:34 +00:00
matusita
af0c40df83 Add "NTP pool servers" to the list, including Worldwide, Asia, Europe,
Oceania, and North America.

Obtained from:	http://ntp.isc.org/bin/view/Servers/NTPPoolServers
MFC after: 1 week
2005-01-25 02:56:17 +00:00
matusita
1d4a6124fb ntp.cyber-fleet.net is not in DNS database, remove it.
Reported by: sarumaru at ReichaNet IRC, users-jp@jp.FreeBSD.org, etc.
2005-01-25 02:51:47 +00:00
ru
c05985f13f Sort sections. 2005-01-18 20:02:45 +00:00
ru
1ad9577d5d Removed bitrot. 2005-01-13 13:34:00 +00:00
kensmith
b1a73aa897 Minor comment fix.
MFC after:	1 week
2005-01-07 04:07:48 +00:00
nyan
fa189c3dd0 Remove old wdc driver completely. 2005-01-04 11:04:03 +00:00
yongari
98dec7d251 Due to unknown reasons, Disk_Names() returns SCSI CDROM as a valid
disk. This is main reason why sysinstall presents SCSI CDROM to
available disks in Fdisk/Label menu. In addition, adding a blank
SCSI CDROM to the menu generates floating point exception in sparc64.
Disk_Names() just extracts sysctl "kern.disks". Why GEOM treats SCSI
CDROM as a disk is beyond me and that should be investigated.
For temporary workaround, ignore SCSI CDROM device.

PR:		sparc64/72962
Tested by:	R. Tyler Ballance < tyler AT tamu DOT edu>
MFC after:	1 week
2004-12-22 08:26:48 +00:00
ru
9a53664bdb Use the source of the termcap database when available. 2004-12-21 15:16:36 +00:00
obrien
4f24961bde Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
PR:		73878
Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-19 03:53:36 +00:00
obrien
090bfc3771 Make logic more readable. 2004-11-19 03:52:41 +00:00
simon
0e542df6cb Only write the rc.conf header when a new rc.conf is written. This was
accidentally removed in v. 1.211.

Submitted by:	Olafur Osvaldsson <oli@isnic.is>
PR:		bin/73692
MFC after:	1 week
Approved by:	trhodes
2004-11-16 21:59:00 +00:00