[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #54913] find: "-type"-test wrong on bind-mounted char device

From: James Youngman
Subject: Re: [bug #54913] find: "-type"-test wrong on bind-mounted char device
Date: Sun, 5 May 2019 20:24:58 +0100

On Thu, Nov 1, 2018 at 7:01 PM Bernhard Voelker <address@hidden> wrote:
> The only alternative I can currently think of is to check the mountlist
> for the given ent->fts_path before not taking over the FTS information.

Historically, checking the mountlist has been problematic because (a)
symbolic links to mount points can give rise to confusing behaviour
(when e.g. the thing listed in /etc.fstab is a symbolic link, IIRC)
and (b) avoiding problems with recognising mount point names by using
stat() and then matching on decide and inode number also causes a
problem where find hangs in the stat() call when there is an
unresponsive NFS server.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]