[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #14921] find -fstype broken when bind-mounts are used
From: |
James Youngman |
Subject: |
Re: [bug #14921] find -fstype broken when bind-mounts are used |
Date: |
Sun, 3 Jun 2007 10:20:32 +0100 |
On 5/14/07, Andreas Metzler <address@hidden> wrote:
Follow-up Comment #9, bug #14921 (project findutils):
Hello,
Well, lets not call it a bug but a wishlist item. I think a different
behavior is preferable, with reporting the "original" /tmp/a as ext3 and the
bind-mounted "copy" as type none.
I can not see a way to distinguish the filesystem type of a bind mount
to X from the filesystem type of X itself, without reproducing the
symbolic link resolution algorithm in userspace.
This would allow solving the suggestion in <http://bugs.debian.org/329385>:
| Having a machine with several chroot's and filesystems mounted
| with bind, these filesystems are searched over and over again.
| Please add 'none' to PRUNEFS in /etc/updatedb.conf.
Perhaps it's not ideal, but these cases can be solved with
--prunepaths, except for the case of bind mounts to files.
James.
- Re: [bug #14921] find -fstype broken when bind-mounts are used,
James Youngman <=