Commit graph

782 commits

Author SHA1 Message Date
Jordan K. Hubbard
a0e9ec2476 Remove fixit floppy (release.10) from targets until Poul fixes it. 1995-05-26 23:08:33 +00:00
Jordan K. Hubbard
c7c644a181 Change XFree86 dist names to upper case again. 1995-05-26 22:22:20 +00:00
Jordan K. Hubbard
a2e871cc98 Netmask is unused now - we can delete it. 1995-05-26 22:08:59 +00:00
Jordan K. Hubbard
e345eb1f24 Crunch Poul's changes down to fit on a floppy again. gah. 1995-05-26 21:55:25 +00:00
Jordan K. Hubbard
409f932965 Bring in Poul's patch to make the boot floppy more stand-alone in nature. 1995-05-26 21:47:13 +00:00
Jordan K. Hubbard
11033b2a7f Don't add the default route in ppp - we'll only add it again later. 1995-05-26 21:37:53 +00:00
Jordan K. Hubbard
c2192cfe88 Fix a few bogons. 1995-05-26 21:16:02 +00:00
Jordan K. Hubbard
f39a013b8a Move ppp back to root floppy; we need it to load the cpio floppy,
potentially.
1995-05-26 21:15:50 +00:00
Jordan K. Hubbard
24f0a9980d Put the console back on ttyv0 before rebooting. 1995-05-26 21:00:43 +00:00
Jordan K. Hubbard
fea7a60b7b Put out variable names in quotes. 1995-05-26 20:55:11 +00:00
Jordan K. Hubbard
7adf1b738c Remove tabs and shorten line length to fit. 1995-05-26 20:51:39 +00:00
Jordan K. Hubbard
395dda4194 Clean up the variable handling code a little.
Write /etc/hosts in the right place.
1995-05-26 20:45:20 +00:00
Jordan K. Hubbard
a7f54e2e75 Ask name of "other" ftp site in correct place.
Make TIOCCONS redirection for console messages work properly; we no longer
open /dev/console for all I/O - we use the VTYs directly.
1995-05-26 20:31:02 +00:00
Jordan K. Hubbard
c5495a0f2e Add Spanish usage instructions.
Submitted by:	Hector  Gonzalez Jaime <cacho@eureka.gdl.iteso.mx>
1995-05-26 19:34:48 +00:00
Jordan K. Hubbard
2d7d54b2b4 Clean up the configuration stuff a bit more - we should now populate
/etc with good things(tm).

Fire off ppp with all the proper initial options set.
1995-05-26 19:28:06 +00:00
Jordan K. Hubbard
b9643b6695 This should fix the last of the ftp path problems.
It was all a bit more complex than it first looked.
1995-05-26 11:21:53 +00:00
Jordan K. Hubbard
dc38f8c8da This should enable use to find the info files properly over ftp. 1995-05-26 10:58:51 +00:00
Jordan K. Hubbard
f284246288 Swap args to deviceGet(). Whoops! 1995-05-26 10:34:44 +00:00
Jordan K. Hubbard
ad98a5f52b be nice and tell the user when the installation has completed successfully
so they don't just come back to a menu again 2 hours later with no idea
what happened with the operation(s) they had in progress.
1995-05-26 10:32:28 +00:00
Jordan K. Hubbard
5662f32138 Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.

P.S.  As soon as I get the distfiles copied over to freefall tomorrow
morning, those of you wishing to test minimal installs over ftp should
be able to do so by grabbing the boot floppy and nothing else.  Keep
your eyes open for my announcement.
1995-05-26 10:20:47 +00:00
Jordan K. Hubbard
21deb1ee5e Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.
1995-05-26 10:18:12 +00:00
Jordan K. Hubbard
3c4d1d3edb Tighten up the TCP/IP dialog a little.
Simply install procedure a bit.
1995-05-26 08:58:35 +00:00
Jordan K. Hubbard
223705ba7e Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.
Root floppy (which actually may be able to go completely away at some point
soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course)
floppy.

Fix more problems on Poul's Gripe List.
1995-05-26 08:41:52 +00:00
Jordan K. Hubbard
655f249eaa Add CRC checking to sysinstall.
Submitted by:	gpalmer
1995-05-25 18:49:58 +00:00
Jordan K. Hubbard
4537793804 Bring in all my fixes to Poul's gripe list as of last night. 1995-05-25 18:48:33 +00:00
Jordan K. Hubbard
fbd92ef8d5 Rename boot.flp to root.flp 1995-05-25 18:48:07 +00:00
Jordan K. Hubbard
8cb85ad4c4 The cpio floppy is dead. All hail the root floppy.
Basically, this is just a simple name change.  People were historically
confused by the "cpio floppy", having no clear idea as to what it was
(even if they knew what "cpio" stood for) given that the name gives
one absolutely no indication as to what it's FOR.  It's about as content
free as calling it a "data floppy".  Root floppy isn't much better, but
it's got some historical weight (Linux divides their set into boot and
root floppies) and is reasonably descriptive for a floppy that comprises
the beginnings of a stand-alone root filesystem.
1995-05-25 18:43:41 +00:00
Poul-Henning Kamp
32812b6ea5 media_strategy.c: Add explanation for URL.
ftp.c: Clean up debug, improve error handling.
1995-05-25 06:15:38 +00:00
Poul-Henning Kamp
6331da9711 Remove Ontrack special from All_FreeBSD().
Add chunk->disk pointer.
1995-05-25 06:14:49 +00:00
Poul-Henning Kamp
c0b83abedc Fix boot.flp and floppies targets.
Make cpio floppy to temp file first.
1995-05-25 06:14:10 +00:00
Jordan K. Hubbard
a3028ab123 Cleanup. 1995-05-25 01:52:04 +00:00
Jordan K. Hubbard
39ae3f1529 Eliminate much redundant cruft from cpio floppy.
Make more vty devices for us to use.
1995-05-25 01:51:45 +00:00
Jordan K. Hubbard
903463ef42 Put back some changes that were smashed in yesterday's release tree
shoot-down.
1995-05-25 01:22:20 +00:00
Jordan K. Hubbard
34753e5aee Invoke the _right_ shell. Sigh. 1995-05-24 23:43:59 +00:00
Jordan K. Hubbard
795b392ce3 Whoops - that last feature I committed to put a diagnostic shell in
ttyv3 would work a lot better if I actually exec'd a shell! :-)
Reviewed by:
1995-05-24 23:36:50 +00:00
Jordan K. Hubbard
e336d945a8 1. Spawn a shell on VTY4 and leave it lying around.
2. Bring in Gary's prompt stuff in extractGeneric.
3. Add another global for telling when we're running as init.
1995-05-24 22:37:44 +00:00
Jordan K. Hubbard
72e242ff9a I tried to use sysinstall and I noticed the look used with Japanese
usage is very bad.

