Commit graph

1067 commits

Author SHA1 Message Date
Ben Gras
6d14bd5ad3 *** empty log message *** 2006-03-16 12:49:53 +00:00
Ben Gras
5f9de84674 Tick calculation tweak 2006-03-16 01:44:06 +00:00
Ben Gras
fcd663d75f Top, welcome to minix.
Minix, welcome to the world of top.

A from-scratch top implementation for minix!
2006-03-16 01:29:51 +00:00
Ben Gras
84ba9dd4d3 Dinks for the (source/binary) package scripts 2006-03-15 17:02:46 +00:00
Ben Gras
91917f59e1 *** empty log message *** 2006-03-15 16:03:15 +00:00
Ben Gras
93f94cb7cc chroot in /bin for install script 2006-03-15 16:02:38 +00:00
Ben Gras
ff67776995 FS:
. loops checked for PID_FREE
  . exit broken down in exit and cleanup functions; when reboot happens,
    cleanup is done but not exit (as processes have not actually exited),
    this keeps drivers working
  . fixed a few uninitialized and unused variables

scripts:
  . new packaging system
2006-03-15 15:34:12 +00:00
Ben Gras
7879c008ae More stack for yacc (to compile nawk) 2006-03-15 15:16:43 +00:00
Ben Gras
e07a62161a . verbose recovery of tcpd
. chroot shows exit status to parent
2006-03-15 14:39:20 +00:00
Ben Gras
36fa006cec Let tcpd retry on errors. 2006-03-15 13:59:13 +00:00
Ben Gras
b351811f18 one-line descriptions 2006-03-15 11:50:15 +00:00
Philip Homburg
d2d193c7b6 More space for mdb. Terminate an error message with a newline. 2006-03-15 11:29:22 +00:00
Ben Gras
34b1f1c738 Create a ramdisk using 'ramdisk'. 2006-03-13 14:41:54 +00:00
Jorrit Herder
0619cce2ab *** empty log message *** 2006-03-13 10:33:50 +00:00
Ben Gras
6fe89cfbe8 Hack small and big fs into a single image. Must now set BIG or SMALL label. 2006-03-10 14:11:19 +00:00
Ben Gras
a0d72d263c update needs more stack in order to handle signals 2006-03-08 15:42:31 +00:00
Ben Gras
df361e818e Endpoint-enabled fix 2006-03-08 13:10:35 +00:00
Philip Homburg
69bd34a076 Added rawspeed. 2006-03-07 14:12:51 +00:00
Ben Gras
7465aa5b60 Always do sanity check now. (Possible now that we have lba48.) 2006-03-03 15:34:24 +00:00
Ben Gras
aa3932eb8b Added 'xxl' binsizes size for x.
Leave sh and make at normal size for 'big'.
Call binsizes normal after creating release.
2006-03-03 12:44:22 +00:00
Ben Gras
9f200f8807 Endpoint field name 2006-03-03 12:13:37 +00:00
Ben Gras
d1d4b5ae4d *** empty log message *** 2006-03-03 10:22:35 +00:00
Philip Homburg
f1bf17aa68 Allow bigger sizes. 2006-02-24 12:53:54 +00:00
Ben Gras
c69fe50658 Don't complain, urlget 2006-02-21 16:06:28 +00:00
Ben Gras
04429a150b Peter Boonstoppel's recwave update. 2006-02-21 16:04:18 +00:00
Ben Gras
fb240f6354 Peter Boonstoppel's audio changes. 2006-02-21 15:59:33 +00:00
Ben Gras
b89ee5b188 *** empty log message *** 2006-02-20 16:00:24 +00:00
Ben Gras
36a571d78f don't make clean first 2006-02-17 13:27:48 +00:00
Ben Gras
997d2dcbd3 Throw elvis out of the base system 2006-02-17 13:27:01 +00:00
Ben Gras
07308df374 Make 'make install' work 2006-02-17 13:12:07 +00:00
Ben Gras
77b0252796 Let saving random data work again 2006-02-17 13:11:20 +00:00
Ben Gras
151401bcb4 *** empty log message *** 2006-02-17 13:10:37 +00:00
Ben Gras
c162654310 Kick nvi out of base 2006-02-17 12:36:53 +00:00
Ben Gras
2827767745 bigmake.inc is obsolete 2006-02-16 20:56:34 +00:00
Ben Gras
7862ac9f42 *** empty log message *** 2006-02-16 15:44:52 +00:00
Ben Gras
f7132f1b1a Fixes for packaging system that will read .postinstall script and run it
if exists.

