Ben Gras
4c1ac39678
Changes so the HZ constant isn't needed any more.
2008-12-11 14:27:18 +00:00
Ben Gras
37a9ce7275
I want to see /dev/imgrd so I can unmount it when it's free.
2008-12-11 14:26:50 +00:00
Ben Gras
5aea2817bc
syslogd needs a bit more stack.
2008-12-11 14:26:27 +00:00
Ben Gras
c078ec0331
Basic VM and other minor improvements.
...
Not complete, probably not fully debugged or optimized.
2008-11-19 12:26:10 +00:00
Philip Homburg
c888305e21
Reverted accidental change to stat.c.
2008-10-02 14:11:12 +00:00
Philip Homburg
005bc7a649
Some changes that were missing from the previous commit
2008-10-02 13:48:05 +00:00
Philip Homburg
5b5b54c76c
Minix 3 version
2008-10-02 13:45:46 +00:00
Philip Homburg
659ab96c1f
Unmodified source of the software fault injection utility
2008-10-02 13:43:32 +00:00
Ben Gras
d939a9c54b
Use $PAGER if set. Suggested by gigabo at gmail.com.
2008-04-08 12:34:35 +00:00
Philip Homburg
822fcd368d
Added O_REOPEN, better error handling.
2008-02-25 12:13:30 +00:00
Philip Homburg
41efa40ad2
Added XDOPEN.
2008-02-25 12:12:07 +00:00
Ben Gras
e39af6d1ff
yearly fsck increase.
2007-12-11 10:51:35 +00:00
Philip Homburg
c26de9f435
Close UDP socket after error.
2007-08-15 12:50:24 +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
2746a5a2a9
Reported by Erik van der Kouwe <vdkouwe at cs.vu.nl>:
...
- fprintf(stderr, "%s: reboot(): %s\n", strerror(errno));
+ fprintf(stderr, "%s: reboot(): %s\n", prog, strerror(errno));
Other minor fixes inspired by other warnings produced by gcc.
2007-07-02 11:16:27 +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
ac64c1b3dc
Take out obsolete message about 4GB.
2007-04-24 12:40:25 +00:00
Philip Homburg
b4f6994278
Use sprintf to avoid buffer overflows.
2007-04-23 13:04:31 +00:00
Ben Gras
ac41dcd35f
bc and mtools out of the base system (gpl)
2007-04-20 12:06:14 +00:00
Ben Gras
0a0f800805
Make mkfs message a bit clearer.
2007-04-19 14:13:27 +00:00
Ben Gras
3b614085c6
Don't limit partitions to 4GB.
2007-04-19 14:08:41 +00:00
Ben Gras
b015dae3e7
fix packman cd/net quirks
2007-04-13 17:13:53 +00:00
Ben Gras
a2b1a5134b
. leave out hardware-fp code from library
...
. minor packman usage tweaks
. kernel feature for printing version number
. removed some verbose debug messages from vfs/mfs
2007-04-12 16:45:00 +00:00
Ben Gras
d61a481169
put the zoneinfo library files directly in the lib/stdtime dir
2007-04-12 14:29:30 +00:00
Ben Gras
01c0669075
Bigger shell
2007-04-05 12:30:24 +00:00
Ben Gras
4928e42efb
fix packman sort col, and make sort case-insensitive
2007-04-02 16:23:55 +00:00
Ben Gras
321622a318
accept 'q' to exit.
2007-04-02 14:44:16 +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
c808aeb74e
fix off-by-one error in 'all'
2007-04-02 12:09:43 +00:00
Ben Gras
735d605330
remove debug line
2007-03-30 15:55:36 +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
f3f2e92191
move date(1) to minix manual page place.
2007-03-26 11:24:13 +00:00
Ben Gras
288ee57135
tz database is in /usr/share/zoneinfo.
2007-03-26 11:22:20 +00:00
Ben Gras
3b2c65e323
Import of original zoneinfo code and database - tzcode
...
old-tzcode-32-bit-output and tzdata2007d.
2007-03-26 10:55:16 +00:00
Ben Gras
70ab580d6b
Let user exit without pressing ^C
2007-03-21 09:54:09 +00:00
Ben Gras
4e63801916
a script to decode stack traces.
2007-03-21 09:33:39 +00:00
Ben Gras
5c4a1e5c95
Slightly more flexible packman.
2007-03-12 16:55:02 +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
1bf8a2e8bf
Changed logic checking for valid device.
2007-02-23 10:21:55 +00:00
Ben Gras
cb2f124830
mkfs needs more memory for the boot ramdisk.
2007-02-12 13:10:06 +00:00
Ben Gras
1d300550cf
Memory requirements a bit more now with mfs processes
2007-02-09 16:27:59 +00:00
Ben Gras
20a13246a8
include /usr/xbin bootstrap dir in $PATH
2007-02-08 16:48:34 +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
63a271200e
Make /dev/c1* device nodes on disk and on the boot ramdisk.
...
. include c1* nodes in std in MAKEDEV
. this requires a slightly larger shell
. this requires a larger blocksize on the boot ramdisk (to fit
/dev/ in direct blocks for mkfs with a proto file)
. also more inodes and kB's on the boot ramdisk
2007-02-08 13:51:35 +00:00
Ben Gras
fa59af2bc0
Also exclude /home
2007-02-01 17:10:03 +00:00
Ben Gras
047847e628
simpler /usr/bin/vi check
2007-02-01 17:09:49 +00:00
Ben Gras
5358dc42bf
Only install /usr/bin/vi as a hardlink to elvis if there's nothing already
...
there (so e.g. nvi isn't overwritten).
2007-01-31 13:00:39 +00:00
Ben Gras
e8edfe876d
. no .vimrc in standard user's dirs
...
. install a vi hardlink to elvis
2007-01-22 17:08:36 +00:00
Ben Gras
f9e4768eb4
No /usr/src.* shenanigans any more.
2007-01-22 15:47:40 +00:00
Ben Gras
82ae9b9c5c
Install sources in /usr/bigsrc, not /usr/src/commands.
2007-01-22 15:42:40 +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
f47aa04a30
. removed readclock command and cmos driver.
...
. replaced by a readclock 'driver' that runs once, a re-imported version
of the minix 2.0.4 readclock command.
. this has also restored cmos writing.
. readclock wrapper script calls service command to run /bin/readclock.drv
once.
2007-01-12 16:35:04 +00:00
Ben Gras
8b3ddfc19f
In some configurations of non-working networking, packman will hang a
...
very long time or forever retrieving the packages list. It's tricky to
test connectivity automatically, so ask every time. Reported by
Stanislav Kapustin <kapustin_stanislav@hotmail.com>.
2007-01-11 14:35:29 +00:00
Ben Gras
61b9193ced
Take arch+version specific packages List file.
2007-01-08 15:10:27 +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
07c4c00181
set $PATH so /usr/local/egrep isn't used; also exclude /var/log from package
2006-11-03 14:47:28 +00:00
Ben Gras
f6436dc1a0
old sed out, new sed in
2006-11-02 16:48:47 +00:00
Ben Gras
aa8206941c
New sed
2006-11-02 16:48:15 +00:00
Ben Gras
9ac537eb7c
Ignore .svn dir as well as CVS dir.
2006-10-30 16:11:57 +00:00
Ben Gras
7195fe3325
System statistical and call profiling
...
support by Rogier Meurs <rogier@meurs.org>.
2006-10-30 15:53:38 +00:00
Ben Gras
fa0ba56bc9
Merge of VFS by Balasz Gerofi with Minix trunk.
2006-10-25 13:40:36 +00:00
Ben Gras
4933f34715
Don't do make clean if flex Makefile doesn't exist.
2006-10-24 14:20:59 +00:00
Ben Gras
1f3560229d
Fix for clean target.
2006-10-06 15:44:41 +00:00
Ben Gras
b5a6e7bbb0
make clean in ibm subdir too
2006-10-05 09:56:17 +00:00
Ben Gras
810de3b474
Leftover junk
2006-10-05 09:55:29 +00:00
Ben Gras
3b295eb002
Don't include this in the distribution.
2006-10-05 09:53:42 +00:00
Ben Gras
1d4be8052f
Don't install progressbar suid.
2006-09-27 15:40:10 +00:00
Philip Homburg
d68627f3a8
No need for .depend files in CVS.
2006-08-28 14:32:24 +00:00
Ben Gras
8ecf9cb9b8
Undo configure script regeneration - not using --libdir
2006-08-18 16:16:06 +00:00
Ben Gras
32f8abc362
Installing in build file sidesteps problems installing as bin
2006-08-17 14:21:10 +00:00
Ben Gras
150a68c940
set $PATH to avoid (e.g.) /usr/local/bin/grep (gnu grep) being found
...
which has unexpected return codes compared to minix grep.
2006-08-17 14:03:06 +00:00
Ben Gras
cdfe90a6ca
Fixes to build and install flex as bin.
2006-08-17 09:53:26 +00:00
Ben Gras
bf195531b3
new command 'dumpcore' that can write core files of running processes.
2006-08-15 15:59:38 +00:00
Ben Gras
5a6052119f
Force yacc to be /usr/bin/yacc, in case someone has /usr/local/bin/yacc
...
(bison) before /usr/bin/yacc in $PATH
2006-08-15 15:59:04 +00:00
Ben Gras
87f95d7c02
No separate beta dir
2006-08-15 15:57:13 +00:00
Ben Gras
a178a15950
Make packman minix-version-aware
2006-08-15 15:56:42 +00:00
Ben Gras
030d4a7e2c
add xxl to usage
...
don't touch non-compiler binaries
2006-08-15 15:56:09 +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
4d7f2af576
big for big commands
2006-07-27 16:05:17 +00:00
Ben Gras
a284f55473
Bigger bigsh for gcc and binutils
2006-07-27 08:51:08 +00:00
Ben Gras
36e9a43109
Force minix install
2006-07-26 14:26:26 +00:00
Ben Gras
4a6cd8f878
Make ps suid root instead of sguid kmem. This makes getsysinfo
...
work for it.
2006-07-26 11:34:26 +00:00
Ben Gras
7573c41657
flex build fix - can't build and install separately with two different
...
compilers.
2006-07-25 09:39:13 +00:00
Ben Gras
e6076e2c95
Don't give an error message for usage.
2006-07-24 13:27:17 +00:00
Ben Gras
75267305f1
distclean first, then install
2006-07-21 14:56:23 +00:00
Ben Gras
deca72b814
Only install.
2006-07-21 14:55:33 +00:00
Ben Gras
f7c36e31e5
More stack for env to build g++.
2006-07-21 12:51:56 +00:00
Ben Gras
2bb759206f
Build gcc library of libfl.
2006-07-18 14:52:53 +00:00
Ben Gras
4033ccc08d
'zmodem' is 'big'. remove unused bits from autopart. This unbreaks
...
the commands build.
2006-07-17 17:05:54 +00:00
Philip Homburg
371ac29c9f
Clear NONBLOCK flag after probing ethernet device.
2006-07-14 13:35:21 +00:00
Philip Homburg
8f19ca2039
More stack for in.rshd.
2006-07-14 11:22:37 +00:00