Commit Graph

1668 Commits

Author SHA1 Message Date
Bruce A. Mah
4288a55ca2 MFS: Update sysinstall text for the number and size or ports in the ports
collection.

	src/release/sysinstall/dist.c	1.175.2.29 -> 1.175.2.30
2002-10-25 14:52:27 +00:00
Poul-Henning Kamp
66a550c4ac Goodbye and good riddance! 2002-10-25 11:48:56 +00:00
Poul-Henning Kamp
9c95e0d9e9 Confirmed kill: "Bogon #1" is dead, killed by DEVFS. 2002-10-25 11:47:58 +00:00
Poul-Henning Kamp
09c3a0c7c5 Comment out more MAKEDEV bogosity ("BOGON #1" as Jordan put it :-) 2002-10-25 09:54:27 +00:00
Poul-Henning Kamp
ac715696fc Fix cut&paste mistake. 2002-10-23 14:37:43 +00:00
Poul-Henning Kamp
e20037ab6b Remove more private MAKEDEV kludges. 2002-10-22 15:25:19 +00:00
Poul-Henning Kamp
0dd72760f0 Give a real error on failure to mount DEVFS. 2002-10-22 15:07:17 +00:00
Poul-Henning Kamp
ef4d89ea40 Chunk functions in libdisk take an extra arguement for all archs to accomodate
PC98 with less ifdef madness.
2002-10-22 10:52:53 +00:00
Poul-Henning Kamp
d8d00fade9 Pick up a prototyp from libdisk.h instead of having our own. 2002-10-22 09:13:27 +00:00
Poul-Henning Kamp
427baedb08 DEVFS has been nmountified, so use nmount(2) to mount it. 2002-10-21 21:41:19 +00:00
Makoto Matsushita
9c499b692a Since NEWCARD is the default for i386, undef PCCARD_ARCH.
pccard.c is no longer needed for i386 also.

OKed by: imp, nyan
2002-10-20 11:16:41 +00:00
Yoshihiro Takahashi
89335c9f46 Fix to check disk geometry.
Submitted by:	kawanobe@st.rim.or.jp (Kawanobe Koh)
2002-10-14 13:15:14 +00:00
Yoshihiro Takahashi
1860696e5a The MACHINE variable on pc98 is "i386". So, use "pc98" directly in PC98 case. 2002-10-14 13:06:13 +00:00
Yoshihiro Takahashi
ff42d86e8b Use snprintf() instead of sprintf(). 2002-10-14 13:04:21 +00:00
Yoshihiro Takahashi
0f8a77bf29 Check correct machine name. 2002-10-14 13:02:30 +00:00
David E. O'Brien
eec2e4bdde * Negative #if's are harder to read as they don't tell exactly what arch
something applies to.  So change #ifndef to an explicit list of defines.
* Treate sparc64 and ia64 as 64-bit platforms, which means larger roots.
* sparc64 should halt back to the firmware, not reset.
* sparc64 doesn't need to play MS-DOS/BIOS partition crap games.

Reviewed by:	jake
2002-10-11 22:30:09 +00:00
Makoto Matsushita
069f4a6841 Create symlink for /etc/group. MAKEDEV file will use this file (group name
to gid conversion).

PR:		43455
Submitted by:	n-kogane@syd.odn.ad.jp
X-MFC after:	immediately if re@ permits, or after 4.7-RELEASE is out
2002-09-28 17:06:07 +00:00
Akinori MUSHA
909a4b7cd3 Add tcl81 that was missing. 2002-09-09 17:53:41 +00:00
John Hay
96d1ba768f Teach sysinstall that documents on the boot floppy might not be gzipped.
Reviewed by:	ru
2002-08-09 07:44:43 +00:00
Jens Schweikhardt
5333b7726b Typo: s/seperately/separately
PR:		misc/41235
Submitted by:	Fesskat Tudeer <freebsd-fesskat@fesskat.org>
MFC after:	3 days
2002-08-06 20:36:02 +00:00
Marc Fonvieille
70a4bb8f94 Fix links to the FAQ and the Handbook
Reviewed by:	re@
MFC after:	1 week
2002-08-01 10:20:59 +00:00
Peter Wemm
528cc96a49 enable fdisk for ia64 as well as i386 2002-07-24 22:16:11 +00:00
Peter Wemm
03d8025d59 Only install the mbr code on i386.. not ia64. This changes it from
#ifndef __alpha__ to #ifdef __i386__
2002-07-24 22:15:51 +00:00
Philippe Charnier
490d5836b5 The .Nm utility 2002-07-14 14:47:15 +00:00
John Baldwin
7a921ebf84 Diff-reduce with 4-stable: 4.x has a compat4x package. 2002-07-02 21:07:25 +00:00
John Baldwin
500fb3ef13 Call the 4.x snap server "releng4.freebsd.org" instead of
"stable.freebsd.org" to be the same as 4-stable.
2002-07-02 20:19:59 +00:00
John Baldwin
522c2080e3 Alpha does indeed have a COMPAT4X distribution on current. 4-stable
already has this correct.
2002-07-02 20:03:55 +00:00
John Baldwin
92711d3586 Add lge(4) to the list of drivers. It was present in 4-stable but not in
-current.
2002-07-02 19:56:26 +00:00
David E. O'Brien
8777223029 Change our default XF86Config location from /etc/ to /etc/X11/,
following the lead of The XFree86 Project's default.

Approved by:	Murray
2002-06-10 04:47:26 +00:00
John Baldwin
2a0eb0b58c Fix a bug where request_part_size() was hard-coded to check the rootSize
variable rather than the one passed in as the first argument.

Sponsored by:	The Weather Channel
2002-06-07 15:32:05 +00:00
Chris D. Faulhaber
90bd45f1c5 o Remove ftp.freebsd.org from the USA servers and add to the
Denmark servers.
o Add snapshots.jp.FreeBSD.org.

Approved by:	brian
2002-06-05 00:53:50 +00:00
Murray Stokely
2a295fdf9d Add information about setting up media to use the multi-volume support
in sysinstall.

Reviewed by:	ru
2002-06-05 00:34:58 +00:00
John Baldwin
30c00e6c41 Backout revision 1.2 since it didn't work and replace it with a fix that
actually does work.  Ignore errors from kldload(2) if the errno value is
EEXIST.  It would help if this return value were documented in the
kldload(2) manual page.
2002-06-03 22:36:52 +00:00
John Baldwin
e364f0da42 Fix handling of the 'noError' variable. According to the code comments,
one can set the 'noError' variable to ignore any errors that occur for the
next command.  However, the code was only unsetting 'noError' when an error
actually occurred, so if you set 'noError', the next command completed ok,
and the command after that failed, the second command's failure would be
ignored.  This fixes this by performing the 'noError' check earlier and
then unsetting 'noError' after every command that is run.