packit installs a package.
2006-02-16 15:43:37 +00:00
Philip Homburg
c3a88d15d8 Initial root filesystem is now on a ramdisk that is part of the image. 2006-02-15 11:18:21 +00:00
Ben Gras
c273654032 umount /usr first 2006-02-06 16:40:15 +00:00
Ben Gras
b561091d13 Run postinstall script 2006-02-06 16:17:54 +00:00
Ben Gras
e47299045c Packme fix. 2006-02-06 10:55:38 +00:00
Ben Gras
832bba4a56 Removed flex from base. 2006-02-03 15:52:12 +00:00
Ben Gras
28087e3f17 *** empty log message *** 2006-02-03 15:41:58 +00:00
Ben Gras
2b610431ad isodir prints one entry on each line without padding or trailing slashes
(for dirs) if the output isn't a tty, like ls, for use in shell scripts.
2006-02-03 12:59:58 +00:00
Ben Gras
f088bc5c6d Save name of cd drive for package manager 2006-02-02 18:20:09 +00:00
Ben Gras
d8341f678a Test for non-cd users 2006-02-02 18:14:42 +00:00
Ben Gras
a4e64f44bf Make easypack check for errors from urlget instead of trying with <HTML..
grepping.
2006-02-02 18:12:21 +00:00
Ben Gras
df1989aeae Make urlget return errors on non-200 http codes 2006-02-02 18:08:25 +00:00
Ben Gras
1bec73d61c fix builds not to do bigmakes
gzip is out of the base system
2006-02-02 17:13:07 +00:00
Ben Gras
ac71ad109e . rotate uses bzip2 instead of gzip
. binpackages runs a binpackage batch
. easypack does binsizes big first
2006-02-02 17:12:16 +00:00
Ben Gras
17f48fc972 i86 driver not built as package 2006-02-01 14:29:58 +00:00
Ben Gras
cbbace7d73 fix for no 'build' arg 2006-02-01 11:18:54 +00:00
Ben Gras
972dc358f5 cleanup 2006-01-27 14:44:05 +00:00
Ben Gras
d292ba7d21 build scripts accept 'build' argument to not install 2006-01-27 14:38:23 +00:00
Ben Gras
ae5ba10b9e Compile fix for major 2006-01-27 14:31:27 +00:00
Philip Homburg
3ef1d71b75 Fail when make in a subdirectory fails. 2006-01-27 14:14:51 +00:00
Ben Gras
dd284552b4 fixes to include major() and minor() in system header files (in a different
file than sys/types.h)

small binpackage update
2006-01-27 13:57:18 +00:00
Philip Homburg
21c06cfa1f Check contents of symbolic links. 2006-01-27 12:58:09 +00:00
Ben Gras
20add6baa2 . initial version of binpackage script
. build now used to make binary packages (and still in easypack), kick out
  makeme.sh
2006-01-23 12:22:06 +00:00
Ben Gras
8c1141d6b7 makeme.sh for binpackage 2006-01-23 12:15:05 +00:00
Ben Gras
817b4b8da5 Always install 2006-01-23 11:45:04 +00:00
Ben Gras
bea0bcc2eb Port of freebsd pax. 2006-01-20 14:45:27 +00:00
Ben Gras
24882f2409 Add -cnewer as find node 2006-01-19 09:36:49 +00:00
Ben Gras
303eba31a4 Removed bits from Makefile that are now in 'bigports' 2006-01-17 11:25:29 +00:00
Ben Gras
d9827f56ba Fixes for #defines growing a _ 2006-01-06 16:49:58 +00:00
Ben Gras
f6a3259ef8 Ported bsd truncate(1) 2005-12-23 16:36:00 +00:00
Ben Gras
f6e5052597 seteuid() and setegid() 2005-12-13 09:48:29 +00:00
Ben Gras
f18384d54c Make easypack remove tar after it's finished; and check for root, in
which case don't check for writability of source dir
2005-12-12 14:07:03 +00:00
Ben Gras
0a4047a8fe added -u flag to id for easypack 2005-12-12 13:55:58 +00:00
Philip Homburg
e0634c0b47 Mark ethernet fd nonblocking to avoid waiting for an ethernet address 2005-12-09 13:21:58 +00:00
Ben Gras
dd99ee67e0 Rename some #defines such as MAX_BLOCK_SIZE to _MAX_BLOCK_SIZE and such
so as to not pollute application namespace.
2005-11-14 18:41:27 +00:00
Ben Gras
1266ebcc93 last.c displays load average for uptime(1) 2005-11-14 15:51:28 +00:00
Philip Homburg
b3cf63b890 Added /dev/video. /dev/kbd and /dev/kbdaux are renumbered. 2005-11-09 15:46:15 +00:00
Philip Homburg
3fb6640115 Added tcpstat and udpstat. 2005-11-08 14:02:36 +00:00
Philip Homburg
3a0af50c80 ARP command. 2005-11-08 12:09:00 +00:00
Ben Gras
12f3eeaa01 Understand .SH "NAME" form too (e.g. perl manpages) 2005-11-04 10:50:49 +00:00
Ben Gras
a9702cca3a Let chmem return error code on failure 2005-11-03 16:58:10 +00:00
Ben Gras
26844e05e7 From: Giovanni <gfalzoni@inwind.it>
To: Ben Gras <beng@few.vu.nl>
Date: Wed, 02 Nov 2005 19:05:13 +0100
Subject: Re: [Minix-devel-l] Symbolic link

