Commit graph

1273 commits

Author SHA1 Message Date
Ben Gras
c1bfcc9119 port of netbsd's tr 2010-04-08 15:08:31 +00:00
Ben Gras
1164052eea netbsd's original tr/extern.h as tr.h 2010-04-08 15:06:43 +00:00
Ben Gras
836a0957fb original netbsd's tr(1) 2010-04-08 15:04:57 +00:00
Ben Gras
c28e35bd3e no minix tr 2010-04-08 15:04:05 +00:00
Kees van Reeuwijk
94a81c840a Removed unused variables, added const where possible. 2010-04-07 11:25:51 +00:00
Kees van Reeuwijk
98493805fd Lots of const correctness. 2010-03-27 14:31:00 +00:00
Tomas Hruby
a6957b7847 Fixed prototype in cat 2010-03-23 13:36:16 +00:00
Arun Thomas
436d6012a3 Convert drivers/ and servers/ over to bsdmake
-Move libdriver to lib/
-Install all boot image services on filesystem to aid restartability
2010-03-22 21:25:22 +00:00
Kees van Reeuwijk
c33102ea6b Miscellaneous code cleanup. 2010-03-22 20:43:06 +00:00
Erik van der Kouwe
b42c66ed10 this patch adds access to the debug breakpoints to
the kernel. They are not used atm, but having them in trunk allows them
to be easily used when needed. To set a breakpoint that triggers when
the variable foo is written to (the most common use case), one calls:

breakpoint_set(vir2phys((vir_bytes) &foo), 0,
  BREAKPOINT_FLAG_MODE_GLOBAL |
  BREAKPOINT_FLAG_RW_WRITE |
  BREAKPOINT_FLAG_LEN_4);

It can later be disabled using:

breakpoint_set(vir2phys((vir_bytes) &foo), 0,
  BREAKPOINT_FLAG_MODE_OFF);

There are some limitations:

- There are at most four breakpoints (hardware limit); the index of the
  breakpoint (0-3) is specified as the second parameter of
  breakpoint_set.

- The breakpoint exception in the kernel is not handled and causes a
  panic; it would be reasonably easy to change this by inspecing DR6,
  printing a message, disabling the breakpoint and continuing. However,
  in my experience even just a panic can be very useful.

- Breakpoints can be set only in the part of the address space that is
  in every page table. It is useful for the kernel, but to use this for
  user processes would require saving and restoring the debug registers
  as part of the context switch. Although the CPU provides support for
  local breakpoints (I implemened this as BREAKPOINT_FLAG_LOCAL) they
  only work if task switching is used.
2010-03-19 19:15:20 +00:00
Ben Gras
e595328986 remove 3 awk files - don't have generated files in svn. 2010-03-18 14:15:48 +00:00
Kees van Reeuwijk
4683d6b713 Let awk.old install its awk as /usr/bin/awk.old.
Add one-true-awk as the new awk that installs to /usr/bin/awk.
2010-03-17 16:16:52 +00:00
Kees van Reeuwijk
365495b530 Moved current awk sources to awk.old. 2010-03-17 16:11:48 +00:00
Cristiano Giuffrida
cb176df60f New RS and new signal handling for system processes.
UPDATING INFO:
20100317:
        /usr/src/etc/system.conf updated to ignore default kernel calls: copy
        it (or merge it) to /etc/system.conf.
        The hello driver (/dev/hello) added to the distribution:
        # cd /usr/src/commands/scripts && make clean install
        # cd /dev && MAKEDEV hello

KERNEL CHANGES:
- Generic signal handling support. The kernel no longer assumes PM as a signal
manager for every process. The signal manager of a given process can now be
specified in its privilege slot. When a signal has to be delivered, the kernel
performs the lookup and forwards the signal to the appropriate signal manager.
PM is the default signal manager for user processes, RS is the default signal
manager for system processes. To enable ptrace()ing for system processes, it
is sufficient to change the default signal manager to PM. This will temporarily
disable crash recovery, though.
- sys_exit() is now split into sys_exit() (i.e. exit() for system processes,
which generates a self-termination signal), and sys_clear() (i.e. used by PM
to ask the kernel to clear a process slot when a process exits).
- Added a new kernel call (i.e. sys_update()) to swap two process slots and
implement live update.

PM CHANGES:
- Posix signal handling is no longer allowed for system processes. System
signals are split into two fixed categories: termination and non-termination
signals. When a non-termination signaled is processed, PM transforms the signal
into an IPC message and delivers the message to the system process. When a
termination signal is processed, PM terminates the process.
- PM no longer assumes itself as the signal manager for system processes. It now
makes sure that every system signal goes through the kernel before being
actually processes. The kernel will then dispatch the signal to the appropriate
signal manager which may or may not be PM.

SYSLIB CHANGES:
- Simplified SEF init and LU callbacks.
- Added additional predefined SEF callbacks to debug crash recovery and
live update.
- Fixed a temporary ack in the SEF init protocol. SEF init reply is now
completely synchronous.
- Added SEF signal event type to provide a uniform interface for system
processes to deal with signals. A sef_cb_signal_handler() callback is
available for system processes to handle every received signal. A
sef_cb_signal_manager() callback is used by signal managers to process
system signals on behalf of the kernel.
- Fixed a few bugs with memory mapping and DS.

VM CHANGES:
- Page faults and memory requests coming from the kernel are now implemented
using signals.
- Added a new VM call to swap two process slots and implement live update.
- The call is used by RS at update time and in turn invokes the kernel call
sys_update().

RS CHANGES:
- RS has been reworked with a better functional decomposition.
- Better kernel call masks. com.h now defines the set of very basic kernel calls
every system service is allowed to use. This makes system.conf simpler and
easier to maintain. In addition, this guarantees a higher level of isolation
for system libraries that use one or more kernel calls internally (e.g. printf).
- RS is the default signal manager for system processes. By default, RS
intercepts every signal delivered to every system process. This makes crash
recovery possible before bringing PM and friends in the loop.
- RS now supports fast rollback when something goes wrong while initializing
the new version during a live update.
- Live update is now implemented by keeping the two versions side-by-side and
swapping the process slots when the old version is ready to update.
- Crash recovery is now implemented by keeping the two versions side-by-side
and cleaning up the old version only when the recovery process is complete.

DS CHANGES:
- Fixed a bug when the process doing ds_publish() or ds_delete() is not known
by DS.
- Fixed the completely broken support for strings. String publishing is now
implemented in the system library and simply wraps publishing of memory ranges.
Ideally, we should adopt a similar approach for other data types as well.
- Test suite fixed.

DRIVER CHANGES:
- The hello driver has been added to the Minix distribution to demonstrate basic
live update and crash recovery functionalities.
- Other drivers have been adapted to conform the new SEF interface.
2010-03-17 01:15:29 +00:00
Kees van Reeuwijk
3efbb8f133 Let the commands/simple/tr.c understand about '\t', '\r', and '\n'. 2010-03-12 09:58:44 +00:00
Kees van Reeuwijk
cf95efbad1 Prevent the use of an unitialized variable for block size in CRC calculation. 2010-03-09 16:21:41 +00:00
Arun Thomas
4206784d82 Flex: Fix install(1) invocation in build 2010-03-09 09:43:53 +00:00
Arun Thomas
1f9ce647cf Move archtypes.h, fpu.h, and stackframe.h
Move archtypes.h to include/ dir, since several servers require it. Move
fpu.h and stackframe.h to arch-specific header directory. Make source
files and makefiles aware of the new header locations.
2010-03-09 09:41:14 +00:00
Arun Thomas
2a8fabf4ad Include directory reorg and makefile updates.
-Convert the include directory over to using bsdmake
 syntax
-Update/add mkfiles
-Modify install(1) so that it can create symlinks
-Update makefiles to use new install(1) options
-Rename /usr/include/ibm to /usr/include/i386
-Create /usr/include/machine symlink to arch header files
-Move vm_i386.h to its new home in the /usr/include/i386
-Update source files to #include the header files at their
 new homes.