Sponsored by:	The Weather Channel
2002-06-03 19:42:49 +00:00
John Baldwin
77218da374 Add a 'mediaClose' script command to close the open media. An example use
would be to unmount the CD you installed from and prompt the user to
eject it before rebooting the machine.

Sponsored by:	The Weather Channel
2002-06-03 19:39:28 +00:00
Makoto Matsushita
29233a2d8a Brush up descriptions of sendmail menu last added.
Submitted by:	gshapiro
2002-06-01 15:47:49 +00:00
Makoto Matsushita
b1e41adda4 Add 'Sendmail' menu to set sendmail_enable variable.
Reviewed by:	bmah (description only)
2002-06-01 14:50:14 +00:00
John Baldwin
fa82904a90 Don't load a module from /stand/modules in the MFS root if it is already in
the kernel.
2002-05-31 20:06:24 +00:00
Pierre Beyssac
81f5d1fac0 Fix integer overflow causing disk/partition size display wrapping
above 4GB.
2002-05-31 17:03:01 +00:00
John Baldwin
4f3624a441 - Document the new `diskInteractive' variable.
- Document the tcpMenuSelect command.

Sponsored by:	The Weather Channel
2002-05-31 14:32:03 +00:00
John Baldwin
dc1024256c If 'netInteractive' is set to true in an installation script, then
temporarily turn off the nonInteractive variable around the DHCP and IPv6
Yes/No questions in a network device setup so that those questions are
asked.
2002-05-31 13:39:55 +00:00
John Baldwin
df349781bf Add a 'diskInteractive' variable that can be set to interactively partition
and label a disk from a sysinstall script.
2002-05-31 13:38:17 +00:00
Murray Stokely
7a78ea3582 The ports collection now contains over 7000 applications and consumes
about 165MB of space when first installed.

Submitted by:  rpratt
2002-05-27 19:31:02 +00:00
Ollivier Robert
9a1cd8e5a2 Add two FTP mirrors in France:
- ftp7 in Paris (ftp.club-internet.fr)
- ftp8 in Stransbourg (ftp.u-strasbg.fr)

MFC after:	1 day
2002-05-20 17:08:00 +00:00
Brian Somers
27a0cd1ccf MFS: Extend a buffer size so that packages with particularily deep dependency
lists install properly.
2002-05-17 09:46:46 +00:00
David E. O'Brien
ee1c407b54 Add the ability to use Bzip'ed packages.
Also add the ability to use Bzip'ed distributions -- but this is exclusive
of being able to use Gzip'ed distributions.

Sponsored by:	FreeBSD Mall, Inc.
2002-04-30 22:40:06 +00:00
David E. O'Brien
01df2ec328 Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by:	jkh
2002-04-23 22:16:41 +00:00
Murray Stokely
bb2d14481b Add support for an additional field to the packages/INDEX file. If
present, this field specifies the media volume that the disc is
contained on.  If the volume of a given packages is different than the
current volume of mediaDevice, then the user is prompted --

  "This is disc #%d.  Package %s is on disc #%d\n"
  "Would you like to switch discs now?\n"

If the user selects yes, then DEVICE_SHUTDOWN is called and the user
is then prompted --

  "Please remove disc #%d from you drive, and add disc #%d"

This works well for a carefully crafted INDEX file, but more work
needs to be done to sort dependencies on a given package based on the
volume that they reside on, to minimize the amount of disc flipping
required of the user.

This commit is a no-op for normal INDEX files and FreeBSD CDs.  These
additional features are only used if the INDEX and cdrom.inf file have
multi-volume support.
2002-04-13 13:00:42 +00:00
Murray Stokely
76ce87ffba Read the CD_VOLUME property from the cdrom.inf file and use it to
initialize the volume ID for the media device in use.
2002-04-13 12:44:18 +00:00
Murray Stokely
dd5650233b Add the concept of a volume to the device and package structures. If
these values are different for a given package, then we must prompt
the user to insert another disc before the package can be installed.
2002-04-13 12:43:07 +00:00
Murray Stokely
8c44723416 Add comment to supplement my last commit.
Requested by:  obrien
2002-04-07 10:40:31 +00:00
Murray Stokely
76494611d2 GCC >= 3 and C99 handle zero-length arrays differently than older
versions of GCC.  With this change, sysinstall compiles and works fine
with GCC 3.1 or 2.95.
2002-04-07 10:27:24 +00:00
David E. O'Brien
629ddcf381 Remove some last vestages of _interactiveHack.
Also tie stderr to something for the invocation of pkg_add.

Sponsored by:	FreeBSD Mall, Inc.
2002-04-07 10:08:55 +00:00
Murray Stokely
2503fda0b6 Add "xf86cfg -textmode" to the list of options for configuring XFree86
4.X.

Suggested by:	many
2002-04-06 02:42:27 +00:00
Murray Stokely
7e25871d19 Teach sysinstall the difference between a command line, and an
executable file, so that we can pass commands with arguments to
configXSetup().
2002-04-06 02:39:27 +00:00
David E. O'Brien
4807422fe7 Switch to using XFree86 version 4. We do this thru installing the package,
so know we have proper PKG registration and dependency information.

This is a WIP for 5.0 DP #1, so it is still rough around the edges and
does not GC the old XFree86 3.3.6 handling stuff that should be GC'ed.
Sponsored by:	FreeBSD Mall, Inc.
2002-04-02 20:42:54 +00:00
David E. O'Brien
2e73237d1b Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp. 2002-04-01 21:35:24 +00:00
Makoto Matsushita
bb9bc62f9a Fix /dev/acdNc minor device number. This bug prevents installing FreeBSD
from CD-ROM in 4-stable.  Note that in 5-current, we use devfs so this
change (hopefully) shouldn't change anything.

I'll MFC to 4-stable later.

Tested with: FreeBSD/i386, 4.5-STABLE-20020330-JPSNAP
2002-03-30 16:59:06 +00:00
Murray Stokely
adca9ffd3d Only build and link the pccard module on architectures that support it (and
that have room for pccardd on mfsroot.flp).
2002-03-29 23:03:17 +00:00
Ruslan Ermilov
9c7b6adc2a Tidy up CLEANFILES. 2002-03-28 10:02:00 +00:00
Ruslan Ermilov
c06157d49f Teach sysinstall(8) how to read boot managers out of /boot
instead of hardcoding them into the binary.  This replaces
the work-around in usr.sbin/sysinstall/Makefile,v 1.121.

Suggested by:	jhb
MFC in:		1 week
2002-03-28 08:23:33 +00:00
Poul-Henning Kamp
42c159fe38 Modernize my email address. 2002-03-25 14:12:49 +00:00
Poul-Henning Kamp
06229ad2af Modernize my email address 2002-03-25 13:53:46 +00:00
Bruce A. Mah
d3d0e2c9fc Add the ERRATA file to the documentation menu and index.
While I'm here, make the menu entries on the documentation menu begin
with "1" instead of "2".

Reviewed by:	imp, rwatson, murray
Approved by:	imp, rwatson, murray
MFC after:	1 week
2002-03-18 17:34:28 +00:00
Murray Stokely
0b132dc393 Add wireless devices to device_names array. Now that ifconfig can set
session IDs, and sysinstall can load modules from the MFSROOT, it
should be possible to install FreeBSD over a wireless link.

MFC after:	2 weeks
2002-03-17 08:04:02 +00:00
Ruslan Ermilov
f8ee3376c9 Embed boot images built as part of buildworld rather than the
installed ones under /boot (which we may not even have in the
case of a cross build).

This introduced chicken and egg problem - we need boot images
early in the "depend" stage but they have not yet been built.
Work around this by excluding the generated makeboot.c source
from the "depend" list; it's okay because we hardcode all its
dependencies explicitly.  We actually lose the dependency bit
on <sys/types.h> but it's probably okay too as the only thing
we use is the u_char datatype and this is unlikely to change.
After all, it's normal for sloppy cleaning to cause problems.

beast.FreeBSD.org running 5.0-CURRENT alpha has been able to
cross build i386 world with this patch.

Prodded by:	gallatin
2002-03-15 11:27:47 +00:00
Ruslan Ermilov
50e080fe0e Don't use temporary file to generate makedevs.c -- it's okay
to write to makedevs.c directly as it's not protected by the
.PRECIOUS attribute.
2002-03-15 11:21:57 +00:00
Murray Stokely
5702226edc Update number of ports available. 2002-03-11 13:48:13 +00:00
Bruce Evans
46784d26e2 #include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval.
2002-02-25 05:23:59 +00:00
Robert Watson
71e8420535 o No longer mount /proc by default on newly installed systems. Almost
all facilities that previously relied on /proc have been rewritten
  to use ptrace().  procfs has presented a substantial security
  hazard for years, with several user->root compromises in the last
  few years.  Procfs will continue to be available but will require
  administrator intervention to use.

Reviewed by:	scottl, jedgar, mike, tmm
2002-02-10 01:34:04 +00:00
Brian Somers
aaf89c2c89 Reword the ``Please remove the FreeBSD fixit CDROM now.'' to
``Please remove the FreeBSD fixit CDROM/DVD now.''.

MFC after: 2 weeks
2002-02-08 13:42:35 +00:00
Jordan K. Hubbard
6a5a5f48e7 Stop saying that "express" mode is for impatient people. It's
really for impatient and EXPERT people who know sysinstall
backwards and forwards.

MFC after:	1 week
2002-01-30 01:34:16 +00:00
Murray Stokely
7cdcc9fecd Fix a signal 11 error that occurs if you try to use the 'T' option on
an existing FreeBSD partition.

Reported by:	Brent Cook <busterb@mail.utexas.edu>
2002-01-29 22:35:40 +00:00
Murray Stokely
1dde8e0111 The huge dependency lists of some of our packages has brought
attention to the sub-optimal way that we deal with package
dependencies.  Traditionally, for each package in an INDEX that the
user wants to add, we check all of the dependencies first even if the
package is already installed.  With some GNOME packages, this can
cause package_extract to be called for 50 different dependencies when
we know the top level package is already installed.

The new behavior is to not check dependencies for packages that are
already installed.  This fixes a bug where sysinstall gets itself into
a CPU intensive loop when trying to install sawfish gnome with the
most recent ports/INDEX.  There is a bug somewhere in the ports INDEX,
but with over 6,400 ports we need to be a little more forgiving here.
2002-01-29 21:41:08 +00:00
Murray Stokely
4e60cb73fe Update the number of ports available. 2002-01-26 15:56:54 +00:00
Steve Price
d0cdcff8ef Don't bogusly look for inexact matches because a package contains a '-'
for packages like sawfish-gnome for instance.

Reviewed by:	murray, sobomax
2002-01-25 05:10:00 +00:00
John Hay
d02a48f2f7 Compilers are very picky about matching opeining and closing brackets. 2002-01-15 05:43:37 +00:00
Brian Feldman
16e9521b32 Unbreak installation for the CD-ROM and possiblhy other media types.
Obtained from:	LOMAC project
Sponsored by:	DARPA, NAI Labs
2002-01-14 19:42:11 +00:00
Sheldon Hearn
b073d65ef8 Revert rev 1.316 now that the bootstrap issues with filesystems using
block sizees larger than 8192 bytes have been resolved, as per the
following deltas:

	rev 1.34	src/sys/boot/i386/boot2/boot2.c
	rev 1.5		src/sys/boot/alpha/boot1/sys.c
2002-01-14 09:16:56 +00:00
Maxim Sobolev
ef9cff0bec Safwish package built on bento is called `sawfish-gnome', so adjust sysinstall
and print-cdrom-packages.sh accordingly.

