From owner-freebsd-fs@FreeBSD.ORG Sun Sep 2 19:56:42 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89C50106564A for ; Sun, 2 Sep 2012 19:56:42 +0000 (UTC) (envelope-from Yuri.Pankov@nexenta.com) Received: from mail132.messagelabs.com (mail132.messagelabs.com [216.82.242.115]) by mx1.freebsd.org (Postfix) with ESMTP id 3193F8FC0A for ; Sun, 2 Sep 2012 19:56:41 +0000 (UTC) X-Env-Sender: Yuri.Pankov@nexenta.com X-Msg-Ref: server-11.tower-132.messagelabs.com!1346615399!12290532!1 X-Originating-IP: [199.119.192.67] X-StarScan-Received: X-StarScan-Version: 6.6.1.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 18517 invoked from network); 2 Sep 2012 19:50:00 -0000 Received: from out001.apptixemail.net (HELO out001.apptixemail.net) (199.119.192.67) by server-11.tower-132.messagelabs.com with AES128-SHA encrypted SMTP; 2 Sep 2012 19:50:00 -0000 Received: from [192.168.1.4] (10.2.67.253) by smtp.apptixemail.net (10.2.65.59) with Microsoft SMTP Server id 14.2.247.3; Sun, 2 Sep 2012 14:49:59 -0500 Message-ID: <5043B866.6060204@nexenta.com> Date: Sun, 2 Sep 2012 23:49:58 +0400 From: Yuri Pankov Organization: Nexenta Systems, Inc. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-fs , illumos-zfs , Matthew Ahrens References: <50438BF5.8030004@gibfest.dk> <5043B0CB.8040907@gibfest.dk> <20120902193100.GG1266@glenbarber.us> In-Reply-To: <20120902193100.GG1266@glenbarber.us> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: zfs send -r missing - but documented in zfs(8) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 19:56:42 -0000 On Sun, 2 Sep 2012 15:31:00 -0400, Glen Barber wrote: > On Sun, Sep 02, 2012 at 09:17:31PM +0200, Thomas Steen Rasmussen wrote: >>> Hello list, >>> >>> For some reason it seems like the -r argument to "zfs send" isn't >>> implemented in FreeBSD. It is documented in the usage output >>> seen below: >>> >>> >>> I had a similar experience with out-of-sync docs and then I think a >>> missing mergemaster might have had something to do with it. >>> >> Hello, >> >> This is not just the manpage out of sync. Ironically >> the zfs tool itself reports the lower-case -r option >> in the usage output that it shows me because -r >> is an invalid option: >> >> ------------------------------------------------------------ >> $ zfs send -r >> invalid option 'r' >> usage: >> send [-DnPpRrv] [-i snapshot | -I snapshot] >> > > I reported this to Martin a few days ago, but not yet had time myself to > check if this is also a bug upstream. Talking about upstream, looks like -r was added to usage and man page in r13524 by Matthew Ahrens (CCed), but the functionality itself is missing.