Commit graph

452 commits

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