Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2021 05:37:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 254530] ZFS (base) receive fails to receive zvol dataset if dataset already exist
Message-ID:  <bug-254530-3630-zD9dvicsOM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254530-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254530-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254530

--- Comment #10 from titus m <titus@edc.ro> ---
the trailing slash is added in 
/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c in 
zfs_ioc_dataset_list_next while searching for child datasets

then in /usr/src/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
in zfs_receive_one test for destination children will alter dataset source name

if (is_volume &&
                            ioctl(hdl->libzfs_fd, ZFS_IOC_DATASET_LIST_NEXT,
                            &zc) == 0) {

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254530-3630-zD9dvicsOM>