Revealed by:	re
MFC after:	1 day
2002-01-09 20:10:02 +00:00
Sheldon Hearn
c0d8fa8578 According to jhb, the alpha bootstrap code depends on the root
filesystem using a block size of 8192.  Since this seems unlikely to
be fixed soon (specifically in time for 4.5-RELEASE on the RELENG_4
branch), fall back to the old default block and frag sizes of 8192 and
1024 in sysinstall on the alpha.

Reported by:	jhb
2002-01-07 12:25:30 +00:00
Matthew Dillon
7cf138022c Add 'R'ecover option that deletes a partition and attempts
to recover its space into the previous partition.  Revert 'D'elete
to not attempt to recover any space.

Do not auto-create /home as per release engineers decision (though
I think this is a mistake).  However, all of this code will be
replaced later on anyway either with Jordan's stuff or with
some other sort of templater, so it isn't a big deal.
2002-01-07 07:51:24 +00:00
Jordan K. Hubbard
90c1249eb2 Correct the path for the stable snapshot server.
Noticed by:  "Peter Holm" <p_holm@mail.tele.dk>
2002-01-03 23:33:21 +00:00
Sheldon Hearn
f54254eb09 Add nsmb.conf to the resurrection list.
Submitted by:	olgeni
Approved by:	re
2001-12-27 01:57:18 +00:00
Robert Watson
4b4b1c0520 o Wording and spelling fixes for security menu description. 2001-12-21 19:59:15 +00:00
Robert Watson
4d0032bde9 o Expand the text describing the Security options menu.
o Move nfs_reserved_port_only out of security profiles (where it was
  set somewhat improperly) to the Security options menu directly.
  Previously, the variable was set to true for Moderate, but not for
  Extreme, which is at best inconsistent.
