Commit graph

187 commits

Author SHA1 Message Date
Philip Homburg
c888305e21 Reverted accidental change to stat.c. 2008-10-02 14:11:12 +00:00
Philip Homburg
659ab96c1f Unmodified source of the software fault injection utility 2008-10-02 13:43:32 +00:00
Ben Gras
e39af6d1ff yearly fsck increase. 2007-12-11 10:51:35 +00:00
Ben Gras
c829928cf1 Give arp and install the default amount of memory - otherwise they run
out of memory in extreme cases.
2007-07-11 13:36:31 +00:00
Ben Gras
47c18edb26 date not built from here 2007-05-01 14:18:55 +00:00
Ben Gras
8eb09f6ddc . readall: use lseek64() to read more than 4GB of a device
. vfs: 64-bit offset support for character device i/o
   (also remove unused dev_bio function)
 . memory: /dev/null and /dev/zero are infinitely large, don't stop
   reading/writing at 4GB
2007-04-24 13:27:33 +00:00
Ben Gras
0a0f800805 Make mkfs message a bit clearer. 2007-04-19 14:13:27 +00:00
Ben Gras
c0ed0de7d1 mount needs more memory to do system() for rs_down in the event a mount fails. 2007-04-02 14:41:06 +00:00
Ben Gras
0be7f44224 . added zoneinfo to build, with fixes for minix
. now using zoneinfo date command, instead of commands/simple/date.c
2007-03-30 15:32:55 +00:00
Ben Gras
97fa05d773 Merge of kjb's update to man system to move section 9 to 1x. 2007-03-05 16:31:39 +00:00
Ben Gras
cb2f124830 mkfs needs more memory for the boot ramdisk. 2007-02-12 13:10:06 +00:00
Ben Gras
624f17ee04 Extend cdprobe probe list to c1, and reorder minors to do most-likely
first.

