Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 11:30:01 GMT
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/167066: [zfs] ZVOLs not appearing in /dev/zvol
Message-ID:  <201211231130.qANBU1e5060775@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/167066; it has been noted by GNATS.

From: Andriy Gapon <avg@FreeBSD.org>
To: bug-followup@FreeBSD.org, rimbalza@gmail.com,
        Andreas Nilsson <andrnils@gmail.com>
Cc:  
Subject: Re: kern/167066: [zfs] ZVOLs not appearing in /dev/zvol
Date: Fri, 23 Nov 2012 13:22:26 +0200

 Please try the following patch:
 
 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
 +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
 @@ -3824,6 +3824,11 @@ zfs_ioc_recv(zfs_cmd_t *zc)
  		error = 1;
  	}
  #endif
 +
 +#ifdef __FreeBSD__
 +	if (error == 0)
 +		zvol_create_minors(tofs);
 +#endif
  	/*
  	 * On error, restore the original props.
  	 */
 
 -- 
 Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211231130.qANBU1e5060775>