bin/144411: [patch] mtree(8) doesn't reject non-regular files
for -X
Garrett Cooper
gcooper at FreeBSD.org
Tue Mar 30 08:30:09 UTC 2010
The following reply was made to PR bin/144411; it has been noted by GNATS.
From: Garrett Cooper <gcooper at FreeBSD.org>
To: bug-followup at FreeBSD.org, gcooper at FreeBSD.org
Cc:
Subject: Re: bin/144411: [patch] mtree(8) doesn't reject non-regular files for
-X
Date: Tue, 30 Mar 2010 01:21:58 -0700
Hi,
I'm not 100% satisfied with this patch now. Looking back it fails
the following case:
-P Do not follow symbolic links in the file hierarchy, instead con-
sider the symbolic link itself in any comparisons. This is the
default.
I need to add a check for this option to the patch, use stat if
the `follow links' state is true, otherwise use lstat.
Thanks,
-Garrett
More information about the freebsd-bugs
mailing list