Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/apache2/mDNSResponder/usr.sbin/mdnsd since the mDNS...



details:   https://anonhg.NetBSD.org/src/rev/388290386545
branches:  trunk
changeset: 762757:388290386545
user:      plunky <plunky%NetBSD.org@localhost>
date:      Sun Feb 27 13:05:38 2011 +0000

description:
since the mDNSResponder daemon is installed as mdnsd, there is some
confusion in the manpage. Not to mention the examples including
commands that don't exist on NetBSD (killall, sudo), so do a bit of
cleanup (and don't copy from dist, just keep it here)

mDNSResponder -> mdnsd
mdnsd -> mDNSResponder
mDNS -> dns-sd
killall -> pkill
% sudo -> #
syslog(8) -> syslogd(8)
example for syslog -> /dev/null
Xr for pkill, syslogd, dns-sd

diffstat:

 external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile |   7 +---
 external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8  |  30 +++++++++---------
 2 files changed, 16 insertions(+), 21 deletions(-)

diffs (97 lines):

diff -r 81c7735016cf -r 388290386545 external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
--- a/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile    Sun Feb 27 13:01:05 2011 +0000
+++ b/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile    Sun Feb 27 13:05:38 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2009/10/18 17:43:11 tron Exp $
+#      $NetBSD: Makefile,v 1.6 2011/02/27 13:05:38 plunky Exp $
 
 PROG=  mdnsd
 
@@ -16,9 +16,4 @@
 
 MAN=   mdnsd.8
 
-mdnsd.8: mDNSResponder.8
-       ${TOOL_CAT} < $? > $@
-
-CLEANFILES+=   mdnsd.8
-                               
 .include <bsd.prog.mk>
diff -r 81c7735016cf -r 388290386545 external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8
--- a/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8     Sun Feb 27 13:01:05 2011 +0000
+++ b/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8     Sun Feb 27 13:05:38 2011 +0000
@@ -1,3 +1,5 @@
+.\"    $NetBSD: mdnsd.8,v 1.2 2011/02/27 13:05:38 plunky Exp $
+.\" 
 .\" -*- tab-width: 4 -*-
 .\" 
 .\" Copyright (c) 2003-2004 Apple Computer, Inc. All Rights Reserved.
@@ -47,12 +49,12 @@
 .\"
 .\"
 .\"
-.Dd April 2004              \" Date
-.Dt mDNSResponder 8         \" Document Title
+.Dd February 27, 2011       \" Date
+.Dt mdnsd 8                 \" Document Title
 .Os Darwin                  \" Operating System
 .\"
 .Sh NAME
-.Nm mDNSResponder
+.Nm mdnsd
 .Nd Multicast and Unicast DNS daemon    \" Name Description for whatis database
 .\" 
 .Sh SYNOPSIS
@@ -61,7 +63,7 @@
 .Sh DESCRIPTION
 .Nm
 (also known as
-.Nm mdnsd
+.Nm mDNSResponder
 on some systems)
 is a daemon invoked at boot time to implement Multicast DNS and DNS Service Discovery. On
 Mac OS X 10.6 (Snow Leopard), 
@@ -85,7 +87,8 @@
 .Pp
 .Ss LOGGING
 There are several methods with which to examine 
-.Nm Ns 's internal state for debugging and diagnostic purposes. The syslog(1)
+.Nm Ns 's internal state for debugging and diagnostic purposes. The
+.Xr syslogd 8
 logging levels map as follows:
 .Pp
 .Dl Error - Error messages
@@ -98,26 +101,23 @@
 A SIGUSR1 signal toggles additional logging, with Warning and Notice
 enabled by default:
 .Pp
-.Dl % sudo killall -USR1 mDNSResponder
-.Pp
-Once this logging is enabled, users can additionally use syslog(1)
-to change the log filter for the process. For example, to enable log levels Emergency - Debug:
-.Pp
-.Dl % sudo syslog -c mDNSResponder -d
+.Dl # pkill -USR1 mdnsd
 .Pp
 A SIGUSR2 signal toggles packet logging:
 .Pp
-.Dl % sudo killall -USR2 mDNSResponder
+.Dl # pkill -USR2 mdnsd
 .Pp
 A SIGINFO signal will dump a snapshot summary of the internal state to 
 .Pa /var/log/system.log Ns :
 .Pp
-.Dl % sudo killall -INFO mDNSResponder
+.Dl # pkill -INFO mdnsd
 .Sh FILES
-.Pa /usr/sbin/mDNSResponder \" Pathname
+.Pa /usr/sbin/mdnsd \" Pathname
 .\"
 .Sh SEE ALSO
-.Xr mDNS 1
+.Xr dns-sd 1 ,
+.Xr pkill 1 ,
+.Xr syslogd 8
 .Pp
 For information on Multicast DNS, see
 .Pa http://www.multicastdns.org/



Home | Main Index | Thread Index | Old Index