Commit graph

244 commits

Author SHA1 Message Date
Ben Gras
d8ad4fa376 interruptable readall 2005-09-01 16:17:46 +00:00
Ben Gras
f6f6cec7f4 make a /bin/bigsh 2005-09-01 15:23:28 +00:00
Ben Gras
dc55ba447d Use a usleep() loop instead of sleep(1) until the second has passed if
necessary.
2005-09-01 09:29:26 +00:00
Ben Gras
1e0469ce74 *** empty log message *** 2005-08-31 16:57:13 +00:00
Ben Gras
f7fb38b291 *** empty log message *** 2005-08-31 16:55:34 +00:00
Ben Gras
81e88ddaa9 Home is s1 2005-08-31 16:50:18 +00:00
Ben Gras
dde3b865fb *** empty log message *** 2005-08-31 16:48:46 +00:00
Ben Gras
0c96b9e85e autopart return stuff fix 2005-08-31 16:46:24 +00:00
Ben Gras
5aba206470 fix 2005-08-31 16:40:41 +00:00
Ben Gras
7ed864f5b0 Compiler a bit bigger 2005-08-31 16:35:36 +00:00
Ben Gras
e0e9e78d8e First /home steps 2005-08-31 16:29:56 +00:00
Ben Gras
509394f2ba autopart now guesses the bios drive number and the setup script tells it
to the user.

minixsize has fallback default sizes set before specifics set by input list.
2005-08-31 15:48:15 +00:00
Ben Gras
2268945088 Fix for ./configure scripts that try to use gcc if any kind of gcc command
is found
2005-08-31 11:56:16 +00:00
Ben Gras
37e3708259 Gcc pointer script. 2005-08-30 17:55:10 +00:00
Ben Gras
602ae06a3c Small minix has no ram disk 2005-08-30 17:13:46 +00:00
Ben Gras
0908d7fa6c Some small-minix tweaks. 2005-08-30 17:11:36 +00:00
Ben Gras
72cc59fcbd big/regular make business 2005-08-30 16:23:32 +00:00
Ben Gras
41a960c9b3 *** empty log message *** 2005-08-30 12:02:34 +00:00
Ben Gras
41e6391780 Preparing for minix sizer 2005-08-30 10:20:39 +00:00
Ben Gras
562671cf78 Splitting commands and big commands 2005-08-29 19:39:06 +00:00
Ben Gras
d39e1dd635 Smallminix -> minixsize 2005-08-29 19:16:13 +00:00
Ben Gras
ed84c34c6b Remove older kermit 2005-08-29 15:11:26 +00:00
Ben Gras
ed5fa1767a Let tar accept 'tar -cvf' (with -). 2005-08-28 22:19:51 +00:00
Ben Gras
5bf3f610a2 install it in /usr/bin instead 2005-08-26 13:02:26 +00:00
Ben Gras
ec8853bc1b Started making 'smallminix' script, that does various chmems to make
minix run in smaller machines
2005-08-26 12:53:17 +00:00
Ben Gras
efdae0743d Update commands to use paths from <minix/paths.h> instead of
hard-coding them (some)
2005-08-26 12:14:54 +00:00
Ben Gras
915e38066a *** empty log message *** 2005-08-25 10:05:11 +00:00
Ben Gras
647e179038 . release fixes
. added OPENCT ioctl to at driver, which returns the number of times
  a device is opened. if it's not opened exactly once, new partition info
  will not be read in (at the next open after this close). included
  this check in autopart.
2005-08-25 09:47:31 +00:00
Ben Gras
2609871880 Don't print disk number, we don't know it 2005-08-24 16:56:34 +00:00
Ben Gras
f81829d20d Don't set timeouts back to defaults right away 2005-08-24 16:49:28 +00:00
Ben Gras
d6a5662adb make mkfs make filesystems with default block size the maximum, instead
of 8K
2005-08-24 12:59:51 +00:00
Ben Gras
6bfa44771e MAKEDEV: make more device nodes
setup:
	- fix for root progress bar
	- fix for network config and mount/umount order
