Commit graph

1150 commits

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