bin/130105: [zfs] zfs send -R dumps core

George Hartzell hartzell at alerce.com
Thu Feb 19 10:40:03 PST 2009


The following reply was made to PR bin/130105; it has been noted by GNATS.

From: George Hartzell <hartzell at alerce.com>
To: bug-followup at FreeBSD.org,
 goran.lowkrantz at 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,
 


More information about the freebsd-fs mailing list