[Bug 175293] [patch] mtree(1): mtree "-u" option doesn't return error for extra directories
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Dec 2024 06:30:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=175293
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 2024)
extra: etc/temp
% echo $?
2
# We want to ignore etc, not home
% sed -i "" 's/^\(etc[ ]*\)\(.*\)$/\1ignore/' ../out
% mtree -d < ../out
% echo $?
0
--
You are receiving this mail because:
You are the assignee for the bug.