And I found some bugs(?) in ja_JP.*/usage.hlp.
 1. I have made typo.
 2. Mr. Hubbard didn't change about number of virtual consoles.
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
1995-05-24 21:44:56 +00:00
Poul-Henning Kamp
eaca002785 Never commit before breakfast: A typo. Sorry Gary. 1995-05-24 19:31:26 +00:00
Gary Palmer
3e28c7a178 Close of ftp socket is now handled by FtpEOF(). 1995-05-24 18:56:03 +00:00
Jordan K. Hubbard
9576fbf44c Take out configSysconfig() until I get it written. 1995-05-24 18:52:47 +00:00
Poul-Henning Kamp
e7b2fe43e0 Close the transfer socket. 1995-05-24 18:35:10 +00:00
Jordan K. Hubbard
0b81ddd0c2 "Bring out your dead!" Always try to reap the children we leave around. 1995-05-24 18:21:49 +00:00
Jordan K. Hubbard
a098749d6b Bring everybody up to date on my morning's work.
1. Fix a few bugs in the ftp installation code and implement proper
   ftp and network shutdown routines.

2. Clean up the menus a fair bit - add a FreeBSD configuration menu.

3. Eliminate the last of the "chaining" - the installation now does
   the most obvious thing in the most obvious cases and doesn't present
   you with more menus than you were expecting.  This makes it necessary to be
   a little more explicit in places, but it's still less confusing.

4. Add a few more safety nets for the user.  Change a few hard-and-fast
   limits to warnings (it now runs as non-root, Bruce).

5. Add descriptions for all the supported ethernet cards.

6. Make the cpio floppy extract put up a menu requesting the drive you wish
   to use if you have more than one; don't just always assume drive A.
1995-05-24 17:49:20 +00:00
Gary Palmer
b2687efa65 Makefile:
Add testftp: target
ftp.c:
  add more debugging output and fix a few more problems
media_strategy:
  make the ftp system actually do something resembling common sense.
  it now works after a fashion, although it soon falls over for some
  reason.
1995-05-24 11:19:11 +00:00
Gary Palmer
66b1d44d35 Move testftp: to release/sysinstall/Makefile where it should have
been in the first place.
1995-05-24 11:17:53 +00:00
Gary Palmer
11aa6abac2 Jordan forgot this in his last sync commit. It's a wee shell script
to help generate the .inf info files I use during the extract process.
1995-05-24 10:46:54 +00:00
Jordan K. Hubbard
bef6490904 Sync to latest ftp-capable sysinstall. We're getting there! 1995-05-24 09:00:58 +00:00
Jordan K. Hubbard
2f2a4e7a4a Align slices to cylinder boundries.
Submitted By: phk
1995-05-24 08:59:40 +00:00
Jordan K. Hubbard
0412e9f72c Adjust targets to populate info files into distributions. 1995-05-24 08:59:01 +00:00
Jordan K. Hubbard
9b03310b0c Add a final configuration menu and the beginnings of the backing code
for it.  The ftp installation method is working well enough to test.
Many more bug fixes, says Gary.
1995-05-24 01:27:15 +00:00
Jordan K. Hubbard
95e34bfc2e Add rule to generate the info files.
Submitted by:	gpalmer
1995-05-24 01:26:23 +00:00
Jordan K. Hubbard
1f35245a14 Whoops! Forgot libkvm. 1995-05-23 23:06:22 +00:00
Jordan K. Hubbard
a172d39225 Remove some extraneous junk from the boot floppy. Put ifconfig and route
on there.
1995-05-23 22:59:08 +00:00
Jordan K. Hubbard
023c271a28 Cleanup pass. Remove some grit left over from ripping out
the scripts.
1995-05-23 21:47:26 +00:00
Jordan K. Hubbard
23f2ee6126 Remove the last vestiges of the old installation method. 1995-05-23 21:33:53 +00:00
Jordan K. Hubbard
7b61dc31a2 Add my first cut at TCP/IP device configuration. If this works, the
ftp installation method should now function.  We'll know as soon as my
make release builds the floppies.  I'm just committing this out of my
release tree now so that it doesn't get clobbered again.
1995-05-23 18:06:16 +00:00
Jordan K. Hubbard
43012d292c Correct a typo in the german translation.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-05-23 16:26:54 +00:00
Gary Palmer
baf9eac5f1 The stand/scripts directory is obsolete. Don't create it in the cpio
floppy area.
1995-05-23 07:20:35 +00:00
Jordan K. Hubbard
7ccad8a96a 1. Bring in the first cut of Poul's ftp routines. We still don't
use them yet, but it's close (we're working on the last wrinkles
   in the CD install for now).
2. Complete the CDROM installation strategy code.
3. Simplify the distribtuion loading code.
4. General error message cleanup.
5. Write the /etc/fstab file now and split those routines into config.c
6. Clean up the menus a little more.
1995-05-23 02:41:18 +00:00
Jordan K. Hubbard
1625ae170f wt0 -> rwt0 1995-05-22 17:39:22 +00:00
Jordan K. Hubbard
c49678020c Implement most of the CD extract code.
Clean up a few last display bugs.
Add sanity checking that makes sure user creates root and swap partitions.
Add swap partitions with swapon().
1995-05-22 14:10:25 +00:00
Jordan K. Hubbard
769d392920 Clean up the cpio floppy target, remove the fixit floppy from my
"floppies" target - don't need to build that every time for testing.
1995-05-22 14:08:45 +00:00
Jordan K. Hubbard
0d8da7331a Remove rst1 - it's not made by default. 1995-05-22 06:25:26 +00:00
Jordan K. Hubbard
d6f9f66840 Add tape devices to boot floppy. 1995-05-21 21:08:45 +00:00
Gary Palmer
198ca9bde7 1. Correct the path for distributions on the CDROM
2. Put msgDebug() calls into the genericGteDist routine to see
   why it is locking.