2005-08-24 07:26:48 +00:00
Ben Gras
f13d86f6e5 Let m4 accept a command-line argument (input file)
This unbreaks some configure scripts (reported by David Given)
2005-08-24 07:20:04 +00:00
Ben Gras
655d756e82 setup fix 2005-08-22 12:36:42 +00:00
Ben Gras
c9e9964303 Don't -O2 mdb 2005-08-22 11:17:47 +00:00
Ben Gras
7508c1c0ea Don't assume configure is executable 2005-08-22 11:16:02 +00:00
Ben Gras
919b988be1 More cutting 2005-08-22 10:02:46 +00:00
Ben Gras
10ba94be2b Extra setup umounts in case of aborted previous installs.
Forget about the /usr re-mounting, it's not necessary and (potentially)
causes problems during setup.
2005-08-22 10:01:52 +00:00
Ben Gras
0ab4039806 Added two sanity checks:
.  partitions larger than the disk
	   (this happens when partitions are set to end earlier than they start
	   in part)
	.  zero-sized partitions (this confuses autopart later on)

autopart doesn't continue if this happens.
2005-08-22 09:54:31 +00:00
Philip Homburg
d45066257c More stack for make. Fixed buffer overrun in make. 2005-08-18 11:36:36 +00:00
Ben Gras
3e3c3c0b50 PRettify getty banner with tty name 2005-08-16 11:31:08 +00:00
Philip Homburg
7884b3594e Updated comment 2005-08-15 14:08:45 +00:00
Philip Homburg
cc083ade4d -h option for harddisk emulation 2005-08-15 14:08:18 +00:00
Philip Homburg
d807719b57 Also make c0d7 for CD-ROM harddisk emulation. 2005-08-15 13:17:20 +00:00
Philip Homburg
f0c331c51c Use a fake geometry for files. 2005-08-15 13:15:39 +00:00
Ben Gras
04e92e4372 Remove some debug 2005-08-12 19:03:50 +00:00
Ben Gras
3a68e040b0 Clarify 2005-08-12 19:00:13 +00:00
Ben Gras
1e9d42f148 Sanity check in autopart 2005-08-12 18:58:23 +00:00
Ben Gras
85316cfe55 rotate noise 2005-08-12 17:49:07 +00:00
Ben Gras
84cb10da1b More autopart fixes 2005-08-12 17:47:22 +00:00
Jorrit Herder
55f90307d2 Final autopart fixes. 2005-08-12 15:13:55 +00:00
Ben Gras
695bcec49e *** empty log message *** 2005-08-12 13:31:47 +00:00
Ben Gras
483c78ad0a rotate script 2005-08-12 13:28:37 +00:00
Jorrit Herder
ff1c59f000 *** empty log message *** 2005-08-12 13:22:36 +00:00
Ben Gras
aec7e98a6d Progress bar prettification 2005-08-12 12:35:17 +00:00
Ben Gras
f0c525440b free space feature 2005-08-12 12:23:16 +00:00
Jorrit Herder
414614e60f *** empty log message *** 2005-08-12 12:13:11 +00:00
Jorrit Herder
8db62e78ad Removed confirmation at 'disk' step.
Working on 'region' step now.
2005-08-12 12:05:56 +00:00
Jorrit Herder
436727a0ce *** empty log message *** 2005-08-12 11:42:57 +00:00
Ben Gras
615331b70f *** empty log message *** 2005-08-12 11:23:50 +00:00
Ben Gras
ea5c8d0318 Al's window feature 2005-08-12 11:23:33 +00:00
Jorrit Herder
fb2fc31f8e *** empty log message *** 2005-08-12 11:08:23 +00:00
Ben Gras
cbf7c4d476 Progressbar for / 2005-08-12 09:52:29 +00:00
Ben Gras
4b023a5b4f Changed some messages from DEL to ^C 2005-08-12 09:41:18 +00:00
Ben Gras
64695715da *** empty log message *** 2005-08-11 16:18:53 +00:00
Ben Gras
4e4b661941 *** empty log message *** 2005-08-11 16:00:08 +00:00
Ben Gras
d9b94b1997 . don't print error by usyslogd (for on CD)
. added progress bar technology to setup script
2005-08-11 15:17:52 +00:00
Jorrit Herder
f80c6a42e1 *** empty log message *** 2005-08-11 15:02:56 +00:00
Jorrit Herder
897a035077 Install script beautifications.
Changed message of the day.
Fixed some compile warnings in src/boot/. Changed header() variable.
2005-08-11 13:12:55 +00:00
Ben Gras
98888ca522 Blocksize 1, 2, 4 KB 2005-08-10 15:14:14 +00:00
Ben Gras
ad9e5d2cc0 . setup fixes
. added atnormalize commands, which resets at driver timeouts and retries
  to defaults
