From owner-svn-src-all@freebsd.org Wed Mar 23 00:41:38 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EACA99AC9C; Wed, 23 Mar 2016 00:41:38 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 10289165A; Wed, 23 Mar 2016 00:41:37 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi0-f51.google.com with SMTP id w20so600883oia.2; Tue, 22 Mar 2016 17:41:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc; bh=tU+bF8/c9s+Ygo7Qe35ufII1Vq2h/T+eveS2b9HrmoA=; b=l1U7hE265vXBM436dtrnu5j5no/SCTaPIU1DbI9pDgNf9iDXhjIUiou4ev3f0h2y3K QnN9T7fOEx/A72h8zDDMooRs6UFapsWxuhXZ9a6d2GOsjLndQkqkywaENwqTYjKAKJRh b62R1hqof2uHqbjJdVR9nYlXmDJ74kTjCqU1/GLZNxaGAd/JGTuNUg04uTuuxo7qfvlW E5Etkcv6i6C5l16E9BH3B+vDOZPRxEVJhqQItoGq7cahbrW4k/kQ9mDjy37dQ6uKZoC+ hEnf1/c4P/6eXzZKvieg+EuzxMG4+/0DQvlzWWexUktHAuikbh/ZA0/AVrnh7RcxocWr CaLQ== X-Gm-Message-State: AD7BkJIqKHwFi/sLjsn0RhqMABLghPYaRn4APOuvC4J6G6aAG9hzAtMcd/tTg+zh96Hslg== X-Received: by 10.202.200.206 with SMTP id y197mr24261oif.92.1458693691267; Tue, 22 Mar 2016 17:41:31 -0700 (PDT) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com. [209.85.218.54]) by smtp.gmail.com with ESMTPSA id yn3sm14541542obc.27.2016.03.22.17.41.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2016 17:41:31 -0700 (PDT) Received: by mail-oi0-f54.google.com with SMTP id d205so681158oia.0; Tue, 22 Mar 2016 17:41:30 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.157.13.138 with SMTP id 10mr32247ots.134.1458693690774; Tue, 22 Mar 2016 17:41:30 -0700 (PDT) Reply-To: cem@FreeBSD.org Received: by 10.157.36.202 with HTTP; Tue, 22 Mar 2016 17:41:30 -0700 (PDT) In-Reply-To: <201603222241.u2MMf7ub090070@repo.freebsd.org> References: <201603222241.u2MMf7ub090070@repo.freebsd.org> Date: Tue, 22 Mar 2016 17:41:30 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r297201 - in head: share/man/man4 sys/dev/filemon From: Conrad Meyer To: Bryan Drewery Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 00:41:38 -0000 On Tue, Mar 22, 2016 at 3:41 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Tue Mar 22 22:41:07 2016 > New Revision: 297201 > ... > --- head/share/man/man4/filemon.4 Tue Mar 22 22:41:03 2016 (r297200) > +++ head/share/man/man4/filemon.4 Tue Mar 22 22:41:07 2016 (r297201) > @@ -161,6 +161,12 @@ No process having the specified process > The process ID specified is already being traced and was not the current > process. > .El > +.Pp > +The > +.Fn close > +system call on the filemon file descriptor may fail with the errors from > +.Xr write 2 > +if any error is encountered while writing the log. > .Sh FILES > .Bl -tag -width ".Pa /dev/filemon" > .It Pa /dev/filemon Shouldn't this be documented in the close(2) manual page instead? (I believe it is generally true for many kinds of fd where errors can occur between write and close.) I thought close.2 would have a blurb like this and I see it doesn't in recent CURRENT. Best, Conrad