Commit Graph

2806 Commits

Author SHA1 Message Date
itojun
65829ef6aa more correct ion to RTF_HOST handling. 2002-06-05 22:10:44 +00:00
yamt
15da77e3d3 exit on EOF from stdin. 2002-06-05 12:19:23 +00:00
augustss
1225b61055 Make it possible to see \ in dmesg. 2002-06-05 06:31:21 +00:00
itojun
fff7bbceef do not have -prefixlen 128 on RTF_HOST.
From: Dawid Szymanski <dawszy@arhea.net>
2002-06-04 22:20:00 +00:00
itojun
d816e24b39 avoid fd_set overrun. 2002-05-31 22:10:18 +00:00
atatat
16790d2404 Add descriptions of the "self" symbolic link and the "maps" pseudo file.
Also note the kernel option that is required in order to get pathnames
with file backed entries in the "maps" pseudo file.
2002-05-31 16:48:28 +00:00
itojun
b31318e482 KNF, from openbsd via kame 2002-05-31 10:22:11 +00:00
itojun
16e84a7542 clarify comment when nreceived > ntransmitted. from deraadt 2002-05-31 01:10:53 +00:00
itojun
08f5f94674 typo, from openbsd 2002-05-30 21:32:18 +00:00
thorpej
313148a4db Fix Missing %s in format string. 2002-05-30 17:02:17 +00:00
msaitoh
48b457ab6c document vfs.nfs.iothreads 2002-05-29 23:30:50 +00:00
cjs
9af8b52f66 When RPC fails, state explicitly which service we were trying to connect to. 2002-05-29 02:19:56 +00:00
itojun
256a128339 document net.inet6.ip6.maxfrags 2002-05-28 03:17:26 +00:00
drochner
ec943f317b display / read the p_cdsession field in the FS_ISO9660 case 2002-05-27 17:33:08 +00:00
itojun
7f0c96b84b KNF. remove unused variable "signo". from deraadt 2002-05-26 13:21:01 +00:00
itojun
e500a07555 no need for KAME_SCOPEID 2002-05-26 13:01:21 +00:00
itojun
6cad7e9bef s/IPSec/IPsec/ 2002-05-26 12:56:57 +00:00
itojun
9e3976cdf7 Xr ping6 8 -> Nm 2002-05-26 12:07:05 +00:00
wiz
07da92e69f Sort sections and a grammar fix. 2002-05-26 10:52:01 +00:00
itojun
d265331969 sync with kame.
- use bind(2) to select source.
- KNF.
- -g option to specify intermediate gateway.
2002-05-26 05:46:24 +00:00
wiz
c632c8bea4 __STDC__ is always defined on NetBSD. 2002-05-25 23:45:12 +00:00
matt
2ea027698b Add support to print interface counters (via SIOCGIFDATA) when the [new]
option -v is provided.
2002-05-23 21:38:01 +00:00
perseant
de3d200cd0 Re-checksum the superblock whenever it is marked dirty.
Tested on alpha.
2002-05-23 04:05:11 +00:00
nathanw
be856ef968 When attempting to guess the filesystem type from the disklabel, don't
consider a out-of-range partition letter at the end of the special
device node to be a fatal error; just return NULL and let the caller
fall back to FFS.

This fixes the "mount -u /kern/rootdev /" done by the script installer.