. usyslogd now logs to /usr/log/messages instead of /var (on root, which is
  shrinking)
2005-08-09 16:46:46 +00:00
Ben Gras
4d17271298 Andy's setup 2005-08-09 11:16:15 +00:00
Ben Gras
08e0e1bcef Rename install steps; add copying /usr/lib/* to /lib/* 2005-08-08 18:36:12 +00:00
Ben Gras
560466ed8e More nits and polish 2005-08-08 17:37:39 +00:00
Ben Gras
68b2f2314e minor bugfix (the whole active thing) 2005-08-08 14:55:48 +00:00
Ben Gras
5865124330 Lots of nits by ast@ 2005-08-08 14:28:32 +00:00
Ben Gras
bbaa3f6bc3 Don't print paths twice with cpdir -v. (ast@) 2005-08-08 13:37:41 +00:00
Ben Gras
e4d264bce9 autopart and setup script STEP additions to be keyed to install manual
by ast@
2005-08-08 09:24:02 +00:00
Ben Gras
a9b7d3a172 autopart fixes; halt sends SIGTERM; setup script without quotes;
MAKEDEV makes random and cmos when called with std
2005-08-05 19:16:12 +00:00
Ben Gras
a852be1357 *** empty log message *** 2005-08-05 16:49:38 +00:00
Ben Gras
73847b7d50 *** empty log message *** 2005-08-05 16:48:44 +00:00
Jorrit Herder
279cb92ec3 Minor autopart user-interface changes. 2005-08-05 16:18:04 +00:00
Ben Gras
0e79467371 .. 2005-08-05 13:51:14 +00:00
Ben Gras
6ad5067f49 minor fix 2005-08-05 12:52:34 +00:00
Ben Gras
823a8b9160 Minor fixes 2005-08-05 12:52:26 +00:00
Ben Gras
ac68f131a5 chgrp syntax fixed 2005-08-05 12:16:25 +00:00
Ben Gras
157a22bbc3 mdb compile fix 2005-08-05 11:56:47 +00:00
Ben Gras
a23604dc81 More autopart fixes (set new partition active if none other set active) 2005-08-05 11:48:55 +00:00
Jorrit Herder
c9ab8cce43 Changed minor number of /dev/zero from 6 to 5.
(Make sure to update your system accordingly or /dev/zero won't work.)
Cleaned up comments in MEMORY driver.
2005-08-05 09:43:22 +00:00
Jorrit Herder
74711a3b14 Check if kernel calls is allowed (from process' call mask) added. Not yet
enforced. If a call is denied, this will be kprinted. Please report any such
errors, so that I can adjust the mask before returning errors instead of
warnings.

Wrote CMOS driver. All CMOS code from FS has been removed. Currently the
driver only supports get time calls. Set time is left out as an exercise
for the book readers ... startup scripts were updated because the CMOS driver
is needed early on. (IS got same treatment.) Don't forget to run MAKEDEV cmos
in /dev/, otherwise the driver cannot be loaded.
2005-08-04 19:23:03 +00:00
Jorrit Herder
b98eb4e144 Added /dev/cmos.
Made separate case for /dev/random and /dev/urandom
2005-08-04 18:03:51 +00:00
Ben Gras
f784f76891 Let halt shutdown system without fsck by checking for halt in wtmp
as well as shutdown
2005-08-04 13:41:31 +00:00
Ben Gras
5e3b213f05 import of mdb (minix debugger), some ptrace and signals unbreaking
seem to have made it work (runtime debugging and core reading).
2005-08-04 08:44:16 +00:00
Ben Gras
693c7abe2a ps was looking for INIT as first user process, but INIT has become init.
There are still some checks in ps that presume there are only system
processes before INIT and all others are user processes..
2005-08-04 08:25:10 +00:00
Philip Homburg
c12b74dad5 Random is now a separate driver. 2005-08-03 15:22:41 +00:00
Ben Gras
43f89d7eff Fixes for mkfs so that making a FS from a proto file works again 2005-08-03 14:22:07 +00:00
Ben Gras
6f1c7d6016 More autopart/setup fixes 2005-08-03 10:24:53 +00:00
Ben Gras
619a202720 setup fix 2005-08-02 14:56:30 +00:00
Ben Gras
4a267f747b Debug statement from autopart 2005-08-02 09:46:34 +00:00
Ben Gras
013352bb43 remove autopart debug statement 2005-08-02 09:02:52 +00:00