From owner-freebsd-fs@FreeBSD.ORG Thu Feb 19 18:40:03 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B4A2106566B for ; Thu, 19 Feb 2009 18:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 39E058FC08 for ; Thu, 19 Feb 2009 18:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1JIe3aq087538 for ; Thu, 19 Feb 2009 18:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1JIe3Ep087537; Thu, 19 Feb 2009 18:40:03 GMT (envelope-from gnats) Date: Thu, 19 Feb 2009 18:40:03 GMT Message-Id: <200902191840.n1JIe3Ep087537@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: George Hartzell Cc: Subject: Re: bin/130105: [zfs] zfs send -R dumps core X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George Hartzell List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 18:40:03 -0000 The following reply was made to PR bin/130105; it has been noted by GNATS. From: George Hartzell To: bug-followup@FreeBSD.org, goran.lowkrantz@ismobile.com Cc: Subject: Re: bin/130105: [zfs] zfs send -R dumps core Date: Thu, 19 Feb 2009 10:05:27 -0800 The following patch seems to fix the core dumps. I've only tested sending the stream to /dev/null and to a file, still working on setting up a receiver. This is based on a thread in the zfs-fuse mailing list. g. --- zfs_prop.c 2009/02/17 18:58:58 1.1 +++ zfs_prop.c 2009/02/19 09:54:04 @@ -297,7 +297,7 @@ /* hidden properties */ register_hidden(ZFS_PROP_CREATETXG, "createtxg", PROP_TYPE_NUMBER, - PROP_READONLY, ZFS_TYPE_DATASET, NULL); + PROP_READONLY, ZFS_TYPE_DATASET, "CREATETXG"); register_hidden(ZFS_PROP_NUMCLONES, "numclones", PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_SNAPSHOT, NULL); register_hidden(ZFS_PROP_NAME, "name", PROP_TYPE_STRING,