Commit Graph

142856 Commits

Author SHA1 Message Date
abs 2287ad2061 cast 16bit atap_capacity to u_int64_t before << 16. (assigned to
a u_int64_t variable). Fixes 1 to 2 TB disks in qemu. Tested with
1200GB and to a lesser extent 2047GB sparse files. For reference
an empty FFS1 filesystem on a 1200GB sparse file uses 19GB of disk.
2006-01-15 19:51:06 +00:00
dsl afbe178ee2 Add a '-V verbose' option that controls the amount of info writen to stdout.
0: No output. Default for mount_mfs unless -N specified
 1: Output size of partition and cylinder groups.
 2: Follow with a progress-bar line of dots (scaled to finish at RH margin)
 3: Include a single line of alternate suberblock addresses before progress
    bar.  Default for newfs.
 4: Output lots of lines of alternate superblock numbers that scroll madly
    up the screen.
If -N given, newfs/mount_mfs exits before displaying any progress bar.
Output constrained (almost always) to 1 column less than the terminal width.
2006-01-15 19:49:25 +00:00
jschauma 262cdfcbd7 Start 'You have mail in' with a capital Y. 2006-01-15 18:16:30 +00:00
jdc f2efcd1a0b Note that subwindows inherit the background character and attributes
of the parent window.
2006-01-15 16:57:45 +00:00
elad ba1244744f sync usage(). 2006-01-15 16:50:05 +00:00
wiz 208bc3eec1 dd CAVEATS section provided by martin@ with minor cleanup by me. 2006-01-15 16:35:58 +00:00
elad 69bfdb7c54 fix remote crash; from tiocsti. 2006-01-15 16:12:53 +00:00
christos 9ebf619229 fix trailing blank munging. 2006-01-15 14:41:45 +00:00
christos bd35911685 revert the line calculation as it used to be pre-buffer changes. 2006-01-15 14:26:10 +00:00
is b2d05f8632 pacify gcc on VAX. 2006-01-15 13:56:15 +00:00
is def92bcab5 Fix obvious error, hopefully correctly. 2006-01-15 13:17:15 +00:00
is 5703e44cdb Implement round(3), so that jot(1) can link again. 2006-01-15 12:39:44 +00:00
yamt c05dbefbea compstrategy: remove bogus handling of B_PHYS. 2006-01-15 12:14:52 +00:00
wiz b482fe5453 Fix Xref, bump date for previous. 2006-01-15 11:45:54 +00:00
jdc 978ab4ad4e Background characters and attributes don't need to be kept per character
cell, as they are merged when characters are added.  Remove the per cell
storage and clarify the manual page.  Pointed out by ruibiao@.
2006-01-15 11:43:54 +00:00
yamt d0cbf72e2a yamt-uio_vmspace: new base. 2006-01-15 10:13:20 +00:00
yamt 926005485e allocbuf: yield cpu in a loop. 2006-01-15 09:01:02 +00:00
yamt b88fc0e1b7 make some debug statistics evcnt. 2006-01-15 08:31:31 +00:00
yamt 3856e837b5 - use POOL_INIT for bufpool.
- make bufiopool static.
2006-01-15 08:27:07 +00:00
xtraeme 10de7b75c6 Use pnowk7_init() to detect the powernow feature. 2006-01-15 04:14:31 +00:00
xtraeme d347a5866b Move the code that checks for a powernow capable cpu to pnowk7_init(),
so that the kernel and the lkm can use it without having it in two
files... plus minor fixes (idea from Rhialto).
2006-01-15 04:12:09 +00:00
uwe d619e0824c Loader::_load_memory - don't give up so easily if memsz > tagged page
size.  This makes ksyms work, constructed ELF header was too big to
fit into one tagged page.