-Add new gnu-includes target for building GCC headers
2010-03-08 11:04:59 +00:00
Ben Gras
72fc754948 new feature for top - display chain of blocked processes for every
blocked process.
2010-03-03 15:45:43 +00:00
Arun Thomas
cbd276e4ce Convert library asm files to GAS syntax 2010-03-03 14:27:30 +00:00
Arun Thomas
4cb358d999 Replace Minix tar with pax's tar 2010-02-24 11:58:10 +00:00
Ben Gras
c460974814 remove subdirs that aren't built.
ftp is superseded by other dirs, i86 is not used, httpd* is superseded
by packages, sed is superseded by simple/sed.c.
2010-02-19 16:31:43 +00:00
Ben Gras
8c88a0219b add swifi to the build/install. 2010-02-19 16:16:28 +00:00
Ben Gras
d3b3c9d36d fix some warning in swifi, make it installable 2010-02-19 16:15:25 +00:00
Kees van Reeuwijk
1ba0936619 Fix some uses of uninitialized variables. 2010-02-19 10:41:02 +00:00
Erik van der Kouwe
5af2471a9a Throw out obsolete Atari, Macintosh and Sun code to un-break packages;
credits to Sernin van de Krol's zip-2.31 patch for showing this problem
2010-02-16 19:19:42 +00:00
Arun Thomas
b706112487 Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
Tomas Hruby
b5e7af96c9 top update
- it works with the new TSC based time accounting
2010-02-10 15:38:27 +00:00
Tomas Hruby
c5001b0a5f gas2ack fix
- fixed handling of segment overrides for instruction that may use two
  of them in the long format, e.g. movs
2010-02-05 13:53:10 +00:00
Arun Thomas
4b02d003db Import NetBSD's make 2010-02-04 16:52:54 +00:00
Ben Gras
d6598cc7cd fix for asmconv - stop translating after .sect .end. 2010-02-03 16:03:00 +00:00
Ben Gras
0985235ba0 forget difference between big and small commands - obsolete with vm. 2010-02-03 14:16:51 +00:00
Erik van der Kouwe
7c9fe576a8 Throw out getpack, replace printenv with a link to env 2010-02-03 13:51:26 +00:00
Ben Gras
3bcfb76e45 small asmconv cleanups.
- put asmconv in /usr/bin so it can be invoked without absolute path
 - make it ignore .end in gnu output mode so that it can be invoked
   without '|| true' in the gnu lib makefiles and it doesn't produce the
   messy error message
