Bug 151854

Summary: [patch] table of operations in kdump(1) manpage lists GENIO and SIG instead of GIO and PSIG
Product: Documentation Reporter: Stephen Veiss <stephen>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Stephen Veiss 2010-11-01 02:00:19 UTC
The manpage for kdump(1) contains a table of operation abbreviations, used in the output of kdump(1). Two of these abbreviations are wrong -- the manpage does not match the output of kdump(1). 

The manpage lists GENIO and SIG, while kdump(1) actually outputs GIO and PSIG respectively. 

I've attached a patch to the manpage to fix this.

Fix: Attached patch, against HEAD. 

Patch attached with submission follows:
How-To-Repeat: ktrace(1) a program which performs IO and receives a signal.
kdump(1) the output, note that kdump lists operations of type GIO and PSIG. 
Check man 1 kdump, note that GIO and PSIG aren't listed in the table of operations near the bottom. GENIO and SIG are, however.
Comment 1 dfilter service freebsd_committer freebsd_triage 2010-11-01 15:19:06 UTC
Author: jhb
Date: Mon Nov  1 15:18:57 2010
New Revision: 214625
URL: http://svn.freebsd.org/changeset/base/214625

Log:
  Correct the abbreviations for general I/O and signal traces.
  
  PR:		docs/151854
  Submitted by:	Stephen Veiss  stephen of brokenbottle net
  MFC after:	3 days

Modified:
  head/usr.bin/kdump/kdump.1

Modified: head/usr.bin/kdump/kdump.1
==============================================================================
--- head/usr.bin/kdump/kdump.1	Mon Nov  1 11:38:04 2010	(r214624)
+++ head/usr.bin/kdump/kdump.1	Mon Nov  1 15:18:57 2010	(r214625)
@@ -162,13 +162,13 @@ Seven bytes were written by the
 system call, so 7 is the return value.
 .Pp
 The possible operations are:
-.Bl -column -offset indent ".Li GENIO" ".No data from user process"
+.Bl -column -offset indent ".Li CALL" ".No data from user process"
 .It Sy Name Ta Sy Operation Ta Sy Fourth field
 .It Li CALL Ta enter syscall Ta syscall name and arguments
 .It Li RET Ta return from syscall Ta syscall name and return value
 .It Li NAMI Ta file name lookup Ta path to file
-.It Li GENIO Ta general I/O Ta fd, read/write, number of bytes
-.It Li SIG Ta signal Ta signal name, handler, mask, code
+.It Li GIO Ta general I/O Ta fd, read/write, number of bytes
+.It Li PSIG Ta signal Ta signal name, handler, mask, code
 .It Li CSW Ta context switch Ta stop/resume user/kernel
 .It Li USER Ta data from user process Ta the data
 .It Li STRU Ta various syscalls Ta structure
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 2 John Baldwin freebsd_committer freebsd_triage 2010-11-01 15:20:13 UTC
State Changed
From-To: open->closed

Fix committed to HEAD, will MFC in a few days.  Thanks!