mrg
5fd013c40d
add a "-h" (humanize_number(3)) option to swapctl(8) and pstat(8), from
...
Martin Weber in PR#23805.
ps: now we only need someone to do ls(1) :-)
2003-12-20 11:22:25 +00:00
grant
16fffca4df
avoid uninitialized variable. noted by wiz.
2003-12-20 10:09:20 +00:00
grant
fc04f37975
crank version.
2003-12-20 03:41:31 +00:00
grant
dd46f97f58
use the --use-compress-program argument to tar and do away with
...
the file descriptor handling mess in lib/file.c.
also use --fast-read where applicable.
result of pkg_info -B on 1.5ghz pentium4, linux:
before after
mozilla-1.4nb1.tgz 1.96sec 0.04sec
mozilla-1.4nb1.tbz 18.66sec 0.21sec
866mhz pentium3, NetBSD:
before after
mozilla-1.4nb1.tgz 2.22sec 0.07sec
mozilla-1.4nb1.tbz 16.29sec 0.34sec
-rw-r--r-- 1 grant users 13816195 Dec 20 13:59 mozilla-1.4nb1.tbz
-rw-r--r-- 1 grant users 15814227 Dec 20 13:58 mozilla-1.4nb1.tgz
XXX fetches over ftp/http still read the whole file.
2003-12-20 03:31:56 +00:00
grant
683625bd0a
suppress a diagnostic message unless -v is used.
2003-12-20 02:37:49 +00:00
grant
15fff85a6b
always print an error when package addition fails (rather than only
...
when -v is used), tweak error.
2003-12-20 02:19:21 +00:00
grant
70ba7aa408
check the OS, architecture and version of a package against the host
...
and spit out a warning if any of them differ. bail if the OS or arch
differ. installation can be forced with -f.
sanity checked by simonb. fixes PR pkg/18966 from mrg.
2003-12-20 00:47:18 +00:00
wulf
4a58b169c3
Fixed a bug that made lastlogin ignore the first user argument
2003-12-16 15:40:29 +00:00
wiz
68c32a13a8
Drop trailing spaces; new sentence, new line; fix width
...
argument to avoid confusion (indent is only magic for -offset); add a comma
for easier reading.
2003-12-11 17:12:11 +00:00
jdolecek
662f5a1d48
John Brezak (now jbrezak at windows dot microsoft dot com) kindly
...
agreed to remove advertising clause from his code, so update
the licence accordingly.
2003-12-10 17:10:34 +00:00
agc
7db1d33cba
Modify the licences of code written by Theo De Raadt from a 4-clause
...
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
hannken
fbae381aaa
The file system snapshot pseudo driver.
...
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().
Not enabled by default in any kernel config.
Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
drochner
af7cac9798
"msntp"->"sntp, and adjust location of runtime data files
2003-12-09 11:15:18 +00:00
matt
3c12447a00
Make building IPv6 support controllable by MKINET6
2003-12-07 21:57:22 +00:00
scw
801bdc886f
Gcc3 for sh5 gets an ICE compiling ns_main.c at -O2.
...
Drop to -O1 for now when building for sh5.
2003-12-07 19:57:39 +00:00
is
0534dcc9c5
Report read errors, too.
2003-12-07 16:50:43 +00:00
wiz
0b46b8198f
Fix typo, reported by Soren Jacobsen in PR 23666.
2003-12-06 08:25:39 +00:00
jonathan
52315e5149
Increase userspace (/usr/sbin/nfsd) limit on nfsd count from 20 to 1024.
...
Jason Thorpe suggests removing the limit altogether; anyone who needs
more than 1024 nfsds can still do "nfsd -n 1024" multiple times, and
this provides _some_ saftey-net against nfsd (issued by root) from
eating all the avaiable process slots.
2003-12-06 03:01:16 +00:00
fredb
fd7b604de5
Fix my email address.
2003-12-05 21:24:10 +00:00
drochner
3b1892c380
remove orphaned files
2003-12-05 12:15:49 +00:00
drochner
b82a8746e3
put pid file to /var/run and saved state to /var/db
2003-12-05 11:34:58 +00:00
wiz
6c159667a9
Fix some nits.
...
XXX: This man page talks about msntp, not sntp....
2003-12-05 00:07:12 +00:00
drochner
2f4d5f72db
also build the sntp (rfc2030) program which comes with ntp-4.2
2003-12-04 18:14:59 +00:00
drochner
43f2108cfd
update the reachover build tree for ntp-4.2.0:
...
-adjust for new libs, programs and source files
-replace generated config.h and mkver
-add Frederick Bruckman's awk implementation of "ntptrace" as a
replacement for the perl program in the original tree
2003-12-04 16:41:56 +00:00
is
2ee5b37e8f
rewind() does an implicit clearerr(), as demanded by e.g. 1003.1. Thus,
...
we have to check for writing errors before rewind()ing.
2003-12-03 13:12:53 +00:00
lukem
c09971991d
Be consistent in error messages, and don't use the <err.h> functions.
2003-12-02 05:11:42 +00:00
wiz
2f701eb7e9
Use Xr instead of Ic when suitable; NetBSD -> .Nx; add comma;
...
use Dq for a string.
2003-11-26 09:02:52 +00:00
lukem
f6d3e09d47
Provide an example for making a bootable FAT file system, and improve
...
some of the other examples.
2003-11-26 08:10:37 +00:00
rafal
8489e24b62
Make sure to also zero out structures put on local free lists so allocations
...
satisfied from those lists get zeroed memory back too.
2003-11-25 19:34:05 +00:00
christos
57a881013d
Define ecalloc() and use it when initializing data structures.
2003-11-24 21:44:37 +00:00
wiz
e0cae3a80b
Bump version for wait-for-child fix.
2003-11-21 22:05:06 +00:00
wiz
4e536677a2
Wait for decompress child before continuing.
...
Closes PR 23526 by Ron Roskens.
2003-11-21 22:04:32 +00:00
christos
717444998f
Add long-long cast for cross-build printf portability. We could be using
...
PRI* macros, but that would be too much complexity for a host tool.
2003-11-19 21:10:27 +00:00
christos
bb4ed2e755
PR/23490: Jason Thorpe: 64-bit config(8) breaks negative RTC_OFFSET
...
Fixed by preserving the format of the input number and using it to format
the output number. This avoids the -10 < n < 10 kludge.
2003-11-19 18:06:13 +00:00
fvdl
dc7e96bea0
Use int64_t to store numeric values, so that values larger than 2^32
...
may be specified in options.
2003-11-18 18:47:36 +00:00
bouyer
6f4c1c24ee
Apply patch proposted to tech-userlevel on Sun, 12 Oct 2003:
...
Remove dom_server_port from struct _dom_binding. It's never initialised
and used in only one place, where dom_server_addr.sin_port was probably
intended.
2003-11-17 21:29:21 +00:00
dbj
982688a7fd
#include <util.h>
...
this is needed by fparseln on macos/darwin and is harmless on netbsd
2003-11-17 00:02:33 +00:00
jmc
e167e82b65
Don't use L_SET as it's not portable and this is a host tool
2003-11-16 22:47:07 +00:00
dyoung
18652e3785
From Steve Woodford (scw@): fix wi(4) and wiconfig(8) on big-endian
...
machines.
2003-11-16 09:41:01 +00:00
lukem
6b429c1c8a
Disable hp300 support (again).
...
This code is not to be reenabled again until it is fixed to my satisfaction
(as a member of core and the person who ends up dealing with most of
the host tool build bugs)
2003-11-14 12:08:59 +00:00
dsl
d7d05c9ee2
roundup() write of hp300 boot code to a multiplr of the disk sector size.
...
and re-instate the hp300 code - seems to work.
2003-11-13 08:19:43 +00:00
grant
6b727993ff
use An to markup names.
2003-11-12 13:33:24 +00:00
grant
2c571f8f4d
fix a typo
2003-11-12 13:31:44 +00:00
grant
cacf2d0f45
s/netbsd.org/NetBSD.org/i
2003-11-12 13:31:07 +00:00
grant
f59b2fa174
use An and Aq for name/email address instead of \*[Lt] and \*[Gt].
...
s/netbsd.org/NetBSD.org/i
2003-11-12 13:27:39 +00:00
kleink
d9c0b26cbc
<sys/fcntl.h> -> <fcntl.h> in previous. Also, remove inclusion of
...
<sys/file.h>, which seems to be the intention of the previous change.
2003-11-12 12:06:24 +00:00
matt
f851399943
O_* live in <sys/fcntl.h> not <sys/file.h>
...
Don't use TERMCAP if HOSTPROG.
2003-11-12 02:17:53 +00:00
matt
b91abd5ac8
Don't use _PATH_UNIX on non-NetBSD hosts.
2003-11-12 01:24:15 +00:00
dsl
c948aa4152
Ensure we use the target disklabel.h, not the host one.
...
Read the disklabel directly from sector 2 instead of using DIOCGDINFO.
Expect the label to be big-endian.
Support -o append for real files.
2003-11-10 10:48:30 +00:00
fvdl
8452757ae8
Comment out hp300 references.
2003-11-10 09:19:03 +00:00