o Update the Security Profiles help file to remove reference to the
  NFS reserved port.

o Note that the kernel currently defaults the sysctl to '0', but
  sysinstall has changed it to '1' as a default as of late; however,
  rc.conf sets the value to NO as the default.  This change brings
  them relatively into sync.

Sponsored by:	DARPA, NAI Labs
2001-12-21 19:51:44 +00:00
Robert Watson
86f2d72fd8 o Add a configSecurity menu to generally configure security settings,
and pull configSecurityProfile under that menu.  Add a menu option
  to determine whether LOMAC is enabled at boot.  Probably, eventually,
  many of the 'Security Profile' menu choices should be pulled out
  independently into the Security Menu, so as to make them individually
  selectable.

Sponsored by:	DARPA, NAI Labs
2001-12-21 18:30:50 +00:00
Robert Watson
409c2e2e05 o Don't make 'Moderate Security Settings' the DEFAULT, as otherwise
selecting 'Cancel' to avoid making changes doesn't work.  Really, we
  should deprecate security profiles and move to a more fine-grained
  model.
2001-12-21 18:08:54 +00:00
Jordan K. Hubbard
f3c7fb1696 Enable soft updates by default for everything but the root filesystem.
The user can still toggle it back off in the label editor (or post-install
for that matter) if they explicitly do not want soft updates to be used
for some reason.

Agreed to be a good thing by:	kirk
2001-12-20 23:39:30 +00:00
Sheldon Hearn
3626f83327 Update the default newfs block and fragment sizes from 8192/1024 to
16384/2048.

Following recent discussions on the -arch mailing list, involving dillon
and mckusick, this change parallels the one made over a decade ago when
the default was bumped up from 4096/512.

This should provide significant performance improvements for most
folks, less significant performance losses for a few folks and
wasted space lost to large fragments for many folks.

For discussion, please see the following thread in the -arch archive:

Subject: Using a larger block size on large filesystems

The discussion ceases to be relevant when the issue of partitioning
schemes is raised.
2001-12-11 16:21:40 +00:00
John Baldwin
4f33ba1610 Fix the mouse question again to only run the mouse menu if a user doesn't
have a USB mouse.  Here's the deal on how this works:  USB mouse have
moused run for them automatically by usbd so we don't need to setup moused
for them.  We do need to setup moused for other mice though, so if the
user has a USB mouse, we don't need to do anything.  Hence the wording
"Do you have a non-USB mouse installed?" for the question.  The question
can be reworded as "Do you have a PS/2 or Serial mouse installed?" instead
if that is preferred.
2001-12-10 22:12:23 +00:00
Murray Stokely
f7be3a706e Provide a more specific help line for PLIP installs, reminding the
user that they must provide the peer's IP address in the 'extra
options to ifconfig' box.

PR:	misc/21273
2001-12-10 10:34:47 +00:00
Peter Pentchev
65dc334620 Add the Bulgarian BDS and Phonetic keymaps.
Reviewed by:	jhb
Approved by:	jhb, silence on -qa
MFC after:	1 week
2001-12-10 08:37:51 +00:00
David E. O'Brien
927a3d0b09 An XFree86 install should not depend on any compat libs any longer.
(1) We don't need compat3x and compat4x as we build the bits on the proper
    release now (vs. getting them from the XFree people).
(2) We handle the compat2x needs thru proper port dependancies now.
2001-12-10 02:42:42 +00:00
David E. O'Brien
c54847229c We do have a compat4x dist for Alpha. 2001-12-10 02:40:41 +00:00
David E. O'Brien
80c5d6d079 Update the list of public NTP servers from
http://www.eecis.udel.edu/~mills/ntp/clock2.htm
Also remove any Stratum 1 servers and only include Stratum 2 and higher
servers.

PR:		32586
Submitted by:	Arnaud Launay <asl@launay.org>
2001-12-10 02:35:54 +00:00
Matthew Dillon
b706fc664f cleanup 2001-12-10 02:18:05 +00:00
Matthew Dillon
173592263d Add auto-fill-on-delete. When deleting an 'A'uto created partition
sysinstall will automatically expand the previous partition to take up
the freed up space.  So you can 'D'elete /home and /usr will get the
combined space, or you can 'D'elete /tmp and /var will get the combined space.

This gives the user, developer, or lay person a huge amount of flexibility
in constructing partitions from an 'A'uto base.  It takes only 3 or 4
keystrokes to achieve virtually any combination of having or not having
a /tmp and/or /home after doing an 'A'uto create.

Change 'A'uto creation of /var/tmp to 'A'uto creation /tmp, which should
be less controversial.

MFC after:	6 days
2001-12-09 23:40:02 +00:00
Matthew Dillon
06f33c6e7a Cleanup sysinstall's 'A'uto partitioning mode to provide more reasonable
defaults both in regards to the size of the partitions that are created
and in regards to safety and functional separation.

Still TODO: extend the previous partition to cover a deleted partition
if the previous partiton was auto-created, and supply some sort of
solution for /tmp.

Reviewed by:	Just about everyone
Approved by:	Nobody except maybe my pet mouse fred
Obtained from:	God, so complain to HIM
MFC after:	1 week
2001-12-09 09:47:09 +00:00
Makoto Matsushita
bbcb3e0620 Sysinstall cleanups for installation:
1) Use devfs to mount filesystems.  If mounting devfs is fail,
           fallback to old code.
        2) When fscking filesystems, use 'fsck_ffs' explicitly.  As a
           result, we no longer need 'fsck' the wrapper program.