2010-02-03 13:29:14 +00:00
David van Moolenbroek
c7f1b547cb Statistical profiling fixes:
- PM: get rid of umap warning
- sprofalyze.pl: update with recently added servers and drivers
- sprofalyze.pl: properly truncate process names for sample matching
2010-02-03 12:27:52 +00:00
Erik van der Kouwe
c107dbe1d0 Man-pages on mkdep, cdprobe, loadramdisk and newroot; thanks to Antoine Leca 2010-02-02 15:10:00 +00:00
Ben Gras
a36a3766b0 ignore .svn dirs when making binary packages 2010-01-27 16:20:28 +00:00
Erik van der Kouwe
d8b8e10ba4 Add notrunc conversion for dd tool 2010-01-27 07:48:06 +00:00
Erik van der Kouwe
3e583f4c04 Add -p flag for install tool 2010-01-27 07:47:29 +00:00
Ben Gras
76f8132545 dec21140A ethernet driver for virtualpc, contributed by nicolas tittley. 2010-01-26 10:20:18 +00:00
Erik van der Kouwe
58024f9eb0 Add character classes for tr 2010-01-25 18:14:54 +00:00
Ben Gras
515d6ebc9a correct opcode of FNSTSW (hopefully fixes minix under virtualpc) 2010-01-25 16:25:20 +00:00
Erik van der Kouwe
0bc2aad4af Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Erik van der Kouwe
a5a2073680 create the getaddrinfo and getnameinfo library functions and friends 2010-01-21 06:38:17 +00:00
Ben Gras
daca9de450 Fix to make making a bootable cd possible again.
ow that the image has grown beyond the 1.44M that fits on a floppy.
(previously, the floppy emulation mode was used for cd's.)

the boot cd now uses 'no emulation mode,' where an image is provided on
the cd that is loaded and executed directly. this is the boot monitor.

in order to make this work (the entry point is the same as where the
image is loaded, and the boot monitor needs its a.out header too) and
keep compatability with the same code being used for regular booting, i
prepended 16 bytes that jumps over its header so execution can start
there.

to be able to read the CD (mostly in order to read the boot image),
boot has to use the already present 'extended read' call, but address
the CD using 2k sectors.
2010-01-18 14:10:04 +00:00
Thomas Veerman
cc86693102 - Make packman unmount the packages cd if it was mounted.
- Manpages for packman and packit.
2010-01-13 15:52:55 +00:00
David van Moolenbroek
b31119abf5 Mount updates:
- allow mounting with "none" block device
- allow unmounting by mountpoint
- make VFS aware of file system process labels
- allow m3_ca1 to use the full available message size
- use *printf in u/mount(1), as mount(2) uses it already
- fix reference leaks for some mount error cases in VFS
2010-01-12 23:08:50 +00:00
Erik van der Kouwe
49ec221a92 Fix netconf alignment now that there is a number 10"
Note: should fix again when we reach 100 :)
2010-01-06 08:20:12 +00:00
Erik van der Kouwe
c554a39725 Move man-pages for zoneinfo, replace with links 2010-01-06 08:00:39 +00:00
Erik van der Kouwe
f9aac2c06b Move man-pages for bzip2, replace with links. 2010-01-06 07:45:45 +00:00
David van Moolenbroek
ac9ab099c8 General cleanup:
- clean up kernel section of minix/com.h somewhat
- remove ALLOCMEM and VM_ALLOCMEM calls
- remove non-safecopy and minix-vmd support from Inet
- remove SYS_VIRVCOPY and SYS_PHYSVCOPY calls
- remove obsolete segment encoding in SYS_SAFECOPY*
- remove DEVCTL call, svrctl(FSDEVUNMAP), map_driverX
- remove declarations of unimplemented svrctl requests
- remove everything related to swapping to disk
- remove floppysetup.sh
- remove traces of rescue device
- update DESCRIBE.sh with new devices
- some other small changes
2010-01-05 19:39:27 +00:00
David van Moolenbroek
1489f14b37 Driver for Attansic L2 FastEthernet (atl2) 2009-12-30 22:42:44 +00:00
David van Moolenbroek
d3fc0eca1d mdb(1) fixes:
- allow core file offsets with high bit set
- repair and enable gcc-compiled binary support
- fix bug leading to random command execution
- remove obsolete ptrace.2 manpage
2009-12-29 21:38:26 +00:00
David van Moolenbroek
0bafee3d78 unbreak, deprivilege dumpcore(1) 2009-12-29 21:34:06 +00:00
Erik van der Kouwe
6dc5d42798 Floating point support functions 2009-12-24 20:22:41 +00:00
David van Moolenbroek
692dc020e1 Correct ping(1) usage string (Bug#372, reported by Leith Brandeland 2009-12-23 23:42:07 +00:00
David van Moolenbroek
d5dee93bee Support for larger disks.
- MFS, df(1), fsck(1), badblocks(8), de(1x) now compute the
  superblock's s_firstdatazone value if the on-disk value is zero
- mkfs(1) sets s_firstdatazone in the superblock to zero if the
  on-disk field is too small to store the actual value
- more agressive mkfs(1) inode number heuristic, copied from r5261
2009-12-21 11:20:30 +00:00
Thomas Veerman
958b25be50 - Introduce support for sticky bit.
- Revise VFS-FS protocol and update VFS/MFS/ISOFS accordingly.
- Clean up MFS by removing old, dead code (backwards compatibility is broken by
  the new VFS-FS protocol, anyway) and rewrite other parts. Also, make sure all
  functions have proper banners and prototypes.
- VFS should always provide a (syntactically) valid path to the FS; no need for
  the FS to do sanity checks when leaving/entering mount points.
- Fix several bugs in MFS:
  - Several path lookup bugs in MFS.
  - A link can be too big for the path buffer.
  - A mountpoint can become inaccessible when the creation of a new inode
    fails, because the inode already exists and is a mountpoint.
- Introduce support for supplemental groups.
- Add test 46 to test supplemental group functionality (and removed obsolete
  suppl. tests from test 2).
- Clean up VFS (not everything is done yet).
- ISOFS now opens device read-only. This makes the -r flag in the mount command
  unnecessary (but will still report to be mounted read-write).
- Introduce PipeFS. PipeFS is a new FS that handles all anonymous and
  named pipes. However, named pipes still reside on the (M)FS, as they are part
  of the file system on disk. To make this work VFS now has a concept of
  'mapped' inodes, which causes read, write, truncate and stat requests to be
  redirected to the mapped FS, and all other requests to the original FS.
2009-12-20 20:27:14 +00:00
Cristiano Giuffrida
e090013056 Drivers and servers are simply known as services.
/etc CHANGES:
- /etc/drivers.conf has been renamed to /etc/system.conf. Every entry in 
the file is now marked as "service" rather than driver.
- user "service" has been added to password file /etc/passwd.
- docs/UPDATING updated accordingly, as well as every other mention to the old
drivers.conf in the system.

RS CHANGES:
- No more distinction between servers and drivers.
- RS_START has been renamed to RS_UP and the old legacy RS_UP and RS_UP_COPY
dropped.
- RS asks PCI to set / remove ACL entries only for services whose ACL properties
have been set. This change eliminates unnecessary warnings.
- Temporarily minimize the risk of potential races at boot time or when starting
a new service. Upcoming changes will eliminate races completely.
- General cleanup.
2009-12-17 01:53:26 +00:00
David van Moolenbroek
d1918e2e9f fix remaining warnings in 'make world' 2009-12-14 20:25:52 +00:00
David van Moolenbroek
14367afaf7 awk: check presence of parameters 2009-12-14 20:24:33 +00:00
Cristiano Giuffrida
f4574783dc Rewrite of boot process
KERNEL CHANGES:
- The kernel only knows about privileges of kernel tasks and the root system
process (now RS).
- Kernel tasks and the root system process are the only processes that are made
schedulable by the kernel at startup. All the other processes in the boot image
don't get their privileges set at startup and are inhibited from running by the
RTS_NO_PRIV flag.
- Removed the assumption on the ordering of processes in the boot image table.
System processes can now appear in any order in the boot image table.
- Privilege ids can now be assigned both statically or dynamically. The kernel
assigns static privilege ids to kernel tasks and the root system process. Each
id is directly derived from the process number.
- User processes now all share the static privilege id of the root user
process (now INIT).
- sys_privctl split: we have more calls now to let RS set privileges for system
processes. SYS_PRIV_ALLOW / SYS_PRIV_DISALLOW are only used to flip the
RTS_NO_PRIV flag and allow / disallow a process from running. SYS_PRIV_SET_SYS /
SYS_PRIV_SET_USER are used to set privileges for a system / user process.
- boot image table flags split: PROC_FULLVM is the only flag that has been
moved out of the privilege flags and is still maintained in the boot image
table. All the other privilege flags are out of the kernel now.

RS CHANGES:
- RS is the only user-space process who gets to run right after in-kernel
startup.
- RS uses the boot image table from the kernel and three additional boot image
info table (priv table, sys table, dev table) to complete the initialization
of the system.
- RS checks that the entries in the priv table match the entries in the boot
image table to make sure that every process in the boot image gets schedulable.
- RS only uses static privilege ids to set privileges for system services in
the boot image.
- RS includes basic memory management support to allocate the boot image buffer
dynamically during initialization. The buffer shall contain the executable
image of all the system services we would like to restart after a crash.
- First step towards decoupling between resource provisioning and resource
requirements in RS: RS must know what resources it needs to restart a process
and what resources it has currently available. This is useful to tradeoff
reliability and resource consumption. When required resources are missing, the
process cannot be restarted. In that case, in the future, a system flag will
tell RS what to do. For example, if CORE_PROC is set, RS should trigger a
system-wide panic because the system can no longer function correctly without
a core system process.

PM CHANGES:
- The process tree built at initialization time is changed to have INIT as root
with pid 0, RS child of INIT and all the system services children of RS. This
is required to make RS in control of all the system services.
- PM no longer registers labels for system services in the boot image. This is
now part of RS's initialization process.
2009-12-11 00:08:19 +00:00
Ben Gras
26ba254a4a Intel Pro/1000 driver written by Niek Linnenbank. 2009-12-07 18:33:41 +00:00
Ben Gras
b9825f55e0 previous commit premature and not part of FPU changes. 2009-12-02 15:53:20 +00:00
Ben Gras
39484601e7 any blocksize. 2009-12-02 15:33:14 +00:00
Ben Gras
bd42705433 FPU context switching support by Evgeniy Ivanov. 2009-12-02 13:01:48 +00:00
David van Moolenbroek
be2087ecf9 Filter driver by Wu Bingzheng et al 2009-12-02 10:08:58 +00:00
David van Moolenbroek
6da61b8f05 fix _NSIG usage 2009-11-28 13:20:50 +00:00
Erik van der Kouwe
c85bd7edb9 Patch by Jaswinder Singh Rajput to fix FTP progress display 2009-11-17 08:41:43 +00:00
Tomas Hruby
6515c93ecf New instructions in gas2ack
pause
mfence
rdtsc
rdpmc
2009-11-16 21:32:48 +00:00
Tomas Hruby
21a5917f3e gas2ack does not understand .align
- as .align is target dependent we for usage of .balign for byte alignment
2009-11-13 09:29:37 +00:00
Tomas Hruby
d653cb457f gas2ack support for rdmsr and wrmsr 2009-11-12 16:19:01 +00:00
Tomas Hruby
37a7e1b76b Use of isemptyp() macro instead of testing RTS_SLOT_FREE flag
- some code used to test if only this flag is set, some if also this flag is
  set. This change unifies the test
2009-11-12 08:35:26 +00:00
Tomas Hruby
a972f4bacc All macros defining rts flags are prefixed with RTS_
- macros used with RTS_SET group of macros to define struct proc p_rts_flags are
  now prefixed with RTS_ to make things clear
2009-11-10 09:11:13 +00:00
Tomas Hruby
ae75f9d4e5 Removal of the executable flag from files that cannot be executed
- 755 -> 644
2009-11-09 10:26:00 +00:00
David van Moolenbroek
769bed22c8 ash: only execute regular files 2009-11-01 22:25:54 +00:00
Tomas Hruby
41d481b065 gas2ack
- an asmconv based tool for conversion from GNU ia32 assembly to ACK assembly
    
    - in contrast to asmconv it is a one way tool only
    
    - as the GNU assembly in Minix does not prefix global C symbols with _ gas2ack
      detects such symbols and prefixes them to be compliant with the ACK convention
    
    - gas2ack preserves comments and unexpanded macros
    
    - bunch of fixes to the asmconv GNU->ACK direction
    
    - support of more instructions that ACK does not know but are in use in Minix
    
    - it is meant as a temporary solution as long as ACK will be a supported
      compiler for the core system
2009-10-30 15:57:35 +00:00
David van Moolenbroek
bd30f2a988 Ground work for larger file systems, and miscellaneous fixes:
- MFS and mkfs(1) now perform extra sanity checks
- fsck(1) can now deal with inode tables extending beyond the file
  system's first 4GB
- badblocks(8) no longer writes out the superblock for no reason
- mkfs(1) no longer crashes when given no parameters
- more(1) no longer crashes when standard output is redirected
2009-10-26 13:35:39 +00:00
Erik van der Kouwe
44a4c8c0d2 Add more identifiers to drivers.conf for orinoco and rtl8137.
Increase RSS_NR_PCI_ID and remove dumplicate reference
to /etc/drivers.conf; each such reference uses _PATH_DRIVERS_CONF
from <minix/paths.h> now.
2009-10-14 07:20:13 +00:00
David van Moolenbroek
0143cb2335 support for head -n (suggested by xorquewasp) 2009-10-10 22:36:46 +00:00
Erik van der Kouwe
fc2634d1ed Network card autodetection in netconf.sh 2009-10-10 15:54:05 +00:00
Erik van der Kouwe
cb6dbfca2c Add lspci command and SI_PCI_INFO getsysinfo call 2009-10-09 10:48:46 +00:00
Erik van der Kouwe
d9a34f96e7 Add nohup tool (approved by Ben) 2009-10-06 14:16:35 +00:00
Ben Gras
e716fae585 packman -y: noninteractive mode to install all packages 2009-10-03 09:57:37 +00:00
David van Moolenbroek
e7dea9c609 Add id(1) -g, -n, -r options (Bug#302, reported by Aleksey Cheusov) 2009-10-02 12:23:00 +00:00
Ben Gras
57be617a8d revert to 16MB to fix reinstall for now. 2009-10-02 09:48:15 +00:00
David van Moolenbroek
bc029d0bc6 Remove treecmp utility (Bug#310, reported by John Peace) 2009-10-01 16:58:13 +00:00
David van Moolenbroek
2ac8124914 Fix writeisofs lseek() usage (Bug#311, reported by John Peace 2009-10-01 16:56:46 +00:00
David van Moolenbroek
0c1ae1965e Fix syslog buffer overflow (Bug#270, reported by Kevin Jordan) 2009-10-01 16:54:56 +00:00
Ben Gras
cb50e7e135 support for OSS. 2009-10-01 16:36:14 +00:00
Ben Gras
cee82da892 implement VAR += .. feature, contributed by Pieter Hijma 2009-10-01 11:29:08 +00:00
David van Moolenbroek
a8ebc69c6e Fix erroneous times() call in udpstat/tcpstat.
Reported by John Peace, bug #312.
Also fix times(2) man page.
2009-10-01 10:31:29 +00:00
Arun Thomas
8f4ca2dc92 Increase root partition size to 64 MB. 2009-09-30 14:11:58 +00:00
Thomas Veerman
4b02d58176 Removed debug string 2009-09-29 13:23:04 +00:00
Ben Gras
699e4345ea revert mkfs change; might run out of inodes, but large number of inodes
makes mkfs not want to mkfs large filesystems.

find optimal formula (e.g. dynamic capping of no. of inodes) later.
2009-09-29 12:14:35 +00:00
Tomas Hruby
ab6fc64984 ps fix
It removes the no more existing marcos (XPIPE XPOPEN XDOPEN XLOCK XSELECT) and
replaces them with the new ones from servers/vfs/const.h No more dependency on
NR_TASKS macro.
2009-09-24 16:00:59 +00:00
Erik van der Kouwe
789c8a6ee4 Fixed compilation errors in ps.c and rs/manager.c. The former was fixed by disabling code using no-longer-existant flags and the latter by removing the spurious parameter i from sys_privctl 2009-09-23 08:46:17 +00:00
Ben Gras
36e935fe0f - added 'datasizes' script that shows you the size allocated
for each symbol, usually answering those "why is does my binary have
   such a lot of BSS" questions.
 - stop binpackage looking in /var/spool for package files.
 - let makewhatis recognize .Sh as heading name
 - setup, fsck, df: allow >4kB block sizes painlessly
 - mkfs: new #-of-inodes heuristic that depends on kb, not
   on blocks; i've run out of inodes on my /usr
 - asmconv: don't silently truncate .aligns to 16 bytes
 - ipc* commands for shared memory support
2009-09-21 14:24:29 +00:00
Thomas Veerman
360dc9104c - Added netconf script which makes it a lot easier to change network settings.
- Modified the setup script to use the netconf script for the network
   configuration:
    - Moved step 2 to step 8 and renamed the steps in between.
    - Autopart adapted to print step 3 instead of step 4.
2009-09-03 09:38:27 +00:00
David van Moolenbroek
a57fbb11cd Fix time(1) for custom system HZ values (reported by Jose Luis Sanchez 2009-08-30 16:06:59 +00:00
David van Moolenbroek
d84472dfc8 urlget: broken ftpget call, reported by Charles Littlefield 2009-08-23 13:53:03 +00:00
Thomas Veerman
b47483433c Added a hack to start binaries from the boot image only. In particular, setting
bin_img=1 in the boot monitor will make sure that during the boot procedure the
mfs binary that is part of the boot image is the only binary that is used to
mount partitions. This is useful when for some reason the mfs binary on disk 
malfunctions, rendering Minix unable to boot. By setting bin_img=1, the binary
on disk is ignored and the binary in the boot image is used instead.

- 'service' now accepts an additional flag -r. -r implies -c. -r instructs RS
  to first look in memory if the binary has already been copied to memory and
  execute that version, instead of loading the binary from disk. For example,
  the first time a MFS is being started it is copied (-c) to memory and
  executed from there. The second time MFS is being started this way, RS will
  look in memory for a previously copied MFS binary and reuse it if it exists.
- The mount and newroot commands now accept an additional flag -i, which
  instructs them to set the MS_REUSE flag in the mount flags.
- The mount system call now supports the MS_REUSE flag and invokes 'service'
  with the -r flag when MS_REUSE is set.
- /etc/rc and the rc script that's included in the boot image check for the
  existence of the bin_img flag in the boot monitor, and invoke mount and 
  newroot with the -i flag accordingly.
2009-08-18 11:36:01 +00:00
Erik van der Kouwe
fdf47c1046 Fixed some warnings 2009-08-17 18:49:07 +00:00
David van Moolenbroek
323f0abdd6 Support for setitimer(ITIMER_VIRTUAL/ITIMER_PROF). New test (41) for setitimer. 2009-08-15 21:37:26 +00:00
David van Moolenbroek
4db12454e9 awk: support for whitespace between array name and bracket 2009-08-15 12:05:41 +00:00
David van Moolenbroek
708929bc32 awk: support for ENVIRON 2009-08-15 11:34:41 +00:00
Thomas Veerman
f50d94b793 Fixed compilation issue. 2009-08-13 09:02:43 +00:00
Thomas Veerman
c2ffe723d1 - Moved (u)mount prototypes from unistd.h to sys/mount.h.
- Prepared mount system call to accept multiple mount flags
   instead of just read_only (however, it remains backwards
   compatible).
 - Updated the man mount(2) to reflect new header file usage. 
 - Updated badblocks, newroot, mount, and umount commands to use the
   new header file.
2009-08-12 19:57:37 +00:00
David van Moolenbroek
1defc4fc3a compile and install mdb(1) by default again 2009-08-11 09:08:33 +00:00
David van Moolenbroek
cf89d27218 make unstack work on gcc-compiled binaries 2009-07-11 17:55:24 +00:00
David van Moolenbroek
b8b8f537bd IPC privileges fixes
Kernel:
o Remove s_ipc_sendrec, instead using s_ipc_to for all send primitives
o Centralize s_ipc_to bit manipulation,
  - disallowing assignment of bits pointing to unused priv structs;
  - preventing send-to-self by not setting bit for own priv struct;
  - preserving send mask matrix symmetry in all cases
o Add IPC send mask checks to SENDA, which were missing entirely somehow
o Slightly improve IPC stats accounting for SENDA
o Remove SYSTEM from user processes' send mask
o Half-fix the dependency between boot image order and process numbers,
  - correcting the table order of the boot processes;
  - documenting the order requirement needed for proper send masks;
  - warning at boot time if the order is violated

RS:
o Add support in /etc/drivers.conf for servers that talk to user processes,
  - disallowing IPC to user processes if no "ipc" field is present
  - adding a special "USER" label to explicitly allow IPC to user processes
o Always apply IPC masks when specified; remove -i flag from service(8)
o Use kernel send mask symmetry to delay adding IPC permissions for labels
  that do not exist yet, adding them to that label's process upon creation
o Add VM to ipc permissions list for rtl8139 and fxp in drivers.conf

Left to future fixes:
o Removal of the table order vs process numbers dependency altogether,
  possibly using per-process send list structures as used for SYSTEM calls
o Proper assignment of send masks to boot processes;
  some of the assigned (~0) masks are much wider than necessary
o Proper assignment of IPC send masks for many more servers in drivers.conf
o Removal of the debugging warning about the now legitimate case where RS's
  add_forward_ipc cannot find the IPC destination's label yet
2009-07-02 16:25:31 +00:00
David van Moolenbroek
951581a29c fix installation of home directories in setup.sh 2009-06-23 13:40:32 +00:00
Arun Thomas
dacc0644c8 Restore last(1) and uptime(1) building/installing. 2009-06-23 12:22:35 +00:00
David van Moolenbroek
d8b9bf642b make mdb(1) compile again 2009-06-17 14:59:22 +00:00
David van Moolenbroek
87beb9c469 better solution for poweroff(8) 2009-06-12 13:17:33 +00:00
David van Moolenbroek
12a01e8f01 poweroff(8) aesthetics 2009-06-12 13:13:29 +00:00
David van Moolenbroek
24bb7fbb4c added poweroff(8) 2009-06-12 13:02:51 +00:00
Ben Gras
8ee3d26722 don't include /usr/src changes in packages. 2009-05-19 10:55:15 +00:00
David van Moolenbroek
fe8c612aa4 support in 'mount' for specifying file system type and options 2009-05-13 15:39:44 +00:00
David van Moolenbroek
021808b12a fix for commands that try to include mfs constants from vfs 2009-05-08 20:37:06 +00:00
Ben Gras
02f047d008 lose -s flag for umount. 2009-04-27 14:23:57 +00:00
Ben Gras
4593eaec24 minor fixes to install script - allow 8kB blocksize (necessary for
large filesystems)
2009-04-27 12:59:49 +00:00
Ben Gras
cd2d85c13d no 'small minix' option 2009-03-26 15:54:09 +00:00
Ben Gras
f56316a168 don't need to explicitly enable lance any more. 2009-03-26 15:23:07 +00:00
Ben Gras
e5079dfc02 multiple ram disks; also make release process use this
so temporary partitions aren't needed any more.
2009-03-19 13:48:19 +00:00
Arun Thomas
5eb353ebbc Update setup's NIC selection dialog 2009-03-06 17:45:22 +00:00
Ben Gras
cd37a0299c Check for firstdatazone overflow. 2009-02-17 13:01:25 +00:00
Ben Gras
1f3dd53283 We don't install the bzip2 manual, much less four copies of it, and
it's quite big.
2009-02-16 10:01:22 +00:00
Ben Gras
eafd4730ea check for devices that would need more blocks than 32
bits allow..
2009-02-05 16:30:20 +00:00
Ben Gras
54b3f50b05 actually build and install zoneinfo. 2008-12-21 04:33:50 +00:00
Ben Gras
1943df25dd forget about bad block testing. 2008-12-21 04:26:41 +00:00
Ben Gras
523fdf2729 stopgap measure against elvis going nuts when files that are too large
are opened.
2008-12-21 04:01:01 +00:00
Ben Gras
8beff61807 get fproc table. don't print size as that doesn't say much in VM mode.
this restores ps.
2008-12-15 13:05:52 +00:00
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
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
Ben Gras
aaf30491f3 write_log() after killing everyone. This improves the quality of
the reboot-check, as otherwise logout records can get written after
our reboot record.
2006-04-03 14:50:07 +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
f3771bb74c Update X manpages too. 2006-04-03 13:06:22 +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
ea4038ac50 *** empty log message *** 2006-03-28 13:58:12 +00:00
Ben Gras
f32289c86f Never disable inet (for X) 2006-03-28 12:32:14 +00:00
Ben Gras
97f5d89780 Read .binpackage rc in package sources for configuration. 2006-03-28 11:28:43 +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
d4f8286997 minor changes 2006-03-27 11:08:04 +00:00
Ben Gras
5cecf2d6ee Shorter message to fit on one console line 2006-03-26 20:33:14 +00:00
Ben Gras
44737aa233 Clarify message 2006-03-26 19:59:06 +00:00
Ben Gras
60277631e4 Make urlget for package list interruptable with ^C 2006-03-26 19:56:05 +00:00
Ben Gras
05fc502374 Intr doesn't work here. 2006-03-26 19:33:48 +00:00
Ben Gras
9399633416 Take out the local test. 2006-03-26 19:31:40 +00:00
Ben Gras
227d2c886d Fixed network availability check 2006-03-26 19:30:33 +00:00
Ben Gras
094beb2f1e Fix compile warnings 2006-03-26 18:13:35 +00:00
Ben Gras
04ad142c76 package/release tweaks 2006-03-26 18:01:39 +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
f53b73f4ea *** empty log message *** 2006-03-26 16:46:37 +00:00
Ben Gras
807cd19e17 Package tweaks. 2006-03-26 15:51:34 +00:00
Ben Gras
bfb0e87265 Smarter packman that unifies cdrom and network packages. 2006-03-26 15:48:55 +00:00
Ben Gras
d9544b38d3 Install sources in /usr/src/commands 2006-03-25 00:00:23 +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
1ba2b198b4 Compiler warning 2006-03-24 14:04:16 +00:00
Ben Gras
65723cba53 Fix compiler warnings for pax 2006-03-24 14:03:25 +00:00
Ben Gras
e1f91e1855 Fix compiler warnings 2006-03-24 13:55:04 +00:00
Ben Gras
21aae71cbe Bigger bigsh 2006-03-23 20:31:40 +00:00
Ben Gras
95ac103f34 Fix 2006-03-22 19:47:05 +00:00
Ben Gras
12e3d40eb4 *** empty log message *** 2006-03-22 19:39:26 +00:00
Ben Gras
986bd522b5 Sources are easypack packages, so get them from /software/, where easypack
packages are stored on the website.
2006-03-22 17:06:53 +00:00
Ben Gras
f28a4d0e9c .bz -> .bz2 2006-03-22 16:44: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
9b7acd5257 Easypack and binpackage try build.minix first, in case a package includes
build itself.
2006-03-22 15:08:36 +00:00
Ben Gras
12ac96cf51 Fail if chmem fails 2006-03-22 15:08:14 +00:00
Ben Gras
844caeaacb Make lots of pty's (for telnet, ssh, xterms, etc) 2006-03-20 17:13:02 +00:00
Ben Gras
12f37ed99e Rename packme to packman. 2006-03-19 21:36:20 +00:00
Ben Gras
c2765f9fa6 *** empty log message *** 2006-03-18 01:10:17 +00:00
Ben Gras
e7fdb58915 *** empty log message *** 2006-03-18 00:35:33 +00:00
Ben Gras
42103a43c2 *** empty log message *** 2006-03-17 20:50:27 +00:00
Ben Gras
05915b5c5f Install setup in /bin 2006-03-17 20:22:39 +00:00
Ben Gras
7fc4f837bb usertime 2006-03-17 20:04:55 +00:00
Ben Gras
fb8c7e6fca Tinyhalt can't call REBOOT as PM can't deal with that any more. 2006-03-17 19:14:26 +00:00
Ben Gras
9e1428fb91 Exit status propagation fix from freebsd's sh 2006-03-17 17:33:20 +00:00
Ben Gras
ac9a157ba2 Absolute path feature for packit 2006-03-17 15:32:14 +00:00
Philip Homburg
d2e0cbc872 Fail when /etc/binary_sizes.$mode does not exist. 2006-03-17 15:25:21 +00:00
Ben Gras
816f031854 set_lids() not done. 2006-03-17 15:22:17 +00:00
Ben Gras
0275fbcd31 *** empty log message *** 2006-03-17 14:46:38 +00:00
Ben Gras
5583cdc48f Sed typo 2006-03-17 14:03:07 +00:00
Ben Gras
4cdc27d7dc Don't echo and grep 2006-03-17 14:02:17 +00:00
Ben Gras
d142190ae1 Mount readonly 2006-03-17 14:00:26 +00:00
Ben Gras
382ebe8f2b case sensitive 2006-03-17 13:55:12 +00:00
Ben Gras
c37acca419 unterminated quoted string..
found on line 666! argh
2006-03-17 13:45:40 +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
acac3c84f4 Fixes for absolute path names. 2006-03-17 12:27:20 +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
827159c8ea *** empty log message *** 2006-03-17 08:15:13 +00:00
Ben Gras
e1d412d71e Top manpage + comment in code 2006-03-17 07:54:55 +00:00
Ben Gras
b833c48af2 Only postinstall if umount succeeded 2006-03-17 07:28:17 +00:00
Ben Gras
18388e4bf0 *** empty log message *** 2006-03-16 14:46:57 +00:00
Ben Gras
6a53881760 Packme - CD and network interface to packit 2006-03-16 14:36:07 +00:00
Ben Gras
af189061a8 *** empty log message *** 2006-03-16 13:38:47 +00:00
Ben Gras
6d14bd5ad3 *** empty log message *** 2006-03-16 12:49:53 +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
84ba9dd4d3 Dinks for the (source/binary) package scripts 2006-03-15 17:02:46 +00:00
Ben Gras
91917f59e1 *** empty log message *** 2006-03-15 16:03:15 +00:00
Ben Gras
93f94cb7cc chroot in /bin for install script 2006-03-15 16:02:38 +00:00
Ben Gras
ff67776995 FS:
. loops checked for PID_FREE
  . exit broken down in exit and cleanup functions; when reboot happens,
    cleanup is done but not exit (as processes have not actually exited),
    this keeps drivers working
  . fixed a few uninitialized and unused variables

scripts:
  . new packaging system
2006-03-15 15:34:12 +00:00
Ben Gras
7879c008ae More stack for yacc (to compile nawk) 2006-03-15 15:16:43 +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
b351811f18 one-line descriptions 2006-03-15 11:50:15 +00:00
Philip Homburg
d2d193c7b6 More space for mdb. Terminate an error message with a newline. 2006-03-15 11:29:22 +00:00
Ben Gras
34b1f1c738 Create a ramdisk using 'ramdisk'. 2006-03-13 14:41:54 +00:00
Jorrit Herder
0619cce2ab *** empty log message *** 2006-03-13 10:33:50 +00:00
Ben Gras
6fe89cfbe8 Hack small and big fs into a single image. Must now set BIG or SMALL label. 2006-03-10 14:11:19 +00:00
Ben Gras
a0d72d263c update needs more stack in order to handle signals 2006-03-08 15:42:31 +00:00
Ben Gras
df361e818e Endpoint-enabled fix 2006-03-08 13:10:35 +00:00
Philip Homburg
69bd34a076 Added rawspeed. 2006-03-07 14:12:51 +00:00
Ben Gras
7465aa5b60 Always do sanity check now. (Possible now that we have lba48.) 2006-03-03 15:34:24 +00:00
Ben Gras
aa3932eb8b Added 'xxl' binsizes size for x.
Leave sh and make at normal size for 'big'.
Call binsizes normal after creating release.
2006-03-03 12:44:22 +00:00
Ben Gras
9f200f8807 Endpoint field name 2006-03-03 12:13:37 +00:00
Ben Gras
d1d4b5ae4d *** empty log message *** 2006-03-03 10:22:35 +00:00
Philip Homburg
f1bf17aa68 Allow bigger sizes. 2006-02-24 12:53:54 +00:00
Ben Gras
c69fe50658 Don't complain, urlget 2006-02-21 16:06:28 +00:00
Ben Gras
04429a150b Peter Boonstoppel's recwave update. 2006-02-21 16:04:18 +00:00
Ben Gras
fb240f6354 Peter Boonstoppel's audio changes. 2006-02-21 15:59:33 +00:00
Ben Gras
b89ee5b188 *** empty log message *** 2006-02-20 16:00:24 +00:00
Ben Gras
36a571d78f don't make clean first 2006-02-17 13:27:48 +00:00
Ben Gras
997d2dcbd3 Throw elvis out of the base system 2006-02-17 13:27:01 +00:00
Ben Gras
07308df374 Make 'make install' work 2006-02-17 13:12:07 +00:00
Ben Gras
77b0252796 Let saving random data work again 2006-02-17 13:11:20 +00:00
Ben Gras
151401bcb4 *** empty log message *** 2006-02-17 13:10:37 +00:00
Ben Gras
c162654310 Kick nvi out of base 2006-02-17 12:36:53 +00:00
Ben Gras
2827767745 bigmake.inc is obsolete 2006-02-16 20:56:34 +00:00
Ben Gras
7862ac9f42 *** empty log message *** 2006-02-16 15:44:52 +00:00
Ben Gras
f7132f1b1a Fixes for packaging system that will read .postinstall script and run it
if exists.

packit installs a package.
2006-02-16 15:43:37 +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
c273654032 umount /usr first 2006-02-06 16:40:15 +00:00
Ben Gras
b561091d13 Run postinstall script 2006-02-06 16:17:54 +00:00
Ben Gras
e47299045c Packme fix. 2006-02-06 10:55:38 +00:00
Ben Gras
832bba4a56 Removed flex from base. 2006-02-03 15:52:12 +00:00
Ben Gras
28087e3f17 *** empty log message *** 2006-02-03 15:41:58 +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
f088bc5c6d Save name of cd drive for package manager 2006-02-02 18:20:09 +00:00
Ben Gras
d8341f678a Test for non-cd users 2006-02-02 18:14:42 +00:00
Ben Gras
a4e64f44bf Make easypack check for errors from urlget instead of trying with <HTML..
grepping.
2006-02-02 18:12:21 +00:00
Ben Gras
df1989aeae Make urlget return errors on non-200 http codes 2006-02-02 18:08:25 +00:00
Ben Gras
1bec73d61c fix builds not to do bigmakes
gzip is out of the base system
2006-02-02 17:13:07 +00:00
Ben Gras
ac71ad109e . rotate uses bzip2 instead of gzip
. binpackages runs a binpackage batch
. easypack does binsizes big first
2006-02-02 17:12:16 +00:00
Ben Gras
17f48fc972 i86 driver not built as package 2006-02-01 14:29:58 +00:00
Ben Gras
cbbace7d73 fix for no 'build' arg 2006-02-01 11:18:54 +00:00
Ben Gras
972dc358f5 cleanup 2006-01-27 14:44:05 +00:00
Ben Gras
d292ba7d21 build scripts accept 'build' argument to not install 2006-01-27 14:38:23 +00:00
Ben Gras
ae5ba10b9e Compile fix for major 2006-01-27 14:31:27 +00:00
Philip Homburg
3ef1d71b75 Fail when make in a subdirectory fails. 2006-01-27 14:14:51 +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
20add6baa2 . initial version of binpackage script
. build now used to make binary packages (and still in easypack), kick out
  makeme.sh
2006-01-23 12:22:06 +00:00
Ben Gras
8c1141d6b7 makeme.sh for binpackage 2006-01-23 12:15:05 +00:00
Ben Gras
817b4b8da5 Always install 2006-01-23 11:45:04 +00:00
Ben Gras
bea0bcc2eb Port of freebsd pax. 2006-01-20 14:45:27 +00:00
Ben Gras
24882f2409 Add -cnewer as find node 2006-01-19 09:36:49 +00:00
Ben Gras
303eba31a4 Removed bits from Makefile that are now in 'bigports' 2006-01-17 11:25:29 +00:00
Ben Gras
d9827f56ba Fixes for #defines growing a _ 2006-01-06 16:49:58 +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
f18384d54c Make easypack remove tar after it's finished; and check for root, in
which case don't check for writability of source dir
2005-12-12 14:07:03 +00:00
Ben Gras
0a4047a8fe added -u flag to id for easypack 2005-12-12 13:55:58 +00:00
Philip Homburg
e0634c0b47 Mark ethernet fd nonblocking to avoid waiting for an ethernet address 2005-12-09 13:21: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
b3cf63b890 Added /dev/video. /dev/kbd and /dev/kbdaux are renumbered. 2005-11-09 15:46:15 +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
12f3eeaa01 Understand .SH "NAME" form too (e.g. perl manpages) 2005-11-04 10:50:49 +00:00
Ben Gras
a9702cca3a Let chmem return error code on failure 2005-11-03 16:58:10 +00:00
Ben Gras
26844e05e7 From: Giovanni <gfalzoni@inwind.it>
To: Ben Gras <beng@few.vu.nl>
Date: Wed, 02 Nov 2005 19:05:13 +0100
Subject: Re: [Minix-devel-l] Symbolic link

Using an alias for cd to set the prompt to display the current path
breaks the cd command.  I use in .ashrc:
PS3=$PS1
hostname=$(expr `cat /etc/hostname.file` : '\([^.]*\)')
cd() {          ## shows current directory as prompt
   command cd "$@"
   PS1="$PS3$USER@$hostname:`pwd` > "
}

If you change the macro in shell.h to:
#define SYMLINKS  0
the correct behaviour is restored.  Could you verify?
I think that the ash package needs the patch.
2005-11-03 15:25:18 +00:00
Ben Gras
5ccf545e1b ast@'s update 2005-11-02 20:01:37 +00:00
Ben Gras
edb541fb98 Display "select" blocking status correctly, and add check for wrong
blocking process number
2005-11-02 17:43:19 +00:00
Ben Gras
bc010b74a2 Andy's new easypack 2005-11-02 12:05:01 +00:00
Ben Gras
ceb6a62f6d Install ftpd sh executable. 2005-11-01 22:57:42 +00:00
Philip Homburg
c62239687d More stack for rlogind. 2005-10-24 14:06:36 +00:00
Philip Homburg
070f7673b9 More stack for cp, du, and synctree. 2005-10-24 14:04:22 +00:00
Philip Homburg
d9d4a4cacd kbdaux 2005-10-24 14:00:46 +00:00
Ben Gras
fd63815169 *** empty log message *** 2005-10-21 11:18:41 +00:00
Ben Gras
4e4d2f343c Make /dev/rescue 2005-10-21 10:00:03 +00:00
Ben Gras
7852300ec2 Don't beep (print bell characters) on rebooting 2005-10-19 10:36:10 +00:00
Ben Gras
742f18a87c Bugfix by Joren 2005-10-18 11:00:03 +00:00
Jorrit Herder
eb5ed13fd3 New libary functions.
Cleanup of halt.c.
2005-10-12 15:10:14 +00:00
Ben Gras
899d78ef0d Don't build vim tools 2005-10-12 09:57:09 +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
50951c50f9 *** empty log message *** 2005-10-07 14:00:52 +00:00
Ben Gras
f3e88a8352 Increase default binsize size 2005-10-07 13:51:06 +00:00
Ben Gras
a369d9c828 1 sync in shutdown procedure. 2005-10-05 15:07:08 +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
7c2b94fd56 Make ps compile even if source tree isn't /usr/src 2005-10-03 11:01:21 +00:00
Ben Gras
7ba508eb17 Make binsizes work, even if /usr/src isn't there 2005-09-30 11:52:53 +00:00
Ben Gras
b4e46ee5f2 Hint to qemu users. 2005-09-27 15:08:15 +00:00
Ben Gras
fdf5e8f7c7 Setup microfix 2005-09-27 12:56:48 +00:00
Ben Gras
9bfad61c9e emacs and python last of the big ones 2005-09-26 11:43:01 +00:00
Ben Gras
0b386e072d First the small ones 2005-09-26 11:42:23 +00:00
Ben Gras
8852f5464e Blank line for home size confirming 2005-09-26 11:34:57 +00:00
Ben Gras
4c2735c765 Don't test bzip2 (too much memory) 2005-09-25 12:49:51 +00:00
Ben Gras
4b5a3a4970 Use makeme script to build bzip 2005-09-24 15:29:10 +00:00
Ben Gras
d7925fdf46 More bytes 2005-09-22 16:03:44 +00:00
Ben Gras
9040daa95a Give up on bogus geometry. 2005-09-21 15:10:52 +00:00
Ben Gras
fd8c921c23 Fix cap. 2005-09-21 09:44:29 +00:00
Ben Gras
d312cc39ab sh build, so build doesn't have to be mode 755. 2005-09-21 09:29:31 +00:00
Ben Gras
2f55a065d7 clean bug 2005-09-20 14:11:29 +00:00
Ben Gras
9b1ea0aa12 small, big, all targets. 2005-09-20 13:04:52 +00:00
Ben Gras
e7b1257858 Save errors to dhcpd log. 2005-09-19 14:46:01 +00:00
Ben Gras
36c2e0b16b ast@'s setup tweak 2005-09-19 13:26:12 +00:00
Ben Gras
9e8290720e ack is makeable/installable too now. 2005-09-19 13:21:02 +00:00
Ben Gras
c42fb551b8 ast@'s build files for easypack. 2005-09-19 13:15:15 +00:00
Ben Gras
930df6662c lance fix 2005-09-16 16:46:03 +00:00
Ben Gras
b743d5b2fe Fixes for move to commands/ of contrib/ 2005-09-16 15:28:29 +00:00
Ben Gras
4eac7dbbc9 Made a smallbunzip2 2005-09-16 14:30:54 +00:00
Ben Gras
2e875d3ff2 Try to use smallbunzip2 if bunzip2 fails 2005-09-16 14:20:56 +00:00
Ben Gras
5d8f18a091 Added Michael Temari's httpd 2005-09-16 13:37:29 +00:00
Ben Gras
38e6ba9eec Al's change 2005-09-16 13:27:38 +00:00
Ben Gras
8bf2e72989 No more gcc stub 2005-09-16 12:09:21 +00:00
Ben Gras
f9ee7aaa7b oops 2005-09-16 11:01:09 +00:00
Ben Gras
06883efc2c bzip2 only (..) needs 2.75MB for its own tests 2005-09-16 10:05:55 +00:00
Ben Gras
c259483f87 Added /dev/kbd0 and /dev/psm0, in anticipation of raw keyboard and mouse
devices.
2005-09-15 14:55:30 +00:00
Ben Gras
68e12c2f04 Added Andy's easypack 2005-09-15 14:55:11 +00:00
Ben Gras
2db08280db rmdir! 2005-09-15 13:22:59 +00:00
Ben Gras
23e59a8aa3 Don't leave /m around 2005-09-15 13:22:45 +00:00
Ben Gras
30027d85e5 Save random data 2005-09-15 13:22:10 +00:00
Ben Gras
521633b3a4 Install things as bin 2005-09-13 14:02:21 +00:00
Ben Gras
77ff4a2a75 More setup checks 2005-09-13 13:45:22 +00:00
Ben Gras
95086b988b *** empty log message *** 2005-09-13 13:41:33 +00:00
Ben Gras
686b998c87 *** empty log message *** 2005-09-13 13:39:42 +00:00
Ben Gras
19534a8a96 /home size check 2005-09-13 13:27:35 +00:00
Ben Gras
0c83d1f97e *** empty log message *** 2005-09-13 12:29:08 +00:00
Ben Gras
65a7f017b2 devsize bug 2005-09-13 09:57:40 +00:00
Ben Gras
169fbb62cf A little setup bulletproofing 2005-09-13 09:52:15 +00:00
Ben Gras
540d299088 ast@'s microbug 2005-09-13 09:33:22 +00:00
Ben Gras
1be4522857 *** empty log message *** 2005-09-12 16:14:57 +00:00
Ben Gras
4dd7bd4b9d Autopart step change; setup has to make source installs optional 2005-09-12 15:22:49 +00:00
Ben Gras
f7fd32b9e5 at: first wipe partition table (workaround for a partition() bug)
setup: steps fix
2005-09-12 13:25:40 +00:00
Ben Gras
6f140bbb79 elvis is connected, but not installed as vi any more. 2005-09-12 12:53:17 +00:00
Ben Gras
9faa8a9478 Added getpack, the fabulous minix package manager. 2005-09-12 12:26:18 +00:00
Ben Gras
be065ea8f3 Disable sanity check on big disks. 2005-09-12 11:48:38 +00:00
Ben Gras
a70cf304ec Added version 2005-09-12 11:43:30 +00:00
Ben Gras
c594325b32 Test mount of /home readonly 2005-09-11 20:23:46 +00:00
Ben Gras
1c05e29646 Andy's /home scheme. 2005-09-11 20:00:56 +00:00
Ben Gras
5ed793ce20 Another setup check 2005-09-11 17:20:30 +00:00
Ben Gras
31fe543973 Patch gets 1M stack 2005-09-11 00:05:55 +00:00
Ben Gras
260af52455 Steps 3.x 2005-09-10 20:54:25 +00:00
Ben Gras
918ad431d2 Few extra checks. 2005-09-10 20:33:11 +00:00
Ben Gras
fe5e1c7d59 Accept 0 things to indicate progress of 2005-09-09 16:02:43 +00:00
Ben Gras
0e809f9c08 -m<MB> feature to know how big things have to me.
write 2kB of zeroes at the start of new partitions to clear out old gunk
(such as subpartitioning or old boot code).
2005-09-09 13:23:24 +00:00
Ben Gras
852a2c9832 more /home fixes 2005-09-09 12:22:19 +00:00
Ben Gras
3dacb3e88b Ast@'s improvement 2005-09-09 09:14:44 +00:00
Ben Gras
a54ce8cf1d Fix for starting without gzip/makefile 2005-09-08 16:36:27 +00:00
Ben Gras
9faf55f4f2 more release and setup tweaks.. for /home this time 2005-09-08 16:04:34 +00:00
Ben Gras
9d9936b2bf Add devsize 2005-09-08 15:45:33 +00:00
Ben Gras
7f5e1d2b05 Other bigmake message
Elvis no longer connected to build
2005-09-08 13:09:03 +00:00
Ben Gras
d2bb98e7b2 Change in how we handle big programs.. 2005-09-08 11:59:52 +00:00
Ben Gras
fa2da084bb Bigmake minixsize -> binsizes rename 2005-09-08 09:29:47 +00:00
Ben Gras
7b2c5b9104 Minixsize -> binsizes rename 2005-09-08 09:29:17 +00:00
Ben Gras
c899921eb2 Include AMD LANCE driver in menu 2005-09-07 15:06:13 +00:00
Ben Gras
5f2d97dfe6 Use exec cc instead of cc (ast) 2005-09-07 08:43:25 +00:00
Ben Gras
2c34983afc Retrieve hostname from dhcp too 2005-09-06 22:08:54 +00:00
Ben Gras
3ffe1fea7b Numbers, not letters 2005-09-06 10:19:38 +00:00
Ben Gras
b2bb27eda1 window change hack in telnetd 2005-09-05 20:22:06 +00:00
Ben Gras
6bf8c8d23f Create home directories after setup 2005-09-05 17:02:26 +00:00
Ben Gras
c28d7c9d8e Don't print output 2005-09-05 13:03:26 +00:00
Ben Gras
182e3cad77 Make tty02 and 03 2005-09-05 13:02:07 +00:00
Ben Gras
79dd653e1a Reinstall fix. 2005-09-01 16:39:03 +00:00
Ben Gras
475a8e8628 with a 200MB /home, we need 500MB for the rest. 2005-09-01 16:21:49 +00:00
Ben Gras
d8ad4fa376 interruptable readall 2005-09-01 16:17:46 +00:00
Ben Gras
f6f6cec7f4 make a /bin/bigsh 2005-09-01 15:23:28 +00:00
Ben Gras
dc55ba447d Use a usleep() loop instead of sleep(1) until the second has passed if
necessary.
2005-09-01 09:29:26 +00:00
Ben Gras
1e0469ce74 *** empty log message *** 2005-08-31 16:57:13 +00:00
Ben Gras
f7fb38b291 *** empty log message *** 2005-08-31 16:55:34 +00:00
Ben Gras
81e88ddaa9 Home is s1 2005-08-31 16:50:18 +00:00
Ben Gras
dde3b865fb *** empty log message *** 2005-08-31 16:48:46 +00:00
Ben Gras
0c96b9e85e autopart return stuff fix 2005-08-31 16:46:24 +00:00
Ben Gras
5aba206470 fix 2005-08-31 16:40:41 +00:00
Ben Gras
7ed864f5b0 Compiler a bit bigger 2005-08-31 16:35:36 +00:00
Ben Gras
e0e9e78d8e First /home steps 2005-08-31 16:29:56 +00:00
Ben Gras
509394f2ba autopart now guesses the bios drive number and the setup script tells it
to the user.

minixsize has fallback default sizes set before specifics set by input list.
2005-08-31 15:48:15 +00:00
Ben Gras
2268945088 Fix for ./configure scripts that try to use gcc if any kind of gcc command
is found
2005-08-31 11:56:16 +00:00
Ben Gras
37e3708259 Gcc pointer script. 2005-08-30 17:55:10 +00:00
Ben Gras
602ae06a3c Small minix has no ram disk 2005-08-30 17:13:46 +00:00
Ben Gras
0908d7fa6c Some small-minix tweaks. 2005-08-30 17:11:36 +00:00
Ben Gras
72cc59fcbd big/regular make business 2005-08-30 16:23:32 +00:00
Ben Gras
41a960c9b3 *** empty log message *** 2005-08-30 12:02:34 +00:00
Ben Gras
41e6391780 Preparing for minix sizer 2005-08-30 10:20:39 +00:00
Ben Gras
562671cf78 Splitting commands and big commands 2005-08-29 19:39:06 +00:00
Ben Gras
d39e1dd635 Smallminix -> minixsize 2005-08-29 19:16:13 +00:00
Ben Gras
ed84c34c6b Remove older kermit 2005-08-29 15:11:26 +00:00
Ben Gras
ed5fa1767a Let tar accept 'tar -cvf' (with -). 2005-08-28 22:19:51 +00:00
Ben Gras
5bf3f610a2 install it in /usr/bin instead 2005-08-26 13:02:26 +00:00
Ben Gras
ec8853bc1b Started making 'smallminix' script, that does various chmems to make
minix run in smaller machines
2005-08-26 12:53:17 +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
915e38066a *** empty log message *** 2005-08-25 10:05:11 +00:00
Ben Gras
647e179038 . release fixes
. added OPENCT ioctl to at driver, which returns the number of times
  a device is opened. if it's not opened exactly once, new partition info
  will not be read in (at the next open after this close). included
  this check in autopart.
2005-08-25 09:47:31 +00:00
Ben Gras
2609871880 Don't print disk number, we don't know it 2005-08-24 16:56:34 +00:00
Ben Gras
f81829d20d Don't set timeouts back to defaults right away 2005-08-24 16:49:28 +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
6bfa44771e MAKEDEV: make more device nodes
setup:
	- fix for root progress bar
	- fix for network config and mount/umount order
2005-08-24 07:26:48 +00:00
Ben Gras
f13d86f6e5 Let m4 accept a command-line argument (input file)
This unbreaks some configure scripts (reported by David Given)
2005-08-24 07:20:04 +00:00
Ben Gras
655d756e82 setup fix 2005-08-22 12:36:42 +00:00
Ben Gras
c9e9964303 Don't -O2 mdb 2005-08-22 11:17:47 +00:00
Ben Gras
7508c1c0ea Don't assume configure is executable 2005-08-22 11:16:02 +00:00
Ben Gras
919b988be1 More cutting 2005-08-22 10:02:46 +00:00
Ben Gras
10ba94be2b Extra setup umounts in case of aborted previous installs.
Forget about the /usr re-mounting, it's not necessary and (potentially)
causes problems during setup.
2005-08-22 10:01:52 +00:00
Ben Gras
0ab4039806 Added two sanity checks:
.  partitions larger than the disk
	   (this happens when partitions are set to end earlier than they start
	   in part)
	.  zero-sized partitions (this confuses autopart later on)

autopart doesn't continue if this happens.
2005-08-22 09:54:31 +00:00
Philip Homburg
d45066257c More stack for make. Fixed buffer overrun in make. 2005-08-18 11:36:36 +00:00
Ben Gras
3e3c3c0b50 PRettify getty banner with tty name 2005-08-16 11:31:08 +00:00
Philip Homburg
7884b3594e Updated comment 2005-08-15 14:08:45 +00:00
Philip Homburg
cc083ade4d -h option for harddisk emulation 2005-08-15 14:08:18 +00:00
Philip Homburg
d807719b57 Also make c0d7 for CD-ROM harddisk emulation. 2005-08-15 13:17:20 +00:00
Philip Homburg
f0c331c51c Use a fake geometry for files. 2005-08-15 13:15:39 +00:00
Ben Gras
04e92e4372 Remove some debug 2005-08-12 19:03:50 +00:00
Ben Gras
3a68e040b0 Clarify 2005-08-12 19:00:13 +00:00
Ben Gras
1e9d42f148 Sanity check in autopart 2005-08-12 18:58:23 +00:00
Ben Gras
85316cfe55 rotate noise 2005-08-12 17:49:07 +00:00
Ben Gras
84cb10da1b More autopart fixes 2005-08-12 17:47:22 +00:00
Jorrit Herder
55f90307d2 Final autopart fixes. 2005-08-12 15:13:55 +00:00
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