1995-05-21 20:41:28 +00:00
Gary Palmer
722ff1fa6b Sigh - forgot the readonly flag to mount() 1995-05-21 19:51:50 +00:00
Gary Palmer
8a3e807f06 I've just been told that I'm rooted on the hard disk at this point, not
on the boot floppy. Alter the paths to reflect this
1995-05-21 19:29:17 +00:00
Jordan K. Hubbard
c420fc79ed Check status of the device init routine properly. 1995-05-21 19:28:05 +00:00
Gary Palmer
21859ed425 Sync in my latest changes to try and find a problem with the mounting
of the CDROM
1995-05-21 19:22:43 +00:00
Jordan K. Hubbard
586ed33afa Nuke out all the NEWVERS stuff; we don't need or use it anymore.
Add Gary's info files to the cpio floppy.
1995-05-21 18:39:42 +00:00
Jordan K. Hubbard
17137d3f85 1. Remove the scripts from the boot floppy - we don't need them anymore
and it saves us a fair bit of space.

2. Remove adduser and tzsetup as well - they're not needed.

3. Move ft from the boot floppy to the cpio floppy.
1995-05-21 18:29:51 +00:00
Jordan K. Hubbard
19d7c5761e Try AGAIN to get the disklabel editor to do the right thing.
This is getting ridiculous.  I may have to put the clear() back
and take the performance penalty, Poul.

Tweak the TCP/IP setup menu to look a little nicer.

Add lp0 to the list of available network devices (it was found before
but simply not described properly).
1995-05-21 18:24:34 +00:00
Gary Palmer
52a3f86a74 Close a file descriptor leak. 1995-05-21 17:56:13 +00:00
Jordan K. Hubbard
c824c08b3c Stick in another strategic clear(). 1995-05-21 17:53:27 +00:00
Jordan K. Hubbard
23cb914708 1. Start syncing up the network strategy code so that folks like Poul and
Justin can see it.

2. Attempt to fix the redisplay problems in label.c some more.  Not clearing
   the screen each time is certainly faster, but it's causing all sorts of
   problems.