As a side effect it makes detached miniroot work too, as to locate the
miniroot the symbol table must be correctly skipped.  We probably
should just pass that information in bootinfo.
2006-01-15 02:20:35 +00:00
mrg 7886ae7f1c add re(4): Realtek 8139C+/8169/8169S/8110S ethernet. been working for
a long time on my U10.
2006-01-15 00:12:38 +00:00
uwe 24aae33317 Add missing \n in a debug printf. 2006-01-15 00:07:49 +00:00
uwe 053de0d06e Get rid of an unused variable in Loader::_load_memory.
Add whitespace between = sign and casts, while there use uint32_t in
those casts.
2006-01-15 00:06:39 +00:00
christos 9c6e6ff8b2 Protect against uio_lwp being NULL from Pavel Cahyna 2006-01-14 23:49:59 +00:00
uwe dfe0035af2 Prettify debug messages about ksyms block. 2006-01-14 23:23:32 +00:00
uwe 58488e09fe Make debug message about zeroed areas look like the one for loaded areas. 2006-01-14 23:22:53 +00:00
is d3b456094f don't build any kernels, for now 2006-01-14 23:05:28 +00:00
agc 9823410edb Use a CPP definition for "/sbin/nologin" - it's at the top of the
file.

Modify the logic in the previous but one commit - /sbin/nologin should
be considered a valid user shell, since otherwise, with the addition
of the checks for a valid user shell, useradd with a shell of
/sbin/nologin will fail.

Modify some of the code here to conform to the standards in the rest
of this file.
2006-01-14 22:00:52 +00:00
uwe 7482e67f96 Provide uintN_t typedefs. Provide u_intN_t as compatibility typedefs.
Use uintN_t to define other types.
2006-01-14 21:35:26 +00:00
uwe fd533d6baf Kill trailing whitespace in local comment. 2006-01-14 21:17:37 +00:00
uwe d89c00702d Sync with <sys/endian.h>. 2006-01-14 21:15:53 +00:00
christos 1cf726830d zlib moved. 2006-01-14 21:15:40 +00:00
christos 559f2f553b remove comment which is not applicable. 2006-01-14 20:31:21 +00:00
christos c08686ce36 add NetBSD ifdefs 2006-01-14 20:28:58 +00:00
christos 49473ec58b - include <sys/types.h>
- add z_ptrdiff_t
- add NetBSD ifdefs.
2006-01-14 20:27:34 +00:00
wiz 596c1085ee Fix typo. 2006-01-14 20:27:22 +00:00
christos 86a96dbd0e use z_ptrdiff_t instead of ptrdiff_t directly. 2006-01-14 20:26:26 +00:00
christos 8f50ba1350 rename write to wwrite to avoid variable shadowing. 2006-01-14 20:26:05 +00:00
christos 8e71b08aa2 mention zlib and modify pppd 2006-01-14 20:23:13 +00:00
christos 8d137b9e29 mention zlib and libc/libkern merge. 2006-01-14 20:20:34 +00:00
christos a94f0325fe zlib 1.2.3 changed the include protection variable names; adjust. 2006-01-14 20:17:12 +00:00
christos ddce00bf3c Don't include zlib.h directly; redirect through libz.h; this mirrors how
libkern is done and let's us abstract where the real zlib.h is kept.
2006-01-14 20:16:44 +00:00
christos b7c7f77db6 use zlib-1.2.3 2006-01-14 20:15:38 +00:00
christos 526a733aa8 bump libz. 2006-01-14 20:13:57 +00:00
christos 80beac2873 use zlib-1.2.3 2006-01-14 20:12:36 +00:00
christos aaf4ece63a from www.zlib.net 2006-01-14 20:10:22 +00:00
christos f4a430efd2 Use the ppp zlib from net. In preparation for importing zlib-1.2.3.
Unfortunately due to the changes in 1.2.3 that have more fine-grain
states between calls to inflate, we cannot easily adapt it to
packetized mode.
2006-01-14 19:55:11 +00:00
christos 81a0859118 prepare for userland compilation. 2006-01-14 18:58:05 +00:00