Date: Tue, 30 Mar 2010 08:30:09 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/144411: [patch] mtree(8) doesn't reject non-regular files for -X Message-ID: <201003300830.o2U8U93Y096013@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/144411; it has been noted by GNATS. From: Garrett Cooper <gcooper@FreeBSD.org> To: bug-followup@FreeBSD.org, gcooper@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003300830.o2U8U93Y096013>