1995-05-21 15:40:54 +00:00
Jordan K. Hubbard
01610d47f2 Add the ft program to the boot floppy. 1995-05-21 13:54:02 +00:00
Jordan K. Hubbard
59bd8aaa69 Correct a stupid typo I introduced in adding CD devices. 1995-05-21 13:36:13 +00:00
Jordan K. Hubbard
cbe35e915a Add device entries for CDROM devices to boot floppy.
Increase number of inodes slightly.
1995-05-21 10:33:20 +00:00
Jordan K. Hubbard
7ef31df267 Correct a display bug that Poul introduced with his last round
of optimizations.  Add a check to make sure that root filesystems
are at least 20MB in size (this is just a thumbnail approximation,
and we can revise it later if necessary).
1995-05-21 10:16:10 +00:00
Jordan K. Hubbard
f7ef77e04f Reverse a boolean condition that prevented the user from disabling
a distribution fetch.
1995-05-21 10:05:17 +00:00
Poul-Henning Kamp
c5cc77ec44 Fix a typo, now there should always be an active slice. 1995-05-21 07:47:24 +00:00
Poul-Henning Kamp
6285c26802 The latest batch from me. Still some screen anomalies (One could consider
the entire libdialog one such :-( ) but functionally ok I think.
1995-05-21 06:12:44 +00:00
Poul-Henning Kamp
d553eefb52 label.c: wizard mode now returns;
disks.c: clrtobot() so that deleted stuff disappears.
disks.c: offset is signed (for OnTrack diskmanager)
system.c: don't setbuf(stdout,0), it's too slow.
1995-05-21 04:34:12 +00:00
Poul-Henning Kamp
e841846b60 Make a fixit.flp target too.
Improve the search code for the -u # argument to newfs.
1995-05-21 03:20:05 +00:00
Poul-Henning Kamp
0cee912e58 Make newfs options work on rootfs.
Add size argument to new_part, so it can come up with a good default for newfs.
Fix (possibly) a dialog botch after label.c's wizard mode.
Make vsystem even smarter abour crunched binaries (what a speedup!)
(You need to recompile crunchgen !)
1995-05-21 01:56:03 +00:00
Poul-Henning Kamp
3525074d14 Now cpio works for me. (it was Mostly confusion about when the chroot
happened)
Make vsystem crunch aware in an intelligent fashion.
make the boot.flp target more specific (and faster).
1995-05-20 23:33:14 +00:00
Gary Palmer
96fe1684f2 #if 0 out PHK's code until we can find a way of making it crunchgen
dependant so that standalone builds aren't hosed.
1995-05-20 22:47:43 +00:00
Jordan K. Hubbard
6593420ad1 1. Add MBR type menu to take it off of Poul's "gripe sheet".
2. Syntax correction from Andrey.

Good night! :-)
1995-05-20 20:30:12 +00:00
Jordan K. Hubbard
cc1f1b8814 Don't clear the screen for every redraw in the disklabel and
partition editors (ugh).  Fix an utterly bogus message (no arguments :)
in dist.c.  This should all make Poul a little happier and slide in
before the next CTM update window.
1995-05-20 19:22:21 +00:00
Poul-Henning Kamp
9f857b511d Change vsystem to know that the shell is crunched in.
Sanitize a couple of messages.
1995-05-20 19:12:13 +00:00
Poul-Henning Kamp
13da1b0612 Do not allocate the first track. 1995-05-20 19:11:44 +00:00
Gary Palmer
93449d4bbb Bring in my latest changes. The CDROM strategy should now work, and a
(hopefully) generic fs extraction system is in place. Now the other
methods :-(
1995-05-20 18:38:39 +00:00
Jordan K. Hubbard
f5f9a92b2f Fix a few message bogons. 1995-05-20 18:37:03 +00:00
Jordan K. Hubbard
71502538f6 Misc cpio evil. I think I'm going to start working locally and just deal
with the diff/CVS hassles - this represents far too many CVS commit
messages for you folks, and trying to document each and every iteration
of the code is a hassle (and not very useful at that).
1995-05-20 16:22:42 +00:00
Jordan K. Hubbard
c2948a7b51 Hmmm. Try the raw floppy device! This failure mode is a bit strange. 1995-05-20 15:49:53 +00:00
Jordan K. Hubbard
88c97d3785 Whoops - copy_self() was going to the wrong place!
Use proper floppy device names.
1995-05-20 15:47:19 +00:00
Jordan K. Hubbard
e6684cda7a Use ppp0 for all serial devices. It's somewhat kludge, but at
least accurate (we only have one ppp device on the floppy).
1995-05-20 14:36:39 +00:00
Jordan K. Hubbard
7fe566d31b Try again to get cpio_extract() to work. Also fix the bogon
I introduced with msgNotify() again.  Sigh.  I'll get it looking
correct someday!
1995-05-20 14:05:31 +00:00
Jordan K. Hubbard
0aa9f139dd Make Gary happy. 1995-05-20 13:52:53 +00:00
Jordan K. Hubbard
e36d47de12 Reviewed by:
Submitted by:
Obtained from:
1995-05-20 13:49:47 +00:00
Jordan K. Hubbard
519501fed0 Correct the name of the release notes file. 1995-05-20 13:36:44 +00:00
Jordan K. Hubbard
6387e9b058 Clear the screen on msgNotifys.
Don't notify in vsystem() - it obscures the original message.
Put some debugging code into cpio_extract() so that I can see
why it doesn't work now. :(
1995-05-20 13:24:35 +00:00
Jordan K. Hubbard
8568ba4e73 Don't call mediaVerify() in quite so many places. 1995-05-20 11:13:58 +00:00
Jordan K. Hubbard
8f1fd59b90 Fix the DOS discovery code to now re-allocate another virtual device if
it's called multiple times in a row.  Add a new device type "DEVICE_TYPE_DOS"
so that we can look up an previous results.
1995-05-20 11:10:35 +00:00
Jordan K. Hubbard
f10eb488f6 1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrong
implementation.

2. Totally rework device registration.  It's about half the size and
   more powerful now.

3. Add DOS discovery.

4. Start filling in some of the strategy routines.

5. Another clean-up pass over the menus.

6. Make wizard code use Disk typedef.

If I can get the first strategy routine finished tonite, we should have a working
install (from ftp, at least) this weekend.
1995-05-20 10:33:14 +00:00
Jordan K. Hubbard
2cf252e087 Totally re-work cpio_extract.
Erase the annoying "Command output is on debugging screen" message
when it's time to switch back.
1995-05-20 08:31:43 +00:00
Jordan K. Hubbard
dad012f2c6 Correct a few wording bogons in the menus.
Make notify NOT wipe the dialog off right after putting
it up.  Whoops.  Kinda defeated the purpose! :-)
1995-05-20 07:50:20 +00:00
Gary Palmer
e61618782b Make Jordan's ``half baked'' code compile so that make release's aren't
stopped dead in their tracks. Also add the beginnings of my
distribution extraction code in media_strategy.c
1995-05-20 03:49:10 +00:00
Jordan K. Hubbard
7ab5b08b2c This doesn't work - the extract code is half-baked. I commit it only
so that Gary can sync to it before I go to bed.. :)
1995-05-20 00:13:14 +00:00
Jordan K. Hubbard
606ec289aa Put find on the boot floppy. Don't ask. 1995-05-19 21:31:52 +00:00
Jordan K. Hubbard
c7c32addb2 More assorted verbosity. Also don't log informational messages. 1995-05-19 21:30:35 +00:00
Jordan K. Hubbard
1c1834210c Make _DIST_USER use the right flag. 1995-05-19 18:50:59 +00:00
Jordan K. Hubbard
2512487c92 Be more verbose now that we're getting ready to actually extract. 1995-05-19 17:19:39 +00:00
Jordan K. Hubbard
ce4e04980d XF86VGA16 -> XF86VG16 1995-05-19 17:11:07 +00:00
Jordan K. Hubbard
c10caaad51 1. Incorporate Nickolay's ammended patches for Russian screenmap support
as per Andrey's letter.  Make a few modifications for correctness.

2. Add Language menu back to first menu - it was too buried in the
   Options menu.

3. Add size information to all distributions.

4. Add a compat20 distribution (we need to make one of these!!  Any takers?  Please?)

Submitted by:	Nickolay N. Dudorov <nnd@gw.itfs.nsk.su> & jkh
1995-05-19 16:58:58 +00:00
Jordan K. Hubbard
87b47edc82 1. Copy the boot floppy into /stand before extracting the CPIO floppy.
2. On Justin's advice, remind the user when they should switch back
   from the debugging screen, if they're looking over there.
