Commit Graph

1006 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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