Reviewed by:	jkh
2001-12-02 04:47:46 +00:00
Makoto Matsushita
5d74fa2432 Forget to remove kget.c, since kget feature is already gone. 2001-12-01 13:15:40 +00:00
Makoto Matsushita
aab37bd55c Remove kget() feature, which is removed from 5-current kernel.
Since userconfig feature is implemented by tweaking variables (hint.*)
with loader(8), we can put back an equivalent feature.  Maybe the first
step for this is to commit yokota-san's patch (add userconfig command
for loader).

Approved by:	jkh
2001-12-01 13:13:27 +00:00
Bruce A. Mah
154fe58102 Grammar police (system console terminal type menu). 2001-11-26 23:14:21 +00:00
Makoto Matsushita
34e80be88b Use 'GET' method instaed of 'HEAD', since some proxy server doesn't work
with 'HEAD' method.

Actually, when http.c was born, it used 'GET' method.  This was changed
with revision 1.4 (which was submitted as PR: 21449).  I've confirmed
to Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>,
the submitter of PR: 21449, and it's absolutely OK that we can use
GET method.

Add missing 'FreeBSD' tag, and copyright notice.  This file is originally
submitted by PR: 11316; I've contacted to the PR originator to submit it.

PR:		32238
Submitted by:	Christoph Weber-Fahr <christoph.weber-fahr@arcor.de> (patch),
	and Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> (copyright)
MFC after:	1 week
2001-11-25 00:50:57 +00:00
Andrey A. Chernov
d4e8a3b4c9 Add us-ascii_to_cp437 screenmap 2001-11-23 11:15:21 +00:00
Andrey A. Chernov
7b9c0eac1c Add fonts,screenmaps,console types 2001-11-23 07:40:54 +00:00
Jordan K. Hubbard
7a631f774d MFS: Stop reaping children. It makes evil things happen to the extraction
loop.
2001-11-01 23:32:46 +00:00
Brian Somers
d80d04cac0 Don't assume fixit media is only either a floppy disk or 2nd CDROM disc
Reviewed by:	murray
MFC after:	1 week
2001-10-29 16:17:19 +00:00
John Baldwin
b718f11936 Move the 'type' variable inside the block where it is actually used. 2001-10-23 17:31:11 +00:00
Peter Wemm
7c34d28826 This is __i386__-only, not !__alpha__. We never had userconfig on
anything but i386/pc98.
2001-10-22 12:22:08 +00:00
Ollivier Robert
41494fa079 Remove the ``-c 22'' option from newfs command line. Changes in newfs(8)
makes that obsolete. The jury^W-arch is still out about the block and fragment
sizes so I'll that for later.

Reminded by:	obrien
MFC after:	2 days
2001-10-20 09:28:53 +00:00
Jordan K. Hubbard
513cce4025 Add the ability to load klds from a floppy as part of the installation.
Submitted by:	"Daniel O'Connor" <doconnor@gsoft.com.au>
MFC after:	2 weeks
2001-10-12 22:39:02 +00:00
Jordan K. Hubbard
27a550e5ed DTRT in the restart case 2001-10-12 07:36:34 +00:00
Murray Stokely
55e3fefc53 Close all open file descriptors before restarting sysinstall.
PR:		bin/30737
Submitted by:	Alexey V. Neyman <alex.neyman@auriga.ru>
2001-09-30 00:43:32 +00:00
Bill Paul
95d674824f Add device driver support for the Broadcom BCM570x family of gigabit
ethernet controllers. This adds support for the 3Com 3c996-T, the
SysKonnect SK-9D21 and SK-9D41, and the built-in gigE NICs on
Dell PowerEdge 2550 servers. The latter configuration hauls ass:
preliminary measurements show TCP speeds of over 900Mbps using
only normal size frames.

TCP/IP checksum offload, jumbo frames and VLAN tag insertion/stripping
are supported, as well as interrupt moderation.

Still need to fix autonegotiation support for 1000baseSX NICs, but
beyond that, driver is pretty solid.
2001-09-27 23:55:28 +00:00
Murray Stokely
f784e0d137 Back out rev 1.74. This functionality causes a panic on 4.4-RELEASE
floppies if you try to actually use it.  This code will work fine if
you build and use sysinstall on a running system, since you have the
benefit of an installed termcap file.  However, this code does not
work on an MFSROOT, where you must set the TERMCAP environment
variable properly.  Unfortunately the quick fix of setting the TERMCAP
variable doesn't seem to fix the problem either.  olgeni will add this
functionality back once it's been fully implemented (hopefully using
the working code in termcap.c).

PR:		bin/30739
Submitted by:	Alexey V. Neyman <alex.neyman@auriga.ru>
Discussed with / Pointy hat to:  olgeni
MFC after:	3 days
2001-09-25 00:28:26 +00:00
Murray Stokely
a0769a8d73 Add a couple of functions to create persistent variables that will
survive a sysinstall Ctrl-C -> 'Restart'.  This fixes another annoying
bug where restarting sysinstall will try to reload kernel modules and
do other external things that have already been done.  For now, use
these persistent variables to keep track of module, usbd, and pccardd
initialization.

Bug found by: rwatson
MFC after:    1 week
2001-09-24 10:16:23 +00:00
Murray Stokely
250f214507 Silence more warnings. 2001-09-22 23:17:37 +00:00
Murray Stokely
d47aa91c6a Silence warnings on alpha :
Use '%p' when printing out the address of a function.
  sizeof(int) != sizeof(long)
2001-09-22 22:34:14 +00:00
Murray Stokely
3b603fb7d3 Silence warnings. 2001-09-22 22:25:35 +00:00
Murray Stokely
9838440951 Silence warnings :
Use static as necessary.
   Use __unused as necessary.
   sizeof(int) != sizeof(void *)
2001-09-22 22:21:01 +00:00
Murray Stokely
eba8393e91 Add a function to free all of sysinstall's internal variables from the
environment.  This fixes an annoying bug where hitting Ctrl-C and
telling sysinstall to 'restart' will do no such thing since many of
the options are still set and so you won't be prompted for them
again.