1995-05-19 15:56:02 +00:00
Jordan K. Hubbard
ec9b92d133 Whoops! Put the helpful message telling you to look at the second
screen on the first screen, and not the second.. :-)
1995-05-19 04:17:38 +00:00
Jordan K. Hubbard
977a407e1d Include serial ports as possible network candidates. 1995-05-19 02:31:13 +00:00
Jordan K. Hubbard
a1bfde73e4 Big Sigh. Both A_BOLD and A_UNDERLINE do not appear to work with
syscons (and/or cons25) at all.  This code looked just fine running
on an xterm, but on a console the attributes are all wrong.  I
now have to sacrifice some screen real-estate to pring cheesy
`-' characters to accomplish the same thing.
1995-05-19 02:19:15 +00:00
Jordan K. Hubbard
f8230b2f5f Switch to bold on the header line - the A_UNDERLINE handling appears to be
broken in syscons, or at least in the cons25 termcap entry! :-(  A_BOLD
won't show up on monochrome adapters (I don't think) but they'd be screwed
anyway since I don't have an attribute to use for them now at all.
1995-05-19 02:09:02 +00:00
Gary Palmer
9675b32c2f You want to be in /mnt when extracting the cpio floppy, not in the read
only root filesystem.....
1995-05-19 01:49:57 +00:00
Gary Palmer
aff014ff20 Sigh. Add a ++ which was causing the newfs'ing of non-root filesystems to
fail :-(
1995-05-18 23:36:21 +00:00
Poul-Henning Kamp
739618d119 Remove two printfs before Jordan has a fit over them. 1995-05-18 22:25:37 +00:00
Poul-Henning Kamp
18f4c72169 Run bad144 on raw-devs. 1995-05-18 22:00:01 +00:00
Poul-Henning Kamp
b8458cd586 A couple of tweaks to make bad144 scan run. 1995-05-18 21:58:33 +00:00
Jordan K. Hubbard
561e0b4c76 Use raw devices for newfs.
Write and wizard mode only on enabled disks.
1995-05-18 18:02:31 +00:00
Jordan K. Hubbard
9786c33e55 Poul says that setting fonts on monocrome displays is useless
as most mono displays aren't that intelligent anyway.  Disable it in this
case.
1995-05-18 17:49:09 +00:00
Jordan K. Hubbard
fcddc1c2bc Use CHUNK_BSD_COMPAT as God and Poul intended it be used. 1995-05-18 17:38:02 +00:00
Gary Palmer
2d5d38af3c Sigh - 2 formatting changes slipped through the net. 1995-05-18 17:26:02 +00:00
Gary Palmer
93a114834c Make the indentation uniform
Suggested by:	jkh
1995-05-18 17:18:46 +00:00
Jordan K. Hubbard
a0b7a5f865 Fix quoting error. 1995-05-18 16:57:52 +00:00
Jordan K. Hubbard
8cdff502c9 I had the arguments to Mount() backwards. Argh. 1995-05-18 16:53:53 +00:00
Gary Palmer
a3bbb2ff49 Dispose of old, #if 0'd, out code which has been proved to be no longer needed. 1995-05-18 16:44:41 +00:00
Gary Palmer
3890483652 Correct a conditional which could cause a off-by-one error in certain
circumstances.
1995-05-18 16:36:14 +00:00
Jordan K. Hubbard
0e8441fc1a Clear the screen after changing the font. 1995-05-18 15:58:32 +00:00
Jordan K. Hubbard
ae1d347651 Whoops! I forgot how uudecode works.. Make it really work here. 1995-05-18 15:46:18 +00:00
Jordan K. Hubbard
a2b4e70705 1. Use 8x16 fonts.
2. Don't use russian screenmap - apparently not necessary with right font.
3. Dequote bogusly quoted font name in english language setting.
4. Use setterm() and hack around an undesirable side-effect (cbreak is unset).
5. be smarter about setting OnVTY, and use it in cases where it makes sense.
Submitted by:	Nickolay N. Dudorov <nnd@gw.itfs.nsk.su>
1995-05-18 15:29:47 +00:00
Jordan K. Hubbard
36678611e6 Add some more debugging information and fix a few missing newlines. 1995-05-18 14:11:16 +00:00
Jordan K. Hubbard
090d283ec5 Sheesh! What was I thinking. ppp should go on the cpio floppy, not
the boot floppy!
1995-05-18 13:54:12 +00:00
Jordan K. Hubbard
abac5d4b12 Ahem. It's late. Make my floppies target actually work. 1995-05-18 13:32:22 +00:00
Jordan K. Hubbard
0ead1f1db1 Make a little convenient "floppies" target for myself. 1995-05-18 13:24:48 +00:00
Jordan K. Hubbard
def8bcf342 Fix a very embarassing typo. No wonder this thing was looping! :-) 1995-05-18 13:20:53 +00:00
Jordan K. Hubbard
690e60d830 1. Add serial devices to list of possible network device candidates.
2. Rework tcpip.c a bit so that devices which have been configured also
   have the enabled flag set.
1995-05-18 13:18:35 +00:00
Jordan K. Hubbard
ab9357a910 Also log all user interactions to debugging log. 1995-05-18 12:57:54 +00:00
Jordan K. Hubbard
9650d6dc0c Add ppp to the boot floppy. 1995-05-18 10:47:45 +00:00
Jordan K. Hubbard
6aebdd7df9 Do more proper bad144 handling. Thanks, Rod. 1995-05-18 10:43:51 +00:00
Jordan K. Hubbard
4d7b3c6f96 1. Primitive bad144 support (I believe an additional command is needed, but
won't know until Poul wakes up again).
2. Make vsystem() put its output on the debugging fd.
3. DTRT with root filesystem placement - now I see how this has to work
   (thanks, Poul).
4. Many miscellaneous spelling errors fixed and general cleanup.
1995-05-18 09:02:06 +00:00
Jordan K. Hubbard
0b30383382 Use my own version of system() everywhere - it knows where to find the
shell!
1995-05-18 02:42:33 +00:00
Jordan K. Hubbard
4da5212097 1. Set a path to /stand by default.
2. Don't clear() when I can dialog_clear().
1995-05-17 16:16:10 +00:00
Gary Palmer
09462c94cf Oops - one slipped past the nets :-( 1995-05-17 16:05:42 +00:00
Gary Palmer
29082c26fe Untabify these files - it doesn't come out right on the display
otherwise :-(
1995-05-17 15:44:22 +00:00
Jordan K. Hubbard
498e6d5df3 Remove the seat-belts from the root partition creation code; for some
reason I'm *always* getting CHUNK_PAST_1024 set now, even when it's
definitely not! :-(  Poul, can you perhaps take a look?  Thanks!
1995-05-17 15:41:52 +00:00
Jordan K. Hubbard
d0eeafc570 Commit my latest so that Gary can sync up - this version should also
be the grounds for our first round of testing in the release I'm rolling.
It doesn't load the distributions yet, but it should do everything else.
1995-05-17 14:40:00 +00:00
Gary Palmer
dfa4c76f74 Hopefully the last version of this file. Add a lot more comments, and
actually give the data back to sysinstall in a coherent fashion now.
1995-05-17 12:09:11 +00:00
Gary Palmer
4ea606879a Oops - Jordan managed to grab my ``work in progress file'' which
doesn't even come close to compiling. This file compiles, and should
work.
1995-05-16 20:00:51 +00:00
Jordan K. Hubbard
b2d228d3d7 This will now compile and even scribble helpfully on your disks.
It remains to be seen how successfully.  The distribution loading code
is still not here yet, but the partition/newfs/mount/cpio-extract cycle
is as complete as it's ever going to get, modulo possible bug fixes.
The TCP/IP setup screen is also sort of here, albeit in a highly-changing
state due to the fact that per-interface information isn't being kept
right now but is being added (thanks, Gary!).
1995-05-16 11:37:27 +00:00
Jordan K. Hubbard
f506f143fa Fixes to document VTY usage.
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
1995-05-16 03:11:25 +00:00
Jordan K. Hubbard
3dee6615c7 This does _not yet compile_; I'm simply bringing in my changes from
this weekend in order to more easily sync with my CVS tree at home.
Another commit relative to these changes will follow shortly.
1995-05-16 02:53:31 +00:00
Poul-Henning Kamp
86577745c3 Fixed the calculation of the reserved space for bad144. Thanks Rod! 1995-05-15 19:03:08 +00:00
Poul-Henning Kamp
ff88273903 Create_Chunk_DWIM will not allocate anything in the last cylinder of a
CHUNK_BAD144 slice.
Also mknod the 'c' partition for freebsd slices, so bad144(8) will have
something to work on.
1995-05-15 00:58:25 +00:00
Rodney W. Grimes
682078bd09 Very minor rework to eliminate useage of - operator by checking for
existance of ${CHROOTDIR}.

Remove -k option from make install for building chroot tree, makes it
error out early if you forgot to populate the pre-chroot obj tree.

Reviewed by:	phk
1995-05-13 19:51:57 +00:00
Poul-Henning Kamp
7b92fbb848 Added MakeDevDisk(struct disk*, char *path);
fixed bug in extended slice naming.
1995-05-12 18:50:00 +00:00
Lars Fredriksen
60c3781abb Updated the text to reflect changes in the english version.
Also updated the text based upon suggestions from Havard.Eidnes.
1995-05-11 14:31:22 +00:00
Jordan K. Hubbard
59927d47cf 1. Don't check CHUNK_BSD_COMPAT for now; it always returns "no" and is
getting in the way of testing right now.
2. Call system() on commands, not vsystem().  No need for vsystem() here.
3. Add a path for the shell.
1995-05-11 09:01:35 +00:00
Jordan K. Hubbard
8a5f152db3 Add ls to the boot floppy - folks will be lost without it! 1995-05-11 08:52:11 +00:00
Jordan K. Hubbard
336d17595a Drop the inode count down a bit - we ran out of inodes with the help files. 1995-05-11 07:18:11 +00:00
Jordan K. Hubbard
17078dcc1f Argh! Get the args to tar right. It's late. I'm sleepy. 1995-05-11 07:11:24 +00:00
Jordan K. Hubbard
89046f378e Use the proper libs for sh. 1995-05-11 07:05:05 +00:00
Jordan K. Hubbard
3edcd90d4b 1. Fix a cd which somehow got capitalized.
2. Don't put CVS files on the floppy.
1995-05-11 07:03:33 +00:00
Jordan K. Hubbard
e0d3af579f Clean this up a bit - add more documentation to the documentation menu. 1995-05-11 06:47:46 +00:00
Jordan K. Hubbard
caeb252543 Dump the help files onto the new floppy. 1995-05-11 06:40:40 +00:00
Jordan K. Hubbard
212014b835 Put a shell on the boot floppy. 1995-05-11 06:32:13 +00:00
Jordan K. Hubbard
dae062c15f First round of changes after testing this on actual systems. Clean up
some of the badly displayed menus, use the proper notification box for
messages, make proceed work.
1995-05-11 06:10:56 +00:00
Jordan K. Hubbard
46374ebcaa DES -> des. Sigh! 1995-05-11 05:23:40 +00:00
Poul-Henning Kamp
8f9c995787 Get the CHUNK_COMPAT_BSD flag right. 1995-05-11 05:22:54 +00:00
Jordan K. Hubbard
42206c90f4 Don't use curses routines until that part of the system is initialized. 1995-05-10 18:59:51 +00:00
Jordan K. Hubbard
0020de4fe4 Reviewed by:
Submitted by:
Obtained from:
1995-05-10 17:54:09 +00:00
Jordan K. Hubbard
dda697f031 Remove ncftp from cpio - we don't need it any more.
Adjust boot floppy to (hopefully) include libdisk in the crunch.
1995-05-10 17:20:23 +00:00
Jordan K. Hubbard
8e3bb099bf Sync up to Poul - use his new Create_Chunk_DWIM() function and use the pointer
it passes back.  Thanks, Poul!
1995-05-10 09:25:49 +00:00
Jordan K. Hubbard
b34c876a61 Make sure that mountpoints start with a /. 1995-05-10 08:03:21 +00:00
Jordan K. Hubbard
4ec1f4bcf2 Whoops - dispatch() takes multiple args now. 1995-05-10 08:00:47 +00:00
Jordan K. Hubbard
351669d743 Fold in all my recent changes.
Do another clean-up pass over this, making the generic menu handler much
more powerful (now handles multiple dispatch).  A few more menus fleshed
out and the beginnings of the distribution handler committed.  Should
be transfering full distributions over in the next commit.
1995-05-10 07:45:00 +00:00
Poul-Henning Kamp
59618a8666 Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies. 1995-05-10 05:57:04 +00:00
Jordan K. Hubbard
4da86446d9 Get sysinstall from /usr/src/release not /usr/src/sbin. 1995-05-09 23:02:56 +00:00
Jordan K. Hubbard
3af7a5dc18 secure -> DES. 1995-05-09 22:58:42 +00:00
Jean-Marc Zucconi
d2ec3b3080 Change wording about displayed text in text fields 1995-05-09 13:06:11 +00:00
Jordan K. Hubbard
a3e12198e1 Use absolute path for release dir. 1995-05-09 02:24:39 +00:00
Jordan K. Hubbard
d37bc70266 Revise confusing wording about text fields. It now reads
"the amount of text above the current point" instead of "the amount of text
remaining", which was of the exact opposite meaning!  Urk.
Submitted by:	joerg
1995-05-09 01:52:42 +00:00
Jordan K. Hubbard
20e5d523d9 Make a less expensive re-release target. 1995-05-09 00:30:00 +00:00
Jordan K. Hubbard
a88bbe42ef Don't go build sbin/sysinstall anymore; it's obsolete. 1995-05-09 00:18:32 +00:00
Jordan K. Hubbard
f9a1c2dee2 Sync these up so that they'll get into my CVS tree at home, where I'll continue
working on the distribution extract stuff.
1995-05-08 21:39:40 +00:00
Jordan K. Hubbard
9e572e47e5 Whoops! Uncomment Write_Disk() again. 1995-05-08 18:41:37 +00:00
Lars Fredriksen
5462a49a71 Improved readabilty and spelling 1995-05-08 14:40:59 +00:00
Jordan K. Hubbard
4d66a82366 Perform a much needed tidying-up pass over this code. Sleep for now,
more tomorrow.
1995-05-08 10:20:56 +00:00
Jordan K. Hubbard
69bbb06233 Add the sorted command executor code. 1995-05-08 06:08:27 +00:00
Jordan K. Hubbard
7f197a5448 Ok, we should now create all filesystems, mount them and extract the
cpio floppy at this point.
1995-05-08 06:06:30 +00:00
Poul-Henning Kamp
d81adf1ebe Recognize slice type #6 as dos
handle OnTrack Disk manager correctly.
1995-05-08 02:08:33 +00:00
Poul-Henning Kamp
fccc689116 Add check for rootfs > cyl 1024. 1995-05-08 01:34:31 +00:00
Jordan K. Hubbard
83b74c37e4 Implement the geometry command. Clean up the help a little. 1995-05-08 01:27:07 +00:00
Poul-Henning Kamp
c0b8ca15f5 I bet Jordan is tearing his hair out, trying to figure the previous patch
out... here is the real thing.
1995-05-08 01:26:47 +00:00
Jordan K. Hubbard
65a27a9ba4 Add a wizard button for Poul. 1995-05-08 00:56:28 +00:00
Poul-Henning Kamp
f768aaceb4 Fix bug. 1995-05-08 00:44:46 +00:00
Jordan K. Hubbard
0881c9c4a1 Fix a bug in multi-column output. 1995-05-08 00:38:02 +00:00
Jordan K. Hubbard
27e3eb523c Another sync up for Poul. Added a lot more error checking. 1995-05-07 23:37:34 +00:00
Jordan K. Hubbard
51f0ec8415 Implement a work-around for Create_Chunk providing no pointer to the
new chunk.  The partition editor now works as well as the underlying
libdisk can support it - have at it, Poul!
1995-05-07 22:07:53 +00:00
Jordan K. Hubbard
2b0e7dfa13 Make this compile again. Poul and I need to sync up again. 1995-05-07 05:58:57 +00:00
Jordan K. Hubbard
133231e4aa Correct a few ordering errors in how the partitions were being displayed. 1995-05-07 03:38:03 +00:00
Jordan K. Hubbard
64330cc768 Print sizes of partitions now. 1995-05-07 02:04:29 +00:00
Jordan K. Hubbard
5ff77a9985 Whoops! An extra paren somehow got in there. Fixed. 1995-05-07 01:28:16 +00:00
Jordan K. Hubbard
3906ebee12 Always zero new chunks - keeps things like the private structures from having
bogus data in them.
1995-05-07 01:25:22 +00:00
Jordan K. Hubbard
4c88964f89 Some fairly serious cleanup. The proper offset should now be used in
creating partitions.  Still need to get the mount points displaying carefully,
but I need to get this into my tree on time so that I can work on that.
1995-05-06 09:34:24 +00:00
Poul-Henning Kamp
b83d7daff4 General sanitation and cleanup. Killed the "reserved" type, it wasn't. 1995-05-06 03:28:32 +00:00
Jordan K. Hubbard
e4d731b693 All the editors are finished. Now if I can just get a problem with libdisk
fixed, we should be able to fully set up the user's disk.  Still to come
with next commit:  filesystem setup, distribution extraction, final
configuration.
1995-05-05 23:47:47 +00:00
Jordan K. Hubbard
3a04674a0e Document VTYs
Submitted by:	Marc van Kempen <wmbfmk@urc.tue.nl>
1995-05-05 23:15:03 +00:00
Jordan K. Hubbard
3fcb7e8a7c Addendum documenting VTYs.
Submitted by:	Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1995-05-05 23:14:05 +00:00
Poul-Henning Kamp
0be90238f6 If in Create_Chunk we (type==freebsd && (flags&CHUNK_ALIGN)), then we will
align this chunk properly.  Have at it Jordan...
1995-05-05 07:07:45 +00:00
Jordan K. Hubbard
c8911fa27e Add changes to document VTYs.
Submitted by:	Serge A. Babkin <babkin@hq.icb.chel.su>
1995-05-05 05:17:26 +00:00
Jordan K. Hubbard
5e54fdd46d 3 VTYs by default, not 4. My fault. 1995-05-05 00:00:12 +00:00
Jordan K. Hubbard
bf97c8d151 Not 4 VTYs by default, 3. Whoops. 1995-05-04 23:59:32 +00:00
Jordan K. Hubbard
d97dd41b97 Addendum concerning virtual console usage in JIS.
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
1995-05-04 23:58:21 +00:00
Jordan K. Hubbard
06a72614d9 Add extra paragraph documenting virtual consoles in Japanese.
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
1995-05-04 23:57:23 +00:00
Jordan K. Hubbard
da92977461 Argh! Not 4 consoles, 3! Thanks, Satoshi Niimi!
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
1995-05-04 23:56:51 +00:00
Jordan K. Hubbard
a2e3498a3c Everything but the partition editor is done. This commit is for MBR testing. 1995-05-04 23:36:23 +00:00
Jordan K. Hubbard
fb31b6d679 The swedish usage.hlp file, in the proper locale.
Submitted-by: Olof Johansson <offe@dc.luth.se>
1995-05-04 21:09:28 +00:00
Jordan K. Hubbard
2c1d9ad150 Add the Norwegian version of usage.hlp
Submitted by:	Lars Fredriksen <fredriks@mcs.com>
1995-05-04 21:07:30 +00:00
Jordan K. Hubbard
7c56cfd441 This will now write MBR entries - should be enough for testing. 1995-05-04 19:48:19 +00:00
Joerg Wunsch
9c7c40911c Jordan's addendum. Jetzt auch in deutsch. :) 1995-05-04 18:55:08 +00:00
Jean-Marc Zucconi
4411b31153 Document the virtual consoles 1995-05-04 17:50:42 +00:00
Jordan K. Hubbard
0a9e09358f Add some notes about the virtual-consoles. Whoops! I completely forgot
about those!  Now I have to send the paragraph off for translation.  Ack ack!
1995-05-04 13:34:18 +00:00
Jordan K. Hubbard
f3a697b782 ROMANJI -> ROMAJI. My face is red.
Submitted by:	asami
1995-05-04 12:59:22 +00:00
Jordan K. Hubbard
f26ec5dd94 Add the Italian usage instructions. Mille gracie, Luigi!
Submitted by:	Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1995-05-04 12:52:48 +00:00
Jean-Marc Zucconi
cd49c9330a Une version a peine plus litteraire, en particulier quelques "ez"
a la place des "er" du dernier paragraphe.
Submitted by:	Philippe Charnier <charnier@lirmm.fr>
1995-05-04 12:24:14 +00:00
Poul-Henning Kamp
e9851d87a8 Make the partitions names even more sensible
CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags.
1995-05-04 07:00:57 +00:00
Jordan K. Hubbard
2e363cad34 My latest round of changes - make the "slices" editor work. 1995-05-04 03:51:22 +00:00
Jordan K. Hubbard
9b4d8c3412 The Dutch usage instructions. Thanks, Marc! [I know how to say thanks in
Dutch, but not spell it :-)]
Submitted by:	Marc van Kempen <wmbfmk@urc.tue.nl>
1995-05-04 03:16:06 +00:00
Jordan K. Hubbard
d4292e336c Commit the Russian version of usage.hlp. Bolshoi Spassibo, Serge!
Submitted by:	Serge A. Babkin <babkin@hq.icb.chel.su>
1995-05-04 03:12:28 +00:00
Jordan K. Hubbard
bec3fb5b5f The JIS version of usage.hlp.
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
1995-05-04 00:27:39 +00:00
Jordan K. Hubbard
0bc01ff745 Add German usage instructions. Thank you, Joerg! I'd spell your name with
an umlaut, but I don't know how.. :-)
Submitted by:	joerg
1995-05-04 00:15:50 +00:00
Jordan K. Hubbard
34ddf9fad5 Add the French usage instructions. Thank you, Jean-Marc!
Submitted by:	jmz
1995-05-03 22:44:00 +00:00
Poul-Henning Kamp
afb3a9c529 Add the private void *pointer to the chunks, and the functions to manage it.
Make the reassignment of partition names less bogus.
1995-05-03 22:36:52 +00:00
Jordan K. Hubbard
5604568b64 Update the usage document.
If anyone wants to translate this into another language, I believe it's
ready.
1995-05-03 17:44:47 +00:00
Jordan K. Hubbard
a7a5bb1246 Export the chunk names properly. 1995-05-03 17:38:00 +00:00
Poul-Henning Kamp
fcdd2c3c7d Make the target for tst01 more sensible.
Remove bogus targets.
Allocate partition letters as follows:
	lowest offset "flags & CHUNK_IS_ROOT" gets 'a',
	lowest offset "subtype==FS_SWAP" gets 'b'
	the rest is allocated in offset order from this sequence "defghab".
This will generally make sense.
Added rules to complain if more than one CHUNK_IS_ROOT or more than one
FS_SWAP per FreeBSD chunk.
Set CHUNK_IS_ROOT on the 'a' partition in Open_Disk.
Run Fixup_Names in Open_Disk.
1995-05-03 06:30:59 +00:00
Jordan K. Hubbard
d81fc24bca foo -> unknown 1995-05-02 20:16:16 +00:00
Jordan K. Hubbard
1d56870d74 I need Open_Disk() to not spew on my screen. #ifdef out some diagnostic
printfs.
1995-05-02 19:52:27 +00:00
Jordan K. Hubbard
7c431062a2 Bring in place-holder files for the various languages until I actually
have some doc.
1995-05-01 21:57:01 +00:00
Jordan K. Hubbard
411bac67a7 Commit my latest changes before having a nap. Still not close to done,
nor is it in sync with my working sources, but it leaves me less CVS hassles
to bring in the new files at this time.  Still no documentation to translate
quite yet, but soon.  This stuff is actually very close now.
1995-05-01 21:56:32 +00:00
Jordan K. Hubbard
ec27acc8cb foo -> unknown.
I have to be able to show this stuff to the user. :-)
1995-05-01 21:30:24 +00:00
Jordan K. Hubbard
d5d65ceb94 Rename secure to DES. This isn't a 100% accurate renaming since some
of the eBones stuff is in there too, but it's better than `secure', which
implies that the user will be insecure without it.
1995-05-01 12:01:39 +00:00
Jordan K. Hubbard
81b15f5715 Stick a more BSD-like Makefile here so that I can link to the library. 1995-05-01 08:08:02 +00:00