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
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
2d79ae7831
When installing in a free partition larger than the maximum, don't align
...
on cylinder boundary.
2006-07-13 12:43:47 +00:00
Ben Gras
b52a516521
Joren's proposed fix for a too-conservative split point selection.
...
(Making building packages with long filenames difficult.)
2006-07-10 15:05:33 +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
961a173573
Fix to let elle understand window size.
2006-06-26 15:15:40 +00:00
Ben Gras
48a6203ae7
A backup of the readclock command that shouldn't have been imported into cvs.
2006-06-26 08:58:11 +00:00
Ben Gras
777dbbe3f7
Everyone's endpoint number
2006-06-23 12:16:22 +00:00
Ben Gras
3ffa1684ae
New option -E for ps that prints endpoint numbers instead of pids.
2006-06-23 11:59:20 +00:00
Philip Homburg
08bb0f7708
No longer build Michael Temari's httpd. Install a httpd from ports.
2006-06-22 11:53:03 +00:00
Philip Homburg
20a9ca246d
Added __minix3 to make it easier to figure out that we are compiling on/for
...
Minix 3.
2006-06-22 11:44:17 +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
296a0fb33d
/CD check unnecessary
2006-06-20 08:46:09 +00:00
Ben Gras
6ef5aa4fb2
. flex back into the base system
...
. imports of Michael Temari's httpd and ftp
2006-06-19 14:58:20 +00:00
Ben Gras
aa5efff203
Initial revision
2006-06-19 14:55:09 +00:00
Philip Homburg
3edf4c2854
Prototype for readline.
2006-06-14 13:19:48 +00:00
Philip Homburg
474d137c39
Forgot include some Minix 3 specific changes.
2006-06-07 15:03:42 +00:00
Philip Homburg
eaf9e4cff8
Make sure that line editing is disabled when the shell is not connected to a
...
tty.
2006-05-29 13:20:28 +00:00
Philip Homburg
43d9263589
Parsing of '-OT' and '-OS' failed in acd.descr.
2006-05-29 12:29:25 +00:00
Philip Homburg
5f19e53afb
Install /usr/lib/descr from the source tree.
2006-05-29 12:25:44 +00:00
Philip Homburg
7aa4c9ec2f
New version of ash. From FreeBSD 5.4 via Minix-vmd.
2006-05-23 12:59:34 +00:00
Philip Homburg
5a3d6ac67f
Balance curly braces.
2006-05-10 15:39:52 +00:00
Ben Gras
b1e5779b1c
*** empty log message ***
2006-04-13 18:12:33 +00:00
Ben Gras
3aedf32a8a
*** empty log message ***
2006-04-13 18:07:42 +00:00
Ben Gras
0f7b997dd5
remove issue
2006-04-13 17:48:21 +00:00
Ben Gras
f36a9ad718
Tweak
2006-04-13 17:15:58 +00:00
Ben Gras
613e25760d
Fixes for image.
2006-04-13 17:15:40 +00:00
Ben Gras
0e100664d0
Install dinks
2006-04-13 15:09:39 +00:00
Ben Gras
d061f4c3b2
sigh
2006-04-13 14:18:23 +00:00
Ben Gras
57245468ca
Sum wrong way round
2006-04-13 13:49:08 +00:00
Ben Gras
d8af4488d9
2nd is sum.
2006-04-13 01:59:43 +00:00
Ben Gras
e377457daa
Install ls in /bin too
2006-04-12 21:51:01 +00:00
Ben Gras
e87dff0619
Install elvis as elvis, not vi
2006-04-12 20:22:42 +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
103f18cb1f
(1) remove ftpd in favour of ftpd200
...
(2) add /etc/rc.daemons.dist, can be copied to /etc/rc.daemons
if user wants the standard daemons to run, which are no longer run
by default
2006-04-11 11:55:45 +00:00
Ben Gras
f8b66e3d79
Kill everyone even in tinyhalt. This causes tty to important clean up.
2006-04-10 00:29:34 +00:00
Ben Gras
9f3cc391a2
Little bug in tinyhalt causing it not to recognize when called as reboot.
2006-04-09 23:24:37 +00:00
Ben Gras
dcfdbcae74
install elvis as /bin/vi and /usr/bin/vi
2006-04-05 12:01:48 +00:00
Ben Gras
9ee6aa8b7b
Kludge for 1586 processor id.
2006-04-05 11:56:05 +00:00
Ben Gras
321b886f70
Call elvis vi.
2006-04-05 10:32:58 +00:00
Ben Gras
ddfc600485
Put elvis temporary files in /tmp, so it works from cd.
2006-04-05 09:28:52 +00:00
Ben Gras
0787908d1b
Only update manpages if dir exists
2006-04-04 16:15:00 +00:00
Ben Gras
b24c08c254
Formatting fixes for 100% usage
2006-04-04 14:59:51 +00:00
Ben Gras
b38a20904c
use smallbunzip only when we can't start bunzip
2006-04-04 14:52:22 +00:00
Ben Gras
7cfb7d912f
Fix
2006-04-04 14:22:40 +00:00
Ben Gras
753e119f18
Make syslogd work, even if it can only open klog and not udp or vice versa
...
(but not neither)
2006-04-04 14:18:16 +00:00
Ben Gras
f219efb41e
Fix /var/log
2006-04-04 13:50:05 +00:00
Ben Gras
b9e31bead6
Include .minixpackage info file
2006-04-04 12:57:48 +00:00
Ben Gras
6367fcdf51
Include syslogd
2006-04-04 12:55:20 +00:00
Ben Gras
98ae81cc92
Clean this up
2006-04-04 12:52:22 +00:00
Ben Gras
d5320164cf
Redundancy in std
2006-04-03 18:46:59 +00:00
Ben Gras
87dbe50e8c
setenv() compiler fixes
2006-04-03 18:31:27 +00:00
Ben Gras
f0ebf5e4c3
We have setenv() now.
2006-04-03 18:26:43 +00:00