XXX this is still gross, and breaks things like
"mount /my/strange/dev/path/b /mnt". Perhaps it should stat the node
and use the minor number as an index instead?
2002-05-21 23:51:19 +00:00
lukem
e5aacbc0a7 Add examples. Inspired by [misc/16193] from
Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
2002-05-21 11:25:38 +00:00
lukem
9234db0acd Improve mount_mfs examples. Inspired by [misc/16193] from
Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
2002-05-21 11:17:57 +00:00
yamt
381fee523f open device as readonly unless -w is specified. 2002-05-21 01:39:56 +00:00
itojun
e534b69c1d raise RTF_HOST if destination is a host (/128). from ume 2002-05-20 23:01:32 +00:00
enami
1fd6d975ac Since all members in rndpoolstat_t are unsigned, print them so. PR#14584. 2002-05-19 09:47:10 +00:00
itojun
9244bd8154 document net.key.* sysctl. provide sysctl MIB for controlling
proposal payload on ACQUIRE message.  sync w/kame
2002-05-19 08:12:55 +00:00
simonb
ad50b1a980 In the description of the -r and -w options, match the wording of the
stats to look for from netstat(1) with what netstat actually shows.
2002-05-15 01:58:16 +00:00
thorpej
3740cbf193 Alpha boot block stuff has moved to <sys/bootblock.h> 2002-05-14 21:27:05 +00:00
itojun
33fe7af9a4 sync with latest kame setkey(8), modulo icmp6 hack.
pfkey.c is now more picky about buffer length validation.
spddump (setkey -DP) will print lifetime information.
2002-05-14 11:24:20 +00:00
itojun
b5f1426ee0 rename: net.inet6.ip6.bindv6only -> net.inet6.ip6.v6only
sync w/kame.
2002-05-14 10:27:28 +00:00
wiz
d30d25dc1a Spelling fixes, from Sergey Svishchev in kern/16650. 2002-05-12 15:48:36 +00:00
uch
f7b9e074ee add hpcsh 2002-05-09 18:16:16 +00:00
simonb
1d08e313ae Don't bother testing if a uint8_t is > 256 -- that test is always false. 2002-05-09 02:55:49 +00:00
thorpej
177f0931bd Don't bother testing if a u_short is > 0xffff -- that test is always false. 2002-05-06 20:14:36 +00:00
agc
6df6be6300 Make this compile on some of the more esoteric architectures. 2002-05-06 19:37:51 +00:00
lukem
bb82a84ded If SIGINFO is received, display summary information to stderr.
Based on changes in FreeBSD, via Chuck Cranor <chuck@research.att.com>
2002-05-06 03:17:43 +00:00
itojun
2e7169447f use in_aliasreq for inet address manipulation, not ifaliasreq. they have
different alignment constraint.  [tests on 64bit arch wanted]
2002-04-25 09:39:17 +00:00
lukem
2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
msaitoh
039616e700 don't override LDSTATIC if NOPIC is defined. 2002-04-23 08:19:15 +00:00
wiz
73d9fb5b1f Sync order of programs with their actions, noted by mrg. 2002-04-17 16:31:02 +00:00
mycroft
e84a828ff1 In single-user, after taking a signal and having the `shell' die with
SIGKILL, go into an infinite loop (like in the runcom SIGTERM case), on the
assumption that reboot(8) is in the middle of taking the system down.
This fixes `panic: init died' from sysinst.
2002-04-16 01:59:37 +00:00
martin
573dfcd430 Fix copyright notice, sprinkle some $NetBSD$. 2002-04-14 11:41:42 +00:00
tsutsui
93fc30d106 21600000 -> 6*60*60*1000 (timeout in six hours for format command) 2002-04-14 03:24:42 +00:00
mycroft
fb1196703d Some manual strength reduction. 2002-04-10 17:29:30 +00:00
mycroft
f127f0f067 Some manual strength reduction. 2002-04-10 17:28:13 +00:00
christos
28bf921d47 don't whine about non-regular files. It is perfectly normal to keep a CVS
or RCS directory in /etc/rc.d.
2002-04-10 12:38:26 +00:00
mycroft
3bc20d3480 Remove debugging output. 2002-04-10 08:27:54 +00:00
mycroft
9eab713623 Use fs_fragshift more. Simplify a bunch of arithmetic involving NSPF(). 2002-04-10 08:27:23 +00:00
mycroft
9e695e896c Make this build again after the alpha/disklabel.h and dev/dec/dec_boot.h
changes.
2002-04-09 21:08:58 +00:00
hannken
01647c299e Allow setting display's font. 2002-04-07 10:40:04 +00:00
bjh21
be27950398 .Nm . -> .Nm "" . 2002-04-06 15:49:30 +00:00
dsainty
be5810b4d6 Reverted a small part of 1.30, removing full stops that accidentally got added
in the middle of sentences.
2002-04-06 05:57:17 +00:00
jdolecek
83e7b8936b Only provide sym_size and sym_symsize if symbols are actually going
to be loaded.
This also avoids the annoying 'Unable to find symbol table slot
for xxx' kernel message when module is unloaded.
2002-04-03 19:03:09 +00:00
thorpej
34525f12a8 Build fdisk(8) on netwinder. 2002-04-03 03:17:36 +00:00
groo
73934d7bb5 s/bypassing/passing/ 2002-03-30 15:28:35 +00:00
christos
56a72506f9 nicer printing. 2002-03-26 23:56:45 +00:00
christos
d9d77caa18 PR/16073: Jachym _Freza_ Holecek: Add the ability to list known partition types.
While I am here, KNF a bit.
2002-03-26 23:56:05 +00:00
bjh21
f8840ef0ab Rename arm26 -> acorn26. 2002-03-24 22:25:27 +00:00
sommerfeld
1803fb93a9 Add -q flag, for use with -w and -f, which suppresses output after a set. 2002-03-24 00:11:00 +00:00
simonb
6fccd7ab03 Open the raid device read-only for the commands that don't need
write access.  With the default set up this allows users in group
operator to query the status of the raid devices.

