Ben Gras
040cebcefe
Don't kill processes by signals in process group 0, and do a sync before
...
killing all processes in FS reboot.
2006-02-03 15:21:00 +00:00
Ben Gras
bcb67841a5
Give init process group 1.
2006-02-03 14:54:20 +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
087c550186
Include binary packages on cd.
2006-02-02 17:11:10 +00:00
Ben Gras
a3bda44a41
. use proper S_ISFIFO for ISFIFO check
...
. ignore ESPIPE error from lseek() in fflush() on read streams
(because fifo's aren't detected when stdin, stdout or stderr)
2006-02-02 16:59:07 +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
Ben Gras
7392c839e0
fts import from freebsd
...
re-activated fchdir()
2006-01-27 14:01:36 +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
Ben Gras
43051c182a
Safety feature for symlink() - verify length of symlink contents
...
buffer with strlen()
2006-01-26 14:31:00 +00:00
Ben Gras
23bcf287cb
Let symlinks be in the installed set of files ; make symlink from /var/log to
...
/usr/log.
2006-01-25 13:00:14 +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
06db462da4
Added dvorak keymap.
2006-01-23 09:28:04 +00:00
Ben Gras
bea0bcc2eb
Port of freebsd pax.
2006-01-20 14:45:27 +00:00
Ben Gras
e04832580d
Some misc portability-enhancing definitions.
...
Added fts.h for fts library imported from freebsd.
2006-01-20 13:42:29 +00:00
Ben Gras
030c1c2560
fchdir() fix
2006-01-20 12:49:24 +00:00
Ben Gras
36f91229ea
Re-enable fchdir()
2006-01-20 12:44:16 +00:00
Ben Gras
f806a66edf
Fix for fchdir().
2006-01-20 12:43:35 +00:00
Ben Gras
3bddaaf580
Let other uids (temporarily) set their mapping.
2006-01-20 12:43:19 +00:00
Ben Gras
a321c12f75
Move truncate()/ftruncate() prototype outside MINIX conditional
2006-01-19 15:33:13 +00:00
Ben Gras
24882f2409
Add -cnewer as find node
2006-01-19 09:36:49 +00:00
Ben Gras
d0067f45bd
Make sure image* is gone before starting
2006-01-18 13:30:44 +00:00
Ben Gras
d62732171a
small fix
2006-01-18 13:26:50 +00:00
Ben Gras
c806c7ba7c
Install image as e.g. 3.1.2 instead of 3.1.2r0 if there is no revision file.
2006-01-18 12:37:45 +00:00
Ben Gras
6fab0ee47b
more memory for as
2006-01-18 10:29:48 +00:00
Ben Gras
46ad16e688
. new version of minix
...
. less space on filesystems of cd image
2006-01-18 09:49:54 +00:00
Ben Gras
ad7f2784fe
Made 'called by' DEBUG-conditional to avoid messy startup message
2006-01-18 09:48:32 +00:00
Ben Gras
a85797f486
Make error message conditional
2006-01-18 09:47:22 +00:00
Ben Gras
093cfe1143
. less verbose cd /usr debugging
...
. save random data only if /usr is mounted rw, don't display error otherwise
2006-01-18 09:33:09 +00:00
Ben Gras
428f9d63c4
Don't print randomness error when booting from install cd.
2006-01-17 17:57:40 +00:00
Ben Gras
966905d295
Not having a driver isn't a print-worthy error. Just return ENXIO.
2006-01-17 17:55:35 +00:00
Ben Gras
4102c1b44c
Make drivers install signal handlers so they don't die at exit.
2006-01-17 17:43:35 +00:00
Ben Gras
24f8db780c
Include rescue driver
2006-01-17 16:16:12 +00:00
Ben Gras
39f1fb81ea
Don't print usage if service can't find binary.
2006-01-17 15:56:55 +00:00
Ben Gras
c452baf68d
Made memory driver notice about location in DS a debug statement.
2006-01-17 15:53:43 +00:00
Ben Gras
b1ac60a03b
The release script now remembers old settings (scratch partitions) and
...
re-uses them, with a warning. This is nice and quick for repeated release
builds.
2006-01-17 15:14:56 +00:00
Ben Gras
dbca8946f2
No more gmake in top makefile
2006-01-17 15:09:15 +00:00
Ben Gras
303eba31a4
Removed bits from Makefile that are now in 'bigports'
2006-01-17 11:25:29 +00:00
Ben Gras
b40438277b
Prototype fix
2006-01-17 11:24:48 +00:00
Ben Gras
f4c085d3cc
Added pci files.
2006-01-17 10:49:30 +00:00
Ben Gras
0e9a5612d7
Throw away unused dirs, generated Makefiles.
...
Moved some calls back.
2006-01-17 10:36:53 +00:00
Ben Gras
591e943779
Makefiles of Joren's new library build system.
2006-01-16 15:47:30 +00:00
Ben Gras
34d445c0af
Joren's new library make system (minus Makefiles)
2006-01-16 15:44:55 +00:00
Ben Gras
a9dd9784d1
Added truncate(1) manpage; added comment about holes in du; removed
...
minix-vmd specificness of F_FREESP as minix now implements it too.
2006-01-11 17:18:53 +00:00
Ben Gras
50b06261b6
Implementation of truncate(), ftruncate() and the F_FREESP fcntl().
...
Implemented by changing write_map to accept a WMAP_FREE flag. In that
case, it doesn't update the datablock (creating indirect zones as
necessary) pointer, but it frees the datablock if present. Also it
frees the single and double indirect blocks if unused.
This makes the implementation of truncate_inode() simpler.
truncate_inode() now accepts a truncation length which makes
implementing truncate() and ftruncate() simple.
This also allowed implementing the F_FREESP fcntl().
2006-01-11 17:14:51 +00:00
Ben Gras
d9827f56ba
Fixes for #defines growing a _
2006-01-06 16:49:58 +00:00
Ben Gras
ebca3a434c
LICENSE taken from website instead of old PH license.
2006-01-05 16:58:38 +00:00
Ben Gras
f6a3259ef8
Ported bsd truncate(1)
2005-12-23 16:36:00 +00:00
Ben Gras
cccd4e01c5
Moved the print statement till after the K_CLAIM flag check after
...
this bug report (snippet):
> From: "Christos Karayiannis" <christos@kar.forthnet.gr >
> To: <bugs@minix3.org >
> Date: Tue, 20 Dec 2005 16:22:49 +0200
> Subject: bootimage.c
>
> Hi,
>
> at exec_image() of bootimage.c the a_bss and a_stack are printed with
> some values and then, if the K_CLAIM flag is set, they become zero. But
> this is then wrong information.
2005-12-20 14:38:14 +00:00
Ben Gras
6a911b5284
Merge of minix-vmd symlink code.
...
. new_node() now returns inode of parent dir as argument that
has to be put_node()d again by the caller of new_node().
it can also return the name of the last component as last_dir()
did.
. advance() takes a pointer to a pointer of an inode as the
parent now. This parent can change, in which case the old
one is put_node()d and a new one is put there.
. eat_path() replaced by more flexible parse_path()
. last_dir() replaced by call to parse_path().
. do_slink(), do_readlink(), do_lstat() and slink_traverse() added.
Also added some truncate()/ftruncate()-introduction related changes.
(e.g. renamed truncate() to truncate_inode().)
2005-12-20 14:23:44 +00:00
Ben Gras
ffe192724e
Added truncate() and ftruncate() library calls (no FS support yet).
...
Added ELOOP message to errlist.
2005-12-20 14:18:16 +00:00
Ben Gras
fbc190e562
Added truncate and ftruncate() prototypes and call numbers (prematurely)
...
Added symlink-related prototypes
2005-12-20 14:17:05 +00:00
Ben Gras
743bdb038e
Backout of symlink patches.
2005-12-19 10:45:50 +00:00
Ben Gras
eb1919722d
Priority explicitization.
2005-12-14 12:08:49 +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
Ben Gras
d3ee328792
Hack for make libraries
2005-12-12 13:50:13 +00:00
Ben Gras
2f23951221
SIGSTOP can't be masked (report by Jaap Weel).
2005-12-12 13:11:22 +00:00
Ben Gras
32d5141935
Added prototype for getsockopt().
2005-12-12 10:40:29 +00:00
Ben Gras
7c1b2ef659
typedef dns_hdr_t HEADER;
...
for applications
2005-11-17 01:29:08 +00:00
Ben Gras
cbea840414
Define
...
IPPORT_RESERVED as 1024
for applications
2005-11-17 01:23:46 +00:00
Ben Gras
e45c9f2741
Synonyms for helping porting applications.
2005-11-17 01:23:33 +00:00
Ben Gras
348e18d474
Added del_route suggested by mij@bitchx.it.
2005-11-17 00:05:37 +00:00
Ben Gras
f08d6365be
add_routes -> add_route in SEE ALSO
2005-11-16 23:52:56 +00:00
Ben Gras
4b59679ebb
Add /usr/spool/mail
2005-11-16 13:49:13 +00:00
Ben Gras
9dea6e96bc
Updated constant names
2005-11-15 12:12:00 +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
549e0bb855
Include X in path
2005-11-14 18:40:36 +00:00
Ben Gras
267c01b493
out-of-date comment fixed
2005-11-14 16:35:32 +00:00
Ben Gras
2ea0f4491d
'.' fix for troff
2005-11-14 16:21:33 +00:00
Ben Gras
f9c1f3172d
getloadavg
2005-11-14 15:58:07 +00:00
Ben Gras
1266ebcc93
last.c displays load average for uptime(1)
2005-11-14 15:51:28 +00:00
Ben Gras
87f2236ad2
load average measurement implementation, accessable through
...
getloadavg() system call in the library.
2005-11-14 15:50:46 +00:00
Ben Gras
aabef59faa
getloadvg(3) manpage
2005-11-14 15:48:43 +00:00
Ben Gras
282e2f8e78
getloadavg() interface
2005-11-14 15:48:12 +00:00
Ben Gras
c6412ae342
"forward compatible" hack for lstat() - make new binaries work on old
...
systems
2005-11-07 13:15:09 +00:00
Ben Gras
12f3eeaa01
Understand .SH "NAME" form too (e.g. perl manpages)
2005-11-04 10:50:49 +00:00
Ben Gras
6e37eb17b2
(mode_t) casts confused preprocessor
2005-11-03 17:04:50 +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
Ben Gras
fa76dcb8c1
Giovanni's symlink patches.
2005-11-01 13:19:40 +00:00
Ben Gras
a3752a3a51
Fix
2005-11-01 13:15:44 +00:00
Ben Gras
94d370ca5f
library fixes for symlink, readlink and lstat
2005-11-01 13:13:31 +00:00
Ben Gras
0604dc26a8
Giovanni's symlink patches.
2005-10-31 14:33:12 +00:00