From owner-freebsd-fs@FreeBSD.ORG Sun Sep 2 16:40:24 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E1D51065675 for ; Sun, 2 Sep 2012 16:40:24 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from mail.tyknet.dk (mail.tyknet.dk [IPv6:2a01:4f8:141:52a3:186::]) by mx1.freebsd.org (Postfix) with ESMTP id 122878FC0A for ; Sun, 2 Sep 2012 16:40:24 +0000 (UTC) Received: from [10.10.1.100] (unknown [217.71.4.82]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id CCC7DD07A8 for ; Sun, 2 Sep 2012 18:40:22 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.5.2 mail.tyknet.dk CCC7DD07A8 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1346604023; bh=k/YEpHYsOHwYjpkKFYDGueoPmW7Z3tgcRPIldd1YgSM=; h=Date:From:To:Subject; b=mEE2265L0/13NPT+K5j+D6moLjWUlpmLeXaPsnVbjRkJUUAzAMKf707LzuTRzlfw/ 0oi60oA1yOoIBliOM4Gxe89dFpkAdO8P6q9MKAk2/7y/fOwwyLPmYVCGzS5wq4NZzp gjxvQat9pIVARhwYbxOWP009RT8dLSEi29Ly8+hI= Message-ID: <50438BF5.8030004@gibfest.dk> Date: Sun, 02 Sep 2012 18:40:21 +0200 From: Thomas Steen Rasmussen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120604 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 16:40:24 -0000 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: ------------------------------------------------------------------------- # zfs send -r invalid option 'r' usage: send [-DnPpRrv] [-i snapshot | -I snapshot] For the property list, run: zfs set|get For the delegated permission list, run: zfs allow|unallow ------------------------------------------------------------------------- This is on a recent 9-STABLE: # uname -rms FreeBSD 9.1-PRERELEASE amd64 The option is also documented in the manpage zfs(8): -r Recursively send all descendant snapshots. This is similar to the -R flag, but information about deleted and renamed datasets is not included, and property information is only included if the -p flag is specified. I've checked the source and /usr/src/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c doesn't contain any traces of a -r option in zfs_do_send() I've also checked the IllumOS source and the situation is the same there, the option is documented but not present in the code: https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/zfs/zfs_main.c#L3543 Does anyone know what is going on here ? Either the code should be imported, whereever it is, or the manpage and usage info of zfs(8) needs updating. Best regards, Thomas Steen Rasmussen