Commit Graph

2687 Commits

Author SHA1 Message Date
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
lukem b7677f4e0e .ifdef SMALLPROG, compile without ALTSHELL and SECURE support 2002-02-03 02:40:14 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
christos 373820b6f3 fix inconsistencies with USEAPP; centralize the flags check so that we
don't have to deal with it in the future.
2002-01-31 20:15:14 +00:00
christos bcbaa46862 Use __MNT_FLAGS from <sys/mount.h> instead of rolling our own list. Also
when -v is used, print even the silent flags.
2002-01-30 21:40:31 +00:00
tv 01c2615055 Move the inclusion of <bsd.prog.mk> up so that keysym.h can have ${DESTDIR}
properly in its dependency list.
2002-01-30 20:32:29 +00:00
tv fcae5f73b7 Add hooks to make mtree compilable from src/tools. 2002-01-29 00:07:27 +00:00
simonb 3860ddc415 Descend into kern.tkstat. 2002-01-28 02:07:40 +00:00
simonb adce1e7c12 Document the new kern.tkstat.* sysctls. 2002-01-28 02:07:01 +00:00
simonb 750526acc6 ANSIfy. 2002-01-28 01:37:17 +00:00
simonb 8e6a975576 Fix a tyop in a comment. 2002-01-27 23:50:36 +00:00
simonb f8f98db732 Prod from lukem - remember to add hw.disk* here too. 2002-01-27 13:04:21 +00:00
simonb 93f270352c Teach sysctl(8) that hw.diskstats is a structure. 2002-01-27 12:47:37 +00:00
christos 62a708c06d KNF: - use %m always instead of sometimes using strerror()
- space problems in casts
     - don't cast 0, use NULL
     - don't have long lines
     - don't cast malloc
     - use warn/warnx instead of fprintf
     - fix bug where a failed mount_mfs would cause the program to continue.
     - pass lint
2002-01-26 19:50:25 +00:00
fair 20d78a0f95 make the description of -w and -r more clear, per PR 13503. 2002-01-24 23:35:10 +00:00
lukem d369b2c6a5 fix compilation problems on my alpha 2002-01-23 01:45:41 +00:00
wiz 65c4d36952 Use mdoc macros instead of man ones. 2002-01-21 18:23:09 +00:00
wiz b8ed997fc6 Fix typo in macro. 2002-01-21 18:14:33 +00:00
abs c48a08886b Rename MSDOSFS_ROOT to MFS_DEV_IF_NO_CONSOLE, and rework:
- Always attempt mfs dev if missing /dev/console
    - Save and run both MAKEDEV and MAKEDEV.local
    - After creating the mfs dev, mknod() and freopen() /dev/console.
    - If MAKEDEV is missing do not fail out early, but still create the mfs,
      /dev/console.
    - If we hit any errors fail out to single user.
This change _only_ affects systems booting without /dev/console.
2002-01-21 15:57:40 +00:00
wiz 8c920e9e22 Drop trailing whitespace. 2002-01-21 11:40:20 +00:00