Make at_wini include instance number in error messages.
2007-02-08 15:56:58 +00:00
Ben Gras
a6ab1cbd34 remove debug (%d) in fsck 2007-01-16 16:52:51 +00:00
Ben Gras
8412423248 Fsck needs more memory for bigger filesystems 2007-01-16 12:59:13 +00:00
Ben Gras
80e2b3ade6 Truncate s_max_size at LONG_MAX, now that off_t is signed. 2007-01-12 16:53:12 +00:00
Ben Gras
6f77685609 Split of architecture-dependent and -independent functions for i386,
mainly in the kernel and headers. This split based on work by
Ingmar Alting <iaalting@cs.vu.nl> done for his Minix PowerPC architecture
port.

 . kernel does not program the interrupt controller directly, do any
   other architecture-dependent operations, or contain assembly any more,
   but uses architecture-dependent functions in arch/$(ARCH)/.
 . architecture-dependent constants and types defined in arch/$(ARCH)/include.
 . <ibm/portio.h> moved to <minix/portio.h>, as they have become, for now,
   architecture-independent functions.
 . int86, sdevio, readbios, and iopenable are now i386-specific kernel calls
   and live in arch/i386/do_* now.
 . i386 arch now supports even less 86 code; e.g. mpx86.s and klib86.s have
   gone, and 'machine.protected' is gone (and always taken to be 1 in i386).
   If 86 support is to return, it should be a new architecture.
 . prototypes for the architecture-dependent functions defined in
   kernel/arch/$(ARCH)/*.c but used in kernel/ are in kernel/proto.h
 . /etc/make.conf included in makefiles and shell scripts that need to
   know the building architecture; it defines ARCH=<arch>, currently only
   i386.
 . some basic per-architecture build support outside of the kernel (lib)
 . in clock.c, only dequeue a process if it was ready
 . fixes for new include files

files deleted:
 . mpx/klib.s - only for choosing between mpx/klib86 and -386
 . klib86.s - only for 86

i386-specific files files moved (or arch-dependent stuff moved) to arch/i386/:
 . mpx386.s (entry point)
 . klib386.s
 . sconst.h
 . exception.c
 . protect.c
 . protect.h
 . i8269.c
2006-12-22 15:22:27 +00:00
Ben Gras
f7984144d5 . fsck needs more memory
. fsck must deal with s_max_file_size in superblock being larger
   than LONG_MAX now that off_t is signed
2006-12-22 13:40:37 +00:00
Philip Homburg
bafc45a309 First cut at 64-bit file offsets in block devices for mkfs/fsck. 2006-11-27 14:21:43 +00:00
Philip Homburg
2032e23e8c chmod needs more space 2006-11-24 13:59:13 +00:00
Ben Gras
1030187965 Revert back to previous minised 2006-11-17 16:12:08 +00:00
Ben Gras
f6436dc1a0 old sed out, new sed in 2006-11-02 16:48:47 +00:00
Ben Gras
fa0ba56bc9 Merge of VFS by Balasz Gerofi with Minix trunk. 2006-10-25 13:40:36 +00:00
Ben Gras
1d4be8052f Don't install progressbar suid. 2006-09-27 15:40:10 +00:00
Ben Gras
bf195531b3 new command 'dumpcore' that can write core files of running processes. 2006-08-15 15:59:38 +00:00
Philip Homburg
82a5bffa7d Pass 'service' instead of 'argv[1]' to servxcheck. 2006-08-10 14:13:28 +00:00
Ben Gras
636b368dd0 Actually make top suid root 2006-07-31 15:06:53 +00:00
Ben Gras
153e2c406c make top suid root to do getsysinfo. 2006-07-31 14:37:56 +00:00
Ben Gras
f7c36e31e5 More stack for env to build g++. 2006-07-21 12:51:56 +00:00
Philip Homburg
8f19ca2039 More stack for in.rshd. 2006-07-14 11:22:37 +00:00
Philip Homburg
04b478f177 More stack for tcpd.
Safecopies renders the NWIOQUERYPARAM ioctl useless. This functionality
is now replaced with /dev/ipstat. Write the request to the device and
read the answer in one read request.
2006-07-13 13:19:48 +00:00
Ben Gras
a0f8161fe7 Stopgap for tar creating insane group ownerships due to tiny gid_t. 2006-06-27 16:30:46 +00:00
Ben Gras
9be69be836 . flex moved back into the base system, so prefix is /usr
. sysenv.c and umount.c need <minix/type.h> now
2006-06-20 08:46:45 +00:00
Ben Gras
e377457daa Install ls in /bin too 2006-04-12 21:51:01 +00:00
Ben Gras
c1a20efeb9 Less stack for tar - a bit cramped installing binary packages
on 16MB machines otherwise.
2006-04-12 00:10:17 +00:00
Ben Gras
ab3b9ed760 added -L option that makes nonamed ignore queries that don't come from
localhost.
2006-04-11 13:42:29 +00:00
Ben Gras
b24c08c254 Formatting fixes for 100% usage 2006-04-04 14:59:51 +00:00
Ben Gras
969989b7e6 Hmm, binary mkfs lying around 2006-04-03 14:40:21 +00:00
Ben Gras
6a0829c700 Kick out usyslogd in favour of syslogd Giovanni's syslogd port 2006-04-03 13:07:42 +00:00
Ben Gras
4437f258c9 probe all the way to d7 2006-04-03 13:05:04 +00:00
Ben Gras
5ea6a2cd2c make find accept -type p for FIFOs
also -type s but never match
2006-04-01 00:04:29 +00:00
Ben Gras
cdcb3df821 1-sized passwd cache 2006-03-29 12:44:06 +00:00
Ben Gras
fcbfcfcd07 Don't do anything if time between updates is less than one tick. 2006-03-28 23:44:10 +00:00
Ben Gras
dd19ec55ea . have a user interface - q works! (use curses)
also pressing anything else updates the display
 . interval is settable, default changed to 2sec
 . window size changes are detected and display is
   updated
2006-03-28 23:42:55 +00:00
Ben Gras
1c88703f7b Let su report something more useful when shells fail to exec() 2006-03-27 11:08:17 +00:00
Ben Gras
27c0f507f9 Can't exec() with long arguments - slightly reduce default nargs under
regular minix.
2006-03-26 17:44:29 +00:00
Ben Gras
c1585a6b5e Compiler warning fix 2006-03-24 14:08:51 +00:00
Ben Gras
5501dcd01b Fix compiler warning 2006-03-24 14:07:45 +00:00
Ben Gras
8a0e1e9575 Get rows from termcap it not available from term, or use 24 rows if none known 2006-03-22 15:32:44 +00:00
Ben Gras
7fc4f837bb usertime 2006-03-17 20:04:55 +00:00
Ben Gras
26a59eea43 readlink(); check bounds
top: add 'system' cpu time to 'kernel', 'idle' and 'user'
2006-03-17 13:34:40 +00:00
Ben Gras
0c3199c3aa *** empty log message *** 2006-03-17 13:23:50 +00:00
Ben Gras
7fb338622b Let top distinguish kernel time, explain in manpage. 2006-03-17 10:04:14 +00:00
Ben Gras
96783ed1f7 readlink command implementation + manpage 2006-03-17 09:27:26 +00:00
Ben Gras
e1d412d71e Top manpage + comment in code 2006-03-17 07:54:55 +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
93f94cb7cc chroot in /bin for install script 2006-03-15 16:02:38 +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
34b1f1c738 Create a ramdisk using 'ramdisk'. 2006-03-13 14:41:54 +00:00
Ben Gras
a0d72d263c update needs more stack in order to handle signals 2006-03-08 15:42:31 +00:00
Philip Homburg
69bd34a076 Added rawspeed. 2006-03-07 14:12:51 +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
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
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
24882f2409 Add -cnewer as find node 2006-01-19 09:36:49 +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
0a4047a8fe added -u flag to id for easypack 2005-12-12 13:55: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
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
a9702cca3a Let chmem return error code on failure 2005-11-03 16:58:10 +00:00
Philip Homburg
070f7673b9 More stack for cp, du, and synctree. 2005-10-24 14:04:22 +00:00
Ben Gras
fd63815169 *** empty log message *** 2005-10-21 11:18:41 +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
f1d9413da7 Make rlogin compile under non-minix-vmd with SIGWINCH defined 2005-10-03 12:02:43 +00:00
Ben Gras
c42fb551b8 ast@'s build files for easypack. 2005-09-19 13:15:15 +00:00
Ben Gras
65a7f017b2 devsize bug 2005-09-13 09:57:40 +00:00
Ben Gras
fe5e1c7d59 Accept 0 things to indicate progress of 2005-09-09 16:02:43 +00:00
Ben Gras
9d9936b2bf Add devsize 2005-09-08 15:45:33 +00:00
Ben Gras
5f2d97dfe6 Use exec cc instead of cc (ast) 2005-09-07 08:43:25 +00:00
Ben Gras
ed5fa1767a Let tar accept 'tar -cvf' (with -). 2005-08-28 22:19:51 +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
d6a5662adb make mkfs make filesystems with default block size the maximum, instead
of 8K
2005-08-24 12:59:51 +00:00
Ben Gras
3e3c3c0b50 PRettify getty banner with tty name 2005-08-16 11:31:08 +00:00
Philip Homburg
cc083ade4d -h option for harddisk emulation 2005-08-15 14:08:18 +00:00
Ben Gras
aec7e98a6d Progress bar prettification 2005-08-12 12:35:17 +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
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
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
bbaa3f6bc3 Don't print paths twice with cpdir -v. (ast@) 2005-08-08 13:37: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