Using an alias for cd to set the prompt to display the current path
breaks the cd command.  I use in .ashrc:
PS3=$PS1
hostname=$(expr `cat /etc/hostname.file` : '\([^.]*\)')
cd() {          ## shows current directory as prompt
   command cd "$@"
   PS1="$PS3$USER@$hostname:`pwd` > "
}

If you change the macro in shell.h to:
#define SYMLINKS  0
the correct behaviour is restored.  Could you verify?
I think that the ash package needs the patch.
2005-11-03 15:25:18 +00:00
Ben Gras
5ccf545e1b ast@'s update 2005-11-02 20:01:37 +00:00
Ben Gras
edb541fb98 Display "select" blocking status correctly, and add check for wrong
blocking process number
2005-11-02 17:43:19 +00:00
Ben Gras
bc010b74a2 Andy's new easypack 2005-11-02 12:05:01 +00:00
Ben Gras
ceb6a62f6d Install ftpd sh executable. 2005-11-01 22:57:42 +00:00
Philip Homburg
c62239687d More stack for rlogind. 2005-10-24 14:06:36 +00:00
Philip Homburg
070f7673b9 More stack for cp, du, and synctree. 2005-10-24 14:04:22 +00:00
Philip Homburg
d9d4a4cacd kbdaux 2005-10-24 14:00:46 +00:00
Ben Gras
fd63815169 *** empty log message *** 2005-10-21 11:18:41 +00:00
Ben Gras
4e4d2f343c Make /dev/rescue 2005-10-21 10:00:03 +00:00
Ben Gras
7852300ec2 Don't beep (print bell characters) on rebooting 2005-10-19 10:36:10 +00:00
Ben Gras
742f18a87c Bugfix by Joren 2005-10-18 11:00:03 +00:00
Jorrit Herder
eb5ed13fd3 New libary functions.
Cleanup of halt.c.
2005-10-12 15:10:14 +00:00
Ben Gras
899d78ef0d Don't build vim tools 2005-10-12 09:57:09 +00:00
Ben Gras
c5b1394133 Fix warning (gcc) 2005-10-10 16:10:27 +00:00
Ben Gras
2e60aad2bb Fix 2005-10-10 09:03:11 +00:00
Ben Gras
b7a0c0f858 Make "mkdir -p a/./b" work (with ".") 2005-10-10 09:02:16 +00:00
Ben Gras
50951c50f9 *** empty log message *** 2005-10-07 14:00:52 +00:00
Ben Gras
f3e88a8352 Increase default binsize size 2005-10-07 13:51:06 +00:00
Ben Gras
a369d9c828 1 sync in shutdown procedure. 2005-10-05 15:07:08 +00:00
Ben Gras
f1d9413da7 Make rlogin compile under non-minix-vmd with SIGWINCH defined 2005-10-03 12:02:43 +00:00
Ben Gras
7c2b94fd56 Make ps compile even if source tree isn't /usr/src 2005-10-03 11:01:21 +00:00
Ben Gras
7ba508eb17 Make binsizes work, even if /usr/src isn't there 2005-09-30 11:52:53 +00:00
Ben Gras
b4e46ee5f2 Hint to qemu users. 2005-09-27 15:08:15 +00:00
Ben Gras
fdf5e8f7c7 Setup microfix 2005-09-27 12:56:48 +00:00
Ben Gras
9bfad61c9e emacs and python last of the big ones 2005-09-26 11:43:01 +00:00
Ben Gras
0b386e072d First the small ones 2005-09-26 11:42:23 +00:00
Ben Gras
8852f5464e Blank line for home size confirming 2005-09-26 11:34:57 +00:00
Ben Gras
4c2735c765 Don't test bzip2 (too much memory) 2005-09-25 12:49:51 +00:00
Ben Gras
4b5a3a4970 Use makeme script to build bzip 2005-09-24 15:29:10 +00:00
Ben Gras
d7925fdf46 More bytes 2005-09-22 16:03:44 +00:00
Ben Gras
9040daa95a Give up on bogus geometry. 2005-09-21 15:10:52 +00:00
Ben Gras
fd8c921c23 Fix cap. 2005-09-21 09:44:29 +00:00
Ben Gras
d312cc39ab sh build, so build doesn't have to be mode 755. 2005-09-21 09:29:31 +00:00
Ben Gras
2f55a065d7 clean bug 2005-09-20 14:11:29 +00:00
Ben Gras
9b1ea0aa12 small, big, all targets. 2005-09-20 13:04:52 +00:00
Ben Gras
e7b1257858 Save errors to dhcpd log. 2005-09-19 14:46:01 +00:00
Ben Gras
36c2e0b16b ast@'s setup tweak 2005-09-19 13:26:12 +00:00
Ben Gras
9e8290720e ack is makeable/installable too now. 2005-09-19 13:21:02 +00:00
Ben Gras
c42fb551b8 ast@'s build files for easypack. 2005-09-19 13:15:15 +00:00
Ben Gras
930df6662c lance fix 2005-09-16 16:46:03 +00:00
Ben Gras
b743d5b2fe Fixes for move to commands/ of contrib/ 2005-09-16 15:28:29 +00:00
Ben Gras
4eac7dbbc9 Made a smallbunzip2 2005-09-16 14:30:54 +00:00
Ben Gras
2e875d3ff2 Try to use smallbunzip2 if bunzip2 fails 2005-09-16 14:20:56 +00:00
Ben Gras
5d8f18a091 Added Michael Temari's httpd 2005-09-16 13:37:29 +00:00
Ben Gras
38e6ba9eec Al's change 2005-09-16 13:27:38 +00:00
Ben Gras
8bf2e72989 No more gcc stub 2005-09-16 12:09:21 +00:00
Ben Gras
f9ee7aaa7b oops 2005-09-16 11:01:09 +00:00
Ben Gras
06883efc2c bzip2 only (..) needs 2.75MB for its own tests 2005-09-16 10:05:55 +00:00
Ben Gras
c259483f87 Added /dev/kbd0 and /dev/psm0, in anticipation of raw keyboard and mouse
devices.
2005-09-15 14:55:30 +00:00
Ben Gras
68e12c2f04 Added Andy's easypack 2005-09-15 14:55:11 +00:00
Ben Gras
2db08280db rmdir! 2005-09-15 13:22:59 +00:00
Ben Gras
23e59a8aa3 Don't leave /m around 2005-09-15 13:22:45 +00:00
Ben Gras
30027d85e5 Save random data 2005-09-15 13:22:10 +00:00
Ben Gras
521633b3a4 Install things as bin 2005-09-13 14:02:21 +00:00
Ben Gras
77ff4a2a75 More setup checks 2005-09-13 13:45:22 +00:00
Ben Gras
95086b988b *** empty log message *** 2005-09-13 13:41:33 +00:00
Ben Gras
686b998c87 *** empty log message *** 2005-09-13 13:39:42 +00:00
Ben Gras
19534a8a96 /home size check 2005-09-13 13:27:35 +00:00
Ben Gras
0c83d1f97e *** empty log message *** 2005-09-13 12:29:08 +00:00
Ben Gras
65a7f017b2 devsize bug 2005-09-13 09:57:40 +00:00
Ben Gras
169fbb62cf A little setup bulletproofing 2005-09-13 09:52:15 +00:00
Ben Gras
540d299088 ast@'s microbug 2005-09-13 09:33:22 +00:00
Ben Gras
1be4522857 *** empty log message *** 2005-09-12 16:14:57 +00:00
Ben Gras
4dd7bd4b9d Autopart step change; setup has to make source installs optional 2005-09-12 15:22:49 +00:00
Ben Gras
f7fd32b9e5 at: first wipe partition table (workaround for a partition() bug)
setup: steps fix
2005-09-12 13:25:40 +00:00
Ben Gras
6f140bbb79 elvis is connected, but not installed as vi any more. 2005-09-12 12:53:17 +00:00
Ben Gras
9faa8a9478 Added getpack, the fabulous minix package manager. 2005-09-12 12:26:18 +00:00
Ben Gras
be065ea8f3 Disable sanity check on big disks. 2005-09-12 11:48:38 +00:00
Ben Gras
a70cf304ec Added version 2005-09-12 11:43:30 +00:00
Ben Gras
c594325b32 Test mount of /home readonly 2005-09-11 20:23:46 +00:00
Ben Gras
1c05e29646 Andy's /home scheme. 2005-09-11 20:00:56 +00:00
Ben Gras
5ed793ce20 Another setup check 2005-09-11 17:20:30 +00:00
Ben Gras
31fe543973 Patch gets 1M stack 2005-09-11 00:05:55 +00:00
Ben Gras
260af52455 Steps 3.x 2005-09-10 20:54:25 +00:00
Ben Gras
918ad431d2 Few extra checks. 2005-09-10 20:33:11 +00:00
Ben Gras
fe5e1c7d59 Accept 0 things to indicate progress of 2005-09-09 16:02:43 +00:00
Ben Gras
0e809f9c08 -m<MB> feature to know how big things have to me.
write 2kB of zeroes at the start of new partitions to clear out old gunk
(such as subpartitioning or old boot code).
2005-09-09 13:23:24 +00:00
Ben Gras
852a2c9832 more /home fixes 2005-09-09 12:22:19 +00:00
Ben Gras
3dacb3e88b Ast@'s improvement 2005-09-09 09:14:44 +00:00
Ben Gras
a54ce8cf1d Fix for starting without gzip/makefile 2005-09-08 16:36:27 +00:00
Ben Gras
9faf55f4f2 more release and setup tweaks.. for /home this time 2005-09-08 16:04:34 +00:00
Ben Gras
9d9936b2bf Add devsize 2005-09-08 15:45:33 +00:00
Ben Gras
7f5e1d2b05 Other bigmake message
Elvis no longer connected to build
2005-09-08 13:09:03 +00:00
Ben Gras
d2bb98e7b2 Change in how we handle big programs.. 2005-09-08 11:59:52 +00:00
Ben Gras
fa2da084bb Bigmake minixsize -> binsizes rename 2005-09-08 09:29:47 +00:00
Ben Gras
7b2c5b9104 Minixsize -> binsizes rename 2005-09-08 09:29:17 +00:00
Ben Gras
c899921eb2 Include AMD LANCE driver in menu 2005-09-07 15:06:13 +00:00
Ben Gras
5f2d97dfe6 Use exec cc instead of cc (ast) 2005-09-07 08:43:25 +00:00
Ben Gras
2c34983afc Retrieve hostname from dhcp too 2005-09-06 22:08:54 +00:00
Ben Gras
3ffe1fea7b Numbers, not letters 2005-09-06 10:19:38 +00:00
Ben Gras
b2bb27eda1 window change hack in telnetd 2005-09-05 20:22:06 +00:00
Ben Gras
6bf8c8d23f Create home directories after setup 2005-09-05 17:02:26 +00:00
Ben Gras
c28d7c9d8e Don't print output 2005-09-05 13:03:26 +00:00
Ben Gras
182e3cad77 Make tty02 and 03 2005-09-05 13:02:07 +00:00
Ben Gras
79dd653e1a Reinstall fix. 2005-09-01 16:39:03 +00:00
Ben Gras
475a8e8628 with a 200MB /home, we need 500MB for the rest. 2005-09-01 16:21:49 +00:00
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
Ben Gras
acf6df8b04 Setup tweaks; bzip import 2005-08-02 08:57:26 +00:00
Ben Gras
ed6459b304 *** empty log message *** 2005-07-27 14:30:25 +00:00
Philip Homburg
3ea637a096 More stack for ash. 2005-07-27 11:49:52 +00:00
Ben Gras
10aa135d82 Minor cdprobe message additions; usyslogd logs shorter lines 2005-07-26 13:23:13 +00:00
Ben Gras
fe3a7d6b5a MINIX 3, not MINIX3 2005-07-26 13:16:07 +00:00
Ben Gras
2293ccfc45 Small fix 2005-07-26 13:14:59 +00:00
Ben Gras
e110ef62e3 Rename setupcd.sh to setup.sh 2005-07-26 13:14:36 +00:00
Ben Gras
8e8593d1bf Rename setupcd.sh to setup.sh, setup.sh to floppysetup.sh 2005-07-26 13:14:12 +00:00
Ben Gras
154cd91888 *** empty log message *** 2005-07-24 12:55:41 +00:00
Ben Gras
2283a4e5c3 Let writeisofs write files longer than 11 chars 2005-07-24 01:18:39 +00:00
Ben Gras
9d1772baf8 Various autopart fixes, and new delete-partition feature 2005-07-24 01:16:51 +00:00
Ben Gras
8dd28a9a7c install script fixes - mkfs block size, autopart invocation 2005-07-24 01:16:37 +00:00
Ben Gras
e4b4ec7128 Fixes to autopart. 2005-07-23 19:57:13 +00:00
Ben Gras
b9e585c81c autopart, setupcd updates 2005-07-22 18:30:40 +00:00
Ben Gras
d5516193f3 Imported treecmp 2005-07-22 18:30:23 +00:00
Ben Gras
3a68bd323a Imported indent 2005-07-22 18:30:14 +00:00
Ben Gras
da9b8e45f9 Added dev2name - translate (minor,major) device numbers, or (minor|major<<..)
device number, to /dev/* node name.
2005-07-21 13:17:56 +00:00
Ben Gras
3eb405c3bf Fixed two uninitialized-data bugs. 2005-07-18 13:44:39 +00:00
Ben Gras
5cd673c5ba Nit in compress about filenames; backup patched to use opendir() and
readdir() (old dir format didn't work)
2005-07-18 09:33:27 +00:00
Ben Gras
355d22ff06 .. 2005-07-13 15:08:59 +00:00
Ben Gras
0348b8d0ca Minor improvements for autopart and setupcd 2005-07-13 14:59:43 +00:00
Ben Gras
0f746219fc setup -> setupcd 2005-07-13 13:04:56 +00:00
Ben Gras
5dd4862b7e Fixed some warnings in dosread.c; initial version of autopart
(don't try it yet ;))
2005-07-13 10:02:14 +00:00
Ben Gras
5c13385e40 Added sync() after logfile i/o to reduce risk of losing log entries after
e.g. crashes.
2005-07-11 13:19:29 +00:00
Philip Homburg
054e68baf6 Flex-2.5.4. 2005-07-11 12:54:10 +00:00
Philip Homburg
9bb373331c More stack for tar 2005-07-11 12:47:43 +00:00
Philip Homburg
77f1301ae9 More stack for make 2005-07-11 12:46:27 +00:00
Philip Homburg
ef795796bf More stack for acd. 2005-07-11 12:45:57 +00:00
Philip Homburg
c45ee629ee More stack for aal. 2005-07-11 12:44:39 +00:00
Ben Gras
42050e39f8 kernel and servers send diagnostic messages to IS; IS sends them to TTY
and the new log driver if enabled.

new usyslogd is started from /usr/etc/rc. New device created by
MAKEDEV.sh. /var/log created by etc/mtree/minix.tree (on root for
now). Made select() slightly more generic, with less code duplication.
2005-07-08 17:30:01 +00:00
Ben Gras
c021dafe27 usyslogd - microsyslogd that has a hard-coded configuration (read from
/dev/klog and write to /var/log/messages). It's written so that more
sources and outputs could be added easily though.
2005-07-08 17:21:50 +00:00
Ben Gras
5939b6a4d7 . fsck has A for yes-to-all response
. mkfs makes filesystems on devices >4GB, but truncates them at 4GB
2005-07-04 13:34:24 +00:00
Ben Gras
af9465adbd >4GB device detection; mkfs can make it, but FS can't use it... 2005-07-04 09:20:03 +00:00
Ben Gras
35c98cffdc warning about <4GB filesystems 2005-07-04 09:19:31 +00:00
Ben Gras
8f07525484 format prettifictions; better task/server/user process detection logic 2005-07-04 09:19:15 +00:00
Ben Gras
7a31b9aa12 New nice utility, imported from FreeBSD, used to run processes at a different
priority.
2005-07-01 18:00:10 +00:00
Ben Gras
d2018bb8ad Little mkfs diagnostic help 2005-07-01 09:38:45 +00:00
Jorrit Herder
4fda4bbcb6 *** empty log message *** 2005-06-30 15:56:19 +00:00
Ben Gras
ebd38d9a92 Added formatting fixes for larger numbers in fsck and df; made mkfs
test for devices larger than 4GB, so it won't try to test them (and print
a warning message), but it will write the FS.
2005-06-30 13:04:57 +00:00
Ben Gras
037d5ffb26 Basic fixes to make de start to read v3 filesystems. (Not complete.) 2005-06-30 12:59:49 +00:00
Philip Homburg
f5c56f3f24 changed ash to use pid_t 2005-06-30 12:58:26 +00:00
Philip Homburg
eb3d5f2a54 More stack for chown 2005-06-29 15:27:12 +00:00
Philip Homburg
8f99754d43 more stack for /bin/sh. 2005-06-28 14:53:38 +00:00
Ben Gras
bca51699a9 Removed debug statement 2005-06-28 13:08:52 +00:00
Ben Gras
850d6611eb Removed max-inode check from mkfs because of 32-bit inode numbers in V3
FS. Tested by mkfs -i 200000, fsck, file system creating with 200000
inodes, fsck again.
2005-06-28 11:58:17 +00:00
Ben Gras
7697700802 Made src belong to bin in release cp.
Made /usr/include belong to bin in mtree.
Fixed compiler warning in fs/pipe.c.
Added mdb (minix debugger) manual page.
Added ethernet config function in setup script.
2005-06-27 11:59:36 +00:00
Ben Gras
b1fe0aa86f Gave sh more space for configure scripts; connected python to build;
fixed nit in python confused about select definitions
2005-06-27 10:04:55 +00:00
Ben Gras
d31aba5ee3 Renamed kermit_211 to kermit-2.1.1
Fixed compile bug in postmort.c
2005-06-27 09:46:55 +00:00
Ben Gras
53a51816a3 Wrote a printenv(1) 2005-06-27 09:41:58 +00:00
Ben Gras
1e6bc8c583 Imported BSD-licensed rev(1) from FreeBSD (uses brand new getopt()) 2005-06-27 09:32:29 +00:00
Ben Gras
ee5ecc1ad2 ast@ df nits 2005-06-27 09:02:33 +00:00
Jorrit Herder
f336ce29bb Changed kernel process table format affected ps.
New mkdep.sh script and affected Makefile.
2005-06-24 16:19:21 +00:00
Philip Homburg
0979014807 Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5.
More space for synctree.
2005-06-23 11:07:31 +00:00
Philip Homburg
82c0b45aeb Newer version of anm. Should be taken from the ACK source tree. 2005-06-23 09:50:54 +00:00
Ben Gras
c0f83b4033 Fix for gzip make clean if Makefile doesn't exist.. 2005-06-20 13:30:24 +00:00
Ben Gras
e40c757038 connected ps and ftpd200 to commands build
disabled verbose message in readclock
2005-06-20 12:01:15 +00:00
Ben Gras
5e17902a0d Connected ps to build 2005-06-20 09:23:55 +00:00
Ben Gras
34a9677a5b Made mkfs a little smarter about how to report empty devices.
Also a little smarter about manually specified number of blocks that is
larger than the device capacity.
2005-06-19 22:28:05 +00:00
Ben Gras
f81ac6ae5c Various compile fixes.
Imported gzip.

Changed setup script not to insist cwd is / when running from cd.
2005-06-17 13:42:53 +00:00
Jorrit Herder
7279bb68ef Applied MINIX 2.0.4 pathes provides by Al Woodhull. 2005-06-17 13:00:04 +00:00
Jorrit Herder
4b887108eb Removed duplicate 'done' output after calling readall. 2005-06-17 09:36:08 +00:00
Jorrit Herder
f88e71c9d8 *** empty log message *** 2005-06-17 09:34:44 +00:00
Jorrit Herder
108d993201 Capitalized output. 2005-06-17 09:33:00 +00:00
Jorrit Herder
f673723b1f Minor changes in PM interface affected these commands.
Getty now retrieves the actual release and version number at runtime.
2005-06-17 08:52:53 +00:00
Philip Homburg
d9b609c70f Hack for buffer overflow, should be fixed properly. 2005-06-08 11:05:27 +00:00
Jorrit Herder
2f74381dcc Fixed 'ps' utility: now get process table addresses with getsysinfo() calls.
To be done: get copies of process tables instead of using /dev/(k)mem.
2005-06-06 13:51:50 +00:00
Ben Gras
e44e9ad261 small compile fixes; initial select() stubs; release.sh script doesn't
need /tmp any more since 16MB root device; increase to 3.0.5 to make new
CD with working FXP driver. (not tagged 3.0.5 yet as at driver bios-copy
workaround hasn't been done.)
2005-06-06 11:40:32 +00:00
Ben Gras
75689debe3 fixed bug that caused number of inodes to make estimation to be terrible
in most cases
2005-06-01 11:39:45 +00:00
Ben Gras
0d31130d29 Make needs a little more memory 2005-06-01 11:14:08 +00:00
Ben Gras
39a2fc72dd different way of dealing with fd's so chmem <arg> <long list of files>
doesn't fail due to file descriptor leaks
2005-06-01 09:31:14 +00:00
Ben Gras
e673eeee20 compile fixes for kermit and postmort 2005-05-31 12:32:35 +00:00
Jorrit Herder
322ec9ef8b Moved stime, time, times POSIX calls from FS to PM. Removed child time
accounting from kernel (now in PM).  Large amount of files in this commit
is due to system time problems during development.
2005-05-31 09:50:51 +00:00
Ben Gras
fcd113da7b Imported kermit v2.11 2005-05-30 10:55:32 +00:00
Ben Gras
70cdffcc18 fixed compile breakage 2005-05-24 13:18:29 +00:00
Jorrit Herder
ccd17ecfed New NOTIFY system call! Queued at kernel. Duplicate messages (with same source
and type) are overwritten with newer flags/ arguments. The interface from
within the kernel is lock_notify(). User processes can make a system call with
notify(). NOTIFY fully replaces the old notification mechanism.
2005-05-24 10:06:17 +00:00
Ben Gras
64ecaca24b Changed something in default no. of inodes in mkfs (I run out of inodes
often with the defaults).

Made setup script not make root filesystem with 1kB filesystem blocks,
as that restriction is out of the boot monitor now.
2005-05-20 12:40:46 +00:00
Ben Gras
cff515edd8 made time use times() system call to get higher resolution (1/60s clock
ticks instead of 1s) for real time measurement.
2005-05-20 10:06:33 +00:00
Ben Gras
6f9848f51c Added feature to remember root parameter in /usr/src/tools, so make fdboot
will know how to make a boot floppy before actually booting from the new
system.
2005-05-13 12:26:40 +00:00
Jorrit Herder
1ecc6bf3b3 Removed 'system process' magic from PM and FS. 2005-05-13 08:57:08 +00:00
Ben Gras
286a541c92 Make output of partition visible 2005-05-09 13:40:54 +00:00
Ben Gras
f3982bb3df hide non-copying install Makefile actions 2005-05-09 13:40:08 +00:00
Ben Gras
e850c3f3c9 / install partition size 1440kB -> 16MB (ast) 2005-05-09 08:51:07 +00:00
Ben Gras
a792c73c84 Made us a mighty pretty progress indicator for the setup script. 2005-05-09 08:38:47 +00:00
Ben Gras
d168530a06 installed some binaries in /bin too 2005-05-04 13:45:29 +00:00
Ben Gras
1dbf315eb2 New message, typo 2005-05-04 13:43:57 +00:00
Ben Gras
8f77022778 install scripts executable (even if they aren't in the working directory) 2005-05-04 09:37:12 +00:00
Ben Gras
427727ed1f mm -> pm fixes
CTRL nitpick in setup ;)

un-executable scripts fixes
2005-05-04 09:28:37 +00:00
Ben Gras
7dfa3c595b mm -> pm fixes 2005-05-04 09:27:47 +00:00
Ben Gras
8cd654f94f Made setup.sh more CD-aware (understand that the system looks like an
installed system already, but isn't).

Install sed in /bin too, so /etc/rc can use it for some /usr magic before
/usr is mounted.
2005-05-03 15:43:12 +00:00
Ben Gras
efa2322895 . Moved sysenv to /bin (as well), used to read some boot parameters
in /etc/rc before /usr is mounted
. fixed ps.c compile breakage (MM_PROC_NR rename)
. made setup.sh a little less floppy-centric (cosmetic)
. removed ps binary from cvs (whoops!)
2005-05-03 08:58:18 +00:00
Jorrit Herder
ac0995259d *** empty log message *** 2005-05-02 14:30:04 +00:00
Ben Gras
7ce48162c1 Made sure root filesystem is 1kB-block-size, which is necessary to make it
bootable with the current boot loader (and to make it a ramdisk, with the
current ramdisk copying implementation in the FS)
2005-04-22 13:30:16 +00:00
Ben Gras
9745f6d368 Added /dev/random and /dev/urandom (don't work yet though) 2005-04-22 13:29:02 +00:00
Ben Gras
9865aeaa79 Initial revision 2005-04-21 14:53:53 +00:00