Commit Graph

5111 Commits

Author SHA1 Message Date
tls ede5dc65a8 Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm
default).  Fixes misc/38425.
2009-03-21 19:32:44 +00:00
lukem deb4c0bbb3 fix sign-compare issues 2009-03-20 13:18:50 +00:00
wiz 479c390e0e Drop trailing whitespace. 2009-03-18 10:46:58 +00:00
pgoyette dab2b670bf Format the address/offset of hexdump in hex, not decimal.
Addresses my PR bin/41035
2009-03-18 01:28:25 +00:00
lukem be0c43535f fix sign-compare issues 2009-03-17 00:52:47 +00:00
lukem 07f7688506 fix sign-compare issues 2009-03-16 12:56:19 +00:00
lukem c1237301b3 fix sign-compare issues 2009-03-16 12:52:07 +00:00
lukem 240bf6cd28 fix sign-compare issues 2009-03-16 11:18:10 +00:00
christos 9f97ab946c Allow ptyfs to be mounted inside a chrooted environment. 2009-03-15 16:47:45 +00:00
joerg d7eb1430e2 Fix markup. 2009-03-15 10:01:47 +00:00
dyoung 5786b3376f Fix spelling: s/parition/partition/. 2009-03-12 22:59:03 +00:00
joerg e4e7c43459 Don't workaround ancient macro argument limit with .Xo/.Xc. 2009-03-11 18:02:00 +00:00
joerg 0e5f0af7e9 Fix preamble 2009-03-11 13:35:21 +00:00
joerg 997634fe14 Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
ad 101a9782a2 Add crash(8), a utility to diagnose kernel crashes. This is basically
ddb running on crash dumps, but with two notable changes:

- Breakpoints, watches, etc are obviously never going to work so they
  are not handled.

- You can pipe output to the shell, e.g. ps | grep foo

Items remaining to be done:

- Port it to architectures other than i386. This isn't difficult, just
  a case of making db_disasm.c/db_trace.c or their equivalent compile
  and work.

- Make more of the "show" commands work, e.g "show uvmexp".
2009-03-07 22:08:07 +00:00
njoly e4bf6d925f Add missing free() in machdep_diskinfo(). 2009-03-05 15:35:59 +00:00
tsutsui f592533590 - add a sanity check for e2fs_inode_size in readsb()
- use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or
  struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets
2009-03-02 11:31:59 +00:00
tsutsui 14c85750c6 Use inodesize to get offset of inode in one more place. 2009-03-02 10:57:03 +00:00
tsutsui 48c2d0ee71 Fix botched logic in inodesize check. 2009-03-02 10:38:13 +00:00
tsutsui 1b5cd43c66 Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro. 2009-03-02 10:16:49 +00:00
tsutsui 8676336f2d - accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0
- use inodesize to get offset of inode, not struct ext2fs_dinode array
2009-03-02 10:15:59 +00:00
wiz dcc33b5c39 Sort options in usage. 2009-03-01 21:54:31 +00:00
wiz 9ea4262fa9 New sentence, new line. 2009-03-01 21:52:59 +00:00
wiz 5d45b7ee8a Sort options. 2009-03-01 21:52:37 +00:00
christos 29055c6385 Support variable inode sizes. 2009-03-01 19:21:09 +00:00
joerg e443a4cf79 Make function bodies static, the prototype already is. 2009-02-25 23:59:30 +00:00
christos 7b2f022cd6 don't copy the address of a pointer. Noticed by Anon Ymous 2009-02-25 13:52:18 +00:00
pooka 54db37b1cf Note change with linux compat. 2009-02-24 12:45:37 +00:00
pooka 3f2d5fc9ad Default to -o linux. This prevents programs from not working just
because the -o linux flag was not supplied, i.e. it is the sensible
default.  People who absolutely do not want the extra files in
their /proc for whatever aesthetic reason (it's not like they
consume any resources) can do -o nolinux.
2009-02-23 19:47:58 +00:00
wiz 5eb2ad1b22 Fix typo, and restore line that was lost in previous. 2009-02-23 08:14:53 +00:00
dholland 481da53c30 Restore newfs_lfs after softdep removal (hi ad) 2009-02-22 23:06:23 +00:00
ad 59fcf21389 PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
2009-02-22 20:28:05 +00:00
yamt dacc2a910d remove a useless cast. 2009-02-22 15:28:43 +00:00
yamt a85598544d nfsdefargs: use designated initializers 2009-02-20 15:37:22 +00:00
yamt bbac3fbde4 remove a useless cast. 2009-02-18 13:13:27 +00:00
christos 5dae591c0c Use the wedge size, not the disk size, from Yorick Hardy 2009-02-17 00:16:35 +00:00
is 272429c084 This ain't whitespace98. 2009-02-16 13:38:21 +00:00
abs 740916b73c put back edlabel on sun2 (m68000) 2009-02-16 12:30:58 +00:00
dholland cfacc31dc0 fix typo: "aprox." -> "approx." (approximate). 2009-02-15 08:23:31 +00:00
abs 515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
abs 2cb54095fc Build and install edlabel based on MACHINE_ARCH not MACHINE 2009-02-14 11:33:56 +00:00
uebayasi a6533b8fed Comment out CFLAGS+=-g. 2009-02-13 16:02:05 +00:00
lukem bd0ca7dff7 WARNS=4 2009-02-13 01:37:35 +00:00
lukem 9abbf3c336 fix -Wsign-compare issues 2009-02-13 01:37:23 +00:00
wiz 5452aa5f5c Bump date for previous. New sentence, new line. 2009-02-08 21:56:57 +00:00
reinoud 9a5eca17f4 Add mount_udf(8) option '-c' requesting session closure on unmount and
document it in the manpage.
2009-02-08 19:28:49 +00:00
uebayasi cede8f9855 Let 'gpt add' suggest a collect device name so that opendisk(3) called by
dkctl(8) succeeds.
2009-02-07 18:12:22 +00:00
uebayasi 0edd7181ba Make manual and usage consistent. No functional changes. 2009-02-07 17:21:44 +00:00
uebayasi b9691b268f - Display cache, strategy, and list of wedges if no command is specified in
the command line.
- Sort list of wedges.

Posted on tech-userlevel a while ago, no objections then.
2009-02-07 17:13:32 +00:00
enami ca82f7eac5 Use indent-synopsis instead of iS register. The latter is a register
used in BSD derived .Nm implementation.
2009-01-30 11:55:04 +00:00