Fixes PR admin/15840.
2002-03-21 00:27:11 +00:00
christos
412e9e63d4 remove debugging line. 2002-03-20 00:29:24 +00:00
christos
58d461858a handle new emulation sysctls, and cleanup function duplication. 2002-03-20 00:23:23 +00:00
christos
94d01e0c5d PR/15502: Wolfgang Rupprecht: savecore fails for > 2GB files. 2002-03-19 18:55:03 +00:00
thorpej
26ba84d1e5 Cast 3rd arg to el_parse() to deal with const'ification of
libedit.
2002-03-18 20:04:49 +00:00
martin
093f5dbc55 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 17:03:28 +00:00
itojun
3d6f24bae3 no \n to warnx(3). From: Mike Pechkin <mpech@prosoft.org.lv> 2002-03-11 02:06:02 +00:00
tsutsui
07b8153219 Change type of dumpmag and newdumpmag from int to u_int32_t
since they hold 32bit unsigned magic numbers. (sync with kernels)
2002-03-06 13:13:08 +00:00
wiz
10d6eb080d Drop duplicate .Pp. 2002-03-05 15:09:26 +00:00
dbj
5aa1b71afb add "Apple UFS" and "Apple Boot" partition ids used by Darwin 2002-03-04 04:22:22 +00:00
wiz
794dc9ea92 Typo fix. 2002-03-04 00:44:35 +00:00
wiz
69db0d9c90 Whitespace nit. 2002-03-04 00:44:11 +00:00
he
479e133dbf Rename the local devname -> dev_name to avoid warning with shadowing
global definition in stdlib.h.
2002-03-03 12:13:47 +00:00
martin
8c33bf88e8 Add a "query-dns" parameter to tell the interface we would like to get
DNS settings from the peer and a "-n" option to retrieve the results
after the PPP connection is established.
2002-03-02 16:27:02 +00:00
mrg
4d6dd4f8f5 when complaining that we can't lookup a hostname, actually say which
hostname this is...
2002-03-02 12:25:23 +00:00
mrg
a8fa43f6b6 include <stdlib.h> 2002-03-02 12:22:27 +00:00
scw
aea350ead2 fdisk(8) is needed on mvmeppc since PPCBUG uses PeeCee-style MBR
partition info when booting from disk.
2002-02-27 22:31:18 +00:00
wiz
f61ef32241 Add -b to getopt argument. Patch from DHOYASHIKI Shinichi in bin/15742. 2002-02-26 15:57:13 +00:00
matthias
2a1ed782f8 -Wshadow warnings for variable index. 2002-02-26 07:50:30 +00:00
wiz
f26d205dbb Typo fix, from jslag@prop.walkerart.org via OpenBSD. 2002-02-26 02:00:15 +00:00
matt
838ad806e7 Also build ldconfig is MACHINE_ARCH is arm or vax buf OBJECT_FMT=ELF 2002-02-24 03:18:44 +00:00
ad
a66008a0b5 Add WSMOUSE_TYPE_MAXINE. 2002-02-24 02:01:40 +00:00
christos
69da3546f5 PR/15672: Love: route monitor missing info 2002-02-21 15:44:25 +00:00
lukem
d45e6662b4 change the default back to checking the file system type is '4.2BSD',
and add -I to ignore this check.  per discussion with thorpej.
2002-02-20 04:04:39 +00:00
lukem
56705fb84f rcsid 2002-02-19 23:11:28 +00:00
perseant
9aca526666 Don't forget to update curfile, if tape begins with TS_ADDR type block.
In particular, this means that if one member (say the last member) of a tape
set begins with continuation blocks, restore will not consider that tape
to contain all the inodes (curfile.ino==0 at the beginning of the tape).

Close PR #15545.
2002-02-19 19:16:38 +00:00
yamt
2584fed461 s/read only/write only/ for FLG_WRONLY. 2002-02-18 17:00:16 +00:00
thorpej
044d35e196 * Undo rev 1.55. While one might think this test is useful, newfs
has historically allowed file systems to be created on non-4.2BSD
  partitions, and the ability to do so is quite useful to some people.
* When rewriting the disklabel, don't consider it an error if there's
  not a label already on the disk (and thus the rewrite operation fails).
2002-02-16 19:39:30 +00:00
kleink
52de2c81da When accessing the MBR magic as a 16-bit value, consider its on-disk
layout would be little-endian, too.
2002-02-14 00:07:43 +00:00
atatat
a63801ede0 Minor tweak to make portalfs work on 64 bit ports. 2002-02-11 07:32:56 +00:00
hubertf
85cc2d10d5 the modifiers (-inet6, ...) do not only affect the behaviour of "flush",
but at least also of "get", so make the wording a bit more general.
2002-02-08 13:32:32 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
ross
8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
ross
b8ff67cc6d minor LP64 nits 2002-02-07 02:14:02 +00:00
perseant
fd4bbaaa48 Walk the segment list correctly when rolling forward between the two
primary superblocks.  This prevents spurious "block could not be read"
messages that might otherwise be seen if the filesystem had not been
properly unmounted.
2002-02-04 23:43:43 +00:00
perseant
5dcafb60c7 Use the correct size for inode blocks. This caused false data checksum
mispatches to be reported on v2 filesystems.
2002-02-04 23:41:28 +00:00
lukem
447e6b3ec5 crank size of mfs from 512 sectors to 768 sectors (large i386 MAKEDEV) 2002-02-03 12:55:26 +00:00