Date: Wed, 04 Dec 2024 06:30:57 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 175293] [patch] mtree(1): mtree "-u" option doesn't return error for extra directories Message-ID: <bug-175293-227-S2qahSDqeJ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-175293-227@https.bugs.freebsd.org/bugzilla/> References: <bug-175293-227@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=3D175293 Jose Luis Duran <jlduran@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlduran@FreeBSD.org --- Comment #3 from Jose Luis Duran <jlduran@FreeBSD.org> --- It appears this bug is longer present: % mkdir /tmp/mtree % cd /tmp/mtree % mkdir etc home % mtree -c -d > ../out % mtree -d < ../out % echo $? 0 % mkdir etc/temp % mtree -u -d < ../out etc: modification time (Wed Dec 4 12:00:00 2024, Wed Dec 4 12:00:00 20= 24) extra: etc/temp % echo $? 2 # We want to ignore etc, not home % sed -i "" 's/^\(etc[ ]*\)\(.*\)$/\1ignore/' ../out % mtree -d < ../out % echo $? 0 --=20 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-175293-227-S2qahSDqeJ>