MFC after:	1 week
2001-09-22 18:10:56 +00:00
Murray Stokely
8f217e4c8b Use the isDebug() function rather than making up a new environment
variable to check for debug functionality.  Previously, you had to set
both 'debug' and 'SYSINSTALL_DEBUG' to get a log of sysinstall's
activities.  Now, only 'debug' is necessary.
2001-09-22 18:07:47 +00:00
Jordan K. Hubbard
6a903a9b76 Rework the RTSOL logic from previous patch (it was wrong)
PR:		26187 && 24136
Submitted by:	Glenn Trewitt <trewitt@trewitt.org>
2001-09-15 02:28:18 +00:00
Poul-Henning Kamp
c35b54708a Add missing {}. This made most/all scripted installs fail.
Approved by:	jkh
2001-09-14 18:29:08 +00:00
Murray Stokely
716c312b94 Increase disk space estimate for installing the ports collection from
70MB to 100MB.

Submitted by: rpratt
2001-09-14 08:51:17 +00:00
Murray Stokely
417257575f Whitespace change only. Use the same indention level throughout this
file and add a blank line after variable declarations.

Submitted by:	jhb
2001-09-14 08:39:22 +00:00
Jordan K. Hubbard
30b7cb5e9f Return the *right* error codes for yes/no questions when non-interactive.
Submitted by:	Alan Judge <Alan.Judge@eircom.net>
2001-09-11 20:42:07 +00:00
Murray Stokely
53e1e93595 sysinstall's primitive network configuration expects only one value
for each option in the DHCP lease file.  The DHCP lease parsing code
specifically ignores more than the first nameserver, but it didn't
previously deal with the case of more than one router.  This caused
segfaults and a painful death when installing on a network with
multiple routers.

PR:		misc/16003
2001-09-06 10:27:28 +00:00
Murray Stokely
5693049227 There is a problem in this example script. Setting ftp=time.cdrom.com
is useless, we should set _ftpPath=blah.

PR:		misc/29587
Submitted by:	David Yeske <dyeske@yahoo.com>
2001-09-06 10:04:27 +00:00
Murray Stokely
810fd59fbb If we're running as init, install a signal handler for SIGCHLD.
PR:		bin/14729
Submitted by:	jhb
2001-09-06 09:53:53 +00:00
Murray Stokely
2ba3260838 4000 -> 5800 ports. We really need to add some smarts to the
ports/INDEX creation script to update #defines in header files and
entities in the doc/ tree.
2001-09-05 09:45:35 +00:00
Murray Stokely
ca61f68601 Allow network device name to be given on the command line in the
interactive case.  This already works for non-interactive installs,
but at least one user thinks it would be useful and it certainly seems
more correct to allow it here as well.

So, this will now work :

# sysinstall netDev=fxp0 tcpMenuSelect

PR:		bin/30229
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
2001-09-05 08:10:04 +00:00
Murray Stokely
25818ccf8e Add Hungarian FTP mirror.
PR:		misc/21536
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2001-09-05 07:41:01 +00:00
Murray Stokely
fe936981de Add Czech keyboard definition to sysinstall.
PR:		bin/17430
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
2001-09-05 07:12:19 +00:00
Murray Stokely
eda54d6828 Introduce the concept of previously mounted media to sysinstall.
This will now allow sysinstall to work properly if a FreeBSD CD/DVD is
already mounted as /cdrom, instead of just crapping out when it tries
to mount as /dist and gets EBUSY.

PR:		conf/28081
Tested by:	jhb
2001-09-05 02:30:50 +00:00
Murray Stokely
29b46c3bc5 Allow users to enable usbd and set flags from sysinstall. This is
useful for post install configuration or other cases that might not be
handled by usb.c. (usb.c already sets usbd_enable iff sysinstall
detects usb during install).

PR:		bin/18946
Submitted by:	Peter van Heusden <pvh@egenetics.com>
Reviewed by:	jhb
2001-09-05 00:58:28 +00:00
Murray Stokely
8e212e3580 Update the inetd configuration prompt for clarity.
Submitted by:	chern
Committed from: "Make sysinstall suck less party", D1031 WRS campus, Alameda
2001-09-05 00:45:13 +00:00
Murray Stokely
b25687720b Revisions 1.117 and 1.118 of tcpip.c fixed the logic dealing with DHCP
and RTSOL in sysinstall.  If the respective TRY_FOO variable is set to
"YES" then it will be tried without prompting the user.

However, if the TRY_FOO variable is set to "NO" then the user will not
be prompted for a choice.  This is the correct behavior, since we want
people to be able to script sysinstall in either case.

However, the default TRY_FOO variable has been "NO" since 1999.  This
is incorrect, and when the logic was corrected in tcpip.c this has the
effect of never giving the user a choice to use DHCP or IPv6.  The
value should be undefined until it is set by a script or by the user.

Submitted by:	Randy Pratt, Chern Lee, many others.
2001-09-04 23:56:30 +00:00
Jordan K. Hubbard
119a25407c Add 3rd spanish mirror
Submitted by:   "Jose M. Alcaide" <jose@we.lc.ehu.es>
2001-09-04 22:08:33 +00:00
Bruce A. Mah
0b04c12ca7 sysinstall's binary upgrade option used to display the contents of
UPGRADE.TXT along with a YesNo dialog requesting confirmation of
the upgrade.  During the transition to RELNOTESng, UPGRADE.TXT got
folded into a file that eventually renders as INSTALL.TXT, which
makes sysinstall complain about a non-existent file.  As a
solution/workaround, point the user at INSTALL.TXT, and then request
confirmation.

Noticed by:	rpratt (on 4.4-RC3)
Approved by:	jkh
2001-09-04 21:06:48 +00:00
Robert Watson
4a194bc678 Since we now install sysinstall in /usr/sbin, encourage the user to
run that version, rather than the copy in /stand.
2001-09-04 20:22:41 +00:00
Robert Watson
dd5360b44c Spell SSHd as sshd to improve readability and consistency. 2001-09-04 20:22:14 +00:00
Robert Watson
0d0f76632d Add an additional \n before the "cautionary note" on the topic of
admins needing to pay attention when configuring the system.  This
improves readability of this message.
2001-09-04 20:21:12 +00:00
Robert Watson
e01106586f Don't name the main menu "/stand/sysinstall Main Manu" since it now
often lives in /usr/sbin.  Instead, just name it "sysinstall Main Menu".
2001-09-04 20:14:59 +00:00
Jordan K. Hubbard
6db4e2900d Preserve /etc/hosts.allow and /etc/dhclient.conf during upgrades.
Noted by:	Tim Zingelman <zingelman@fnal.gov>
2001-08-31 20:10:01 +00:00
Jordan K. Hubbard
7a7a162ba6 Whoops, forgot a hunk on the previous patch. Fix RTSOL variable handling
AND DHCP handling.
2001-08-31 20:03:05 +00:00
Jordan K. Hubbard
a46ce3a04b PR: 26187
Submitted by:   Glenn Trewitt <glenn@trewitt.org>
2001-08-31 19:56:59 +00:00
Eric Melville
30ff437cd4 Attempt to make key behavior more clear. 2001-08-31 03:29:25 +00:00
David E. O'Brien
c6eff40c76 Back out revision 1.317 -- diskcheckd enabled/disabled from
post-configuration "Startup" menu.
diskcheckd now lives in ports/sysutils
2001-08-29 05:42:17 +00:00
Robert Watson
49cb22edf2 o Allow diskcheckd to be enabled/disabled from within sysinstall using the
post-configuration "Startup" menu.  In the event that diskcheckd is
  removed, this can easily be trimmed also; in the mean time, it allows
  diskcheckd to be easily disabled using our documented management
  tool
