Commit graph

293 commits

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