Bug 177352 - Find returns "no such file" error when using fstype option
Summary: Find returns "no such file" error when using fstype option
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: findutils
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-09 23:03 UTC by Victor Orgos
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-10 12:33:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Victor Orgos 2006-01-09 23:03:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Description of problem:
When trying to find all files of specified filesystem type, the find utility prints to stderr that it cannot fild a file (itself) in the proc filesystem:

# find / -fstype ext3 | wc -l
find: /proc/10288/fd: No such file or directory


This also occurs in RHEL v4 using findutils-4.1.20-7

# find / -fstype ext3 |wc -l
find: /proc/3853/task/3853/fd/4: No such file or directory


This does NOT occur on Redhat Linux v8 using findutils-4.1.7-7

Thanks.

Version-Release number of selected component (if applicable):
findutils-4.1.7-9

How reproducible:
Always

Steps to Reproduce:
1. find / -fstype ext3 > /dev/null
2.
3.
  

Actual Results:  find: /proc/3853/task/3853/fd/4: No such file or directory

Expected Results:  No error

Additional info:

Comment 1 Tim Waugh 2006-01-10 12:33:44 UTC
Actually findutils-4.1.7-7 gives the same behaviour for me under the same kernel.

Anyway, reported upstream:
  https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=15416



Note You need to log in before you can comment on or make changes to this bug.