2001-08-28 22:22:30 +00:00
Ruslan Ermilov
1c86a7d9c7 Removed the (possible) ambiguity in /etc/rc.conf comment.
PR:		bin/29736
2001-08-17 16:05:54 +00:00
Robert Watson
504d39109f o Improve terminology consistency for security profile functionality:
the name for the moderate security profile is "moderate", not
  "medium", so update this one reference to it as "medium".

This is a 4.4-RELEASE MFC candidate.

MFC after:	2 days
2001-08-15 19:39:11 +00:00
Josef Karthauser
67923e665b Sysinstall inserts a comment between changes to /etc/rc.conf.
Add a timestamp to the comment so that it's possible to see when
changes were made.

e.g.:
# -- sysinstall generated deltas -- # Wed Aug 15 18:10:20 2001
2001-08-15 17:10:49 +00:00
Eric Melville
b194597fd5 List the correct paths to the X server distributions.
PR:		26924
Submitted by:	olgeni
2001-08-14 23:19:37 +00:00
Eric Melville
9447e122d9 Use normal menus instead of radio lists, which seems to be more logical
after the libdialog changes.
2001-08-12 23:40:04 +00:00
Robert Watson
86a02c1326 Somewhere along the way, configSecurityModerate() lost it's "int"
return value.

Spotted by:	gratuitous use of diff during MFC process
2001-08-11 03:26:52 +00:00
Robert Watson
614af3941d o Reduce the number of offered security profiles, as we now have a more
conservative default, and actually prompt specifically for inetd rather
  than handling it as a side effect of the security profile.  Update the
  help file to reflect this change.
o Rename "Fascist" to "Extreme" in the source code, to match the names
  presented to the user.
o Remove portmap and inetd from profile management.  Portmap is now
  disabled by default, but automatically turned on if a feature requires
  it (such as NFS, etc).

This is an MFC candidate for 4.4-RELEASE.

Reviewed by:	freebsd-arch@FreeBSD.org
Approved by:	re@FreeBSD.org
MFC after:	2 days
2001-08-10 23:57:43 +00:00
Ruslan Ermilov
57e4378bf6 mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Robert Watson
f5ad562c54 Return DITEM_SUCCESS from configInetd(), as apparently a success or
failure value is expected.

Spotted by:     gcc
2001-08-10 02:23:10 +00:00
Eric Melville
6c90a5164d Make menu text match menu button labels. 2001-08-08 22:49:27 +00:00
Andrey A. Chernov
cf9da17cbb Apply pending /etc/ttys changes before calling editor on it
Approved by:	rwatson
2001-08-07 15:13:42 +00:00
Robert Watson
f3ea28cb07 In preparation for MFC of sysinstall changes to edit /etc/ttys in
post-install config, reduce the potential confusion from the existence
of both configTTYs and configTtys by renaming configTTYs to
configEtcTtys.  While this is not a C naming conflict, it was probably
a poor choice of names on my part.
2001-08-07 12:48:17 +00:00
Andrey A. Chernov
bd376a3487 Allow configTtys() be called several times - set VAR_CONSTERM to "NO" after
operation done.
2001-08-02 16:36:21 +00:00
Robert Watson
c17d6a73f2 Add the ability to modify /etc/ttys before first reboot during the
system installation process.  This allows users installing via serial
console to enable serial console login during the installation
process using an un-customized install.  The user is not prompted to
modify /etc/ttys during a normal install, but is offered the
opportunity during post-install configuration.

- Introduce configTTYs(), which describes the benefits of editing
  /etc/ttys, and asks for confirmation before spawning the editor.
- add configTTYs to the post-install configuration, as well as to
  the global configuration index.
2001-08-02 03:53:36 +00:00
Robert Watson
0c09bcb0e8 Compensate for default disabling of network services in inetd.conf(5)
by providing the opportunity to edit inetd.conf during the system
installation process.  The following modifications were made:

(1) Expand the Anonymous FTP description dialog to indicate that inetd
    and ftpd must be enabled before it can be used.

(2) Introduce a new configInetd() pair of dialogs, the first describing
    inetd, giving a couple of examples of services that require it, and
    hinting at potential risk, then asking the user if they wish to
    enable it.  The second indicates that inetd.conf must be configured
    to enabled specific services, and asks if the user would like to
    load inetd.conf into the editor to modify it.  Add this
    configuration action to the index.

There are some further improvements that might be considered:

(1) Provide a more inetd.conf-specific configuration tool that speaks
    inetd.conf(5).  However, this is made difficult by the "yet another
    configuration format" nature of inetd.conf, as well as its use of
    commenting to disable services, rather than an in-syntax way to
    disable a service without commenting it out.  Submissions here
    would probably be welcome.

(2) There's some overlap between settings in the somewhat obtuse
    Security Profile mechanism and other settings, including the inetd
    setting, and NFS server configuration.  As features become
    individually tunable, they should probably be removed from the
    security profile mechanism.  Otherwise, somewhat counter-intuitively,
    sysinstall (in practice) queries multiple times whether inetd, nfsd,
    etc, should be enabled/disabled.  A possible future direction might
    be to drive profiles not by degree of paranoia, rather, the set
    of services desired.  Or simply to remove the Security Profile
    mechanism and resort to feature-driven configuration.

