Date: Tue, 28 Feb 2023 08:16:02 +0000 From: "Piotr P. Stefaniak" <pstef@freebsd.org> To: Xin Li <delphij@freebsd.org> Cc: dev-commits-src-main@freebsd.org Subject: Re: git: 39e8c2a29a86 - main - cleanvar: Be more careful when cleaning up /var. Message-ID: <Y/24QliX%2BY6L4vS5@freefall.freebsd.org> In-Reply-To: <b7c8f1ed-9419-3980-1b90-a90335834904@FreeBSD.org> References: <202302130457.31D4v8Hh067792@gitrepo.freebsd.org> <Y/1B/IQ52%2BNv8HKx@freefall.freebsd.org> <b7c8f1ed-9419-3980-1b90-a90335834904@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2023-02-27 22:14:04, Xin Li wrote: >On 2023-02-27 3:51 PM, Piotr P. Stefaniak wrote: >> Do we want to assume that /var/run is never a symlink? If not, we >> probably want to use find -xH here. > >No, I don't think it's safe to follow symlinks. I'd like to stress that my suggestion was to add -H, not -L. >If it's desirable to follow /var/run itself, perhaps this should be >changed to "/var/run/". It seems to me that that would effectively do the same, at least in this case. Piotr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y/24QliX%2BY6L4vS5>