bug-findutils
[Top][All Lists]
Advanced

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

[bug #14921] find -fstype broken when bind-mounts are used


From: James Youngman
Subject: [bug #14921] find -fstype broken when bind-mounts are used
Date: Fri, 11 Nov 2005 07:55:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Ubuntu package 1.0.7)

Follow-up Comment #1, bug #14921 (project findutils):

I tried to reproduce the problem by just editing /etc/mtab.   

find goes through the file calling stat on the entries.  If the path in the
entry has the same device number as the file we're trying to match, find uses
the fstype from that line in the file.

This means that if you add an entry to /etc/mtab which isn't really mounted,
you can get spurious matches, like I just did.  Hence I can't reproduce the
problem just by editing /etc/mtab.  I don't have support for the relevant
filesystem on my development machine either.  

Could you ask the original problem-reporter to investigate further?

James.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14921>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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