Reviewed by:	imp, chris, jake, nate, -arch, -stable
2001-08-02 03:25:16 +00:00
Eric Melville
b8ae14f673 Reword for consistency. 2001-07-31 21:30:57 +00:00
Eric Melville
7ddbe3a0c0 Remove an accidental comma that managed to creep in with the last commit. 2001-07-31 04:14:44 +00:00
Jordan K. Hubbard
c6934947db If we're set to non-interactive, we shouldn't ask the user yes/no questions
but simply return the default answer instead.
2001-07-30 20:45:54 +00:00
Eric Melville
4743a2b7c2 Remove duplicate cvs tag. 2001-07-26 07:26:39 +00:00
Eric Melville
08c5ff18e9 Update sysinstall menu texts to reflect the new key behavior.
Approved by:	jkh
2001-07-26 07:17:27 +00:00
Bill Paul
362c5c1e02 You were knocked senseless by the Boomerang, spun around by the Cyclone,
blown over by the Hurricane and had a house dropped on you by the Tornado.
Now it's time to have your parade rained on by... the Typhoon!

This commit adds driver support for 3Com 3cR990 10/100 ethernet
adapters based on the Typhoon I and Typhoon II chipsets. This is actually
a port of the OpenBSD driver with many hacks by me.

No Virginia, there isn't any support for the hardware crypto yet. However
there is support for TCP/IP checksum offload and VLANs.

Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for
squeezing enough info out of 3Com to get this written, and for doing
most of the hard work.

Manual page is included. Compiled as a module and included in GENERIC.
2001-07-23 20:44:54 +00:00
David E. O'Brien
90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
David E. O'Brien
ac24b049cc Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
Andrey A. Chernov
0247c861a3 Fix disclaimer clause
Submitted by:	jkh
2001-07-17 08:35:45 +00:00
Andrey A. Chernov
3670a10826 Add ability to configure console terminal type in /etc/ttys
Reviewed by:	audit, jkh's silence
2001-07-17 04:09:50 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
David E. O'Brien
557f299a51 Tweak the Alpha partition warning wording and comment a little. 2001-07-13 16:45:00 +00:00
David E. O'Brien
224b4c7715 Rudamentary attempt to reconize when `a' is not the first partition on the
Alpha.  (the Alpha will not boot except from the first partition)

PR:		23064
Submitted by:	Kees Jan Koster <kjkoster@kjkoster.org>
2001-07-13 16:37:03 +00:00
Jesper Skriver
dc3c85941a Fix IP address checking, now we allow addresses like 172.17.0.0/23 as
a host address

PR:		misc/27799
Reviewed by:	jkh
Approved by:	jkh
MFC after:	1 month
2001-07-12 00:01:45 +00:00
Hajimu UMEMOTO
d734b7d006 Add ftp2.jp.freebsd.org as IPv6 ready mirror server.
Now, ftp2.jp.freebsd.org is serverd by IIJ.

MFC after:	1 week
2001-07-11 11:24:06 +00:00
Ruslan Ermilov
a4c37c816b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Kris Kennaway
a015c9348c Mark relevant functions __printflike()/__printf0like() and silence some of
the non-constant format string warnings.

MFC after:	1 week
2001-07-05 09:51:09 +00:00
Dima Dorfman
91308c55b5 Bring back part of rev. 1.296 I accidently reverted in the previous
commit.
2001-07-02 00:24:23 +00:00
Dima Dorfman
13704ca508 Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As the
names suggest, they perform methods on Device's.  In addition, they
check that the pointer passed to them is valid; if it isn't, they
pretend that the action failed.  This fixes some crashes due to NULL
dereferences (e.g., PR 26509).

Approved by:	jkh (some time ago)
2001-07-02 00:18:04 +00:00
Nik Clayton
38363ccec2 Various changes to the messages so that they are now appropriate for both
CD and DVD releases of FreeBSD.
2001-06-27 17:48:43 +00:00
Dima Dorfman
3676cbfbf4 Increase the buffer sizes for the build deps, run deps, and the line
itself verbatim from INDEX.  This fixes seg. faults with newer INDEX
files which have some gnome ports with outrageously long run deps.

Approved by:	jkh
2001-06-22 21:47:55 +00:00
Brian Somers
d18096cf79 Explicitly add a default route in ppp's install profile 2001-06-21 15:39:40 +00:00
Yoshihiro Takahashi
b60a68fddf Supported to select a keymap for PC-98x1. 2001-06-17 03:13:48 +00:00
Jimmy Olgeni
f3a6406c66 Add terminal type configuration to the Options screen. It allows selecting
a monochrome display after booting into sysinstall, if you have any trouble
with the default color scheme.

Approved by:	jkh
MFC after:	2 weeks
2001-06-13 10:25:09 +00:00
Andrey A. Chernov
f4ca0820bc ISO_* -> ISO* 2001-06-11 02:15:32 +00:00
Jimmy Olgeni
2b809d4f5b Fix the default number of virtual consoles in the usage.hlp file: there
were 3 virtual consoles in older releases, but now they are 8.

MFC after:	1 week
2001-06-04 15:16:41 +00:00
Ruslan Ermilov
d95db8f60e msdos -> msdosfs. 2001-06-01 12:16:09 +00:00
Ruslan Ermilov
1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Yoshihiro Takahashi
42751ee048 Added pc98 note menu.
Submitted by:	Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2001-05-21 11:25:58 +00:00
Jordan K. Hubbard
2f1cb61572 Make /compat a relative symlink instead of an absolute symlink.
Requested by:	jens
2001-05-19 19:08:56 +00:00
Warner Losh
a94058679c Save one fork on a buildworld. env FOO=foo bar -> FOO=foo bar. 2001-05-15 22:54:15 +00:00
Jimmy Olgeni
8a6d4088fa Check for both hint files in /var/run (elf and aout) and eventually create
them.

Sysinstall used to check /var/run/ld.so.hints (aout related) and create
hints with the ldconfig command, but the ldconfig command alone will
generate elf hints only. The correct behavior is:

* If /var/run/ld-elf.so.hints does not exist, generate elf hints

* If /var/run/ld.so.hints does not exist, generate aout hints
  (using ldconfig with the -aout option)

This will help ports that check for aout libraries using ldconfig in their
pkg-req scripts.

Approved by:	jkh
MFC after:	1 weeks
2001-05-12 19:39:13 +00:00
Maxim Sobolev
87dc3f46be Take keyboard map files from ${.CURDIR}/../../share/syscons/keymaps, not from
/usr/share/syscons/keymaps. This should prevent word breakage when new keymaps
have been added.

Prompted by:	Matthew D. Fuller <fullermd@over-yonder.net>
2001-05-12 09:19:36 +00:00