Subject: bin/14470: find fails with an error on certain CDROMs
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/05/2001 07:50:14
>Number:         14470
>Category:       bin
>Synopsis:       find fails with an error on certain CDROMs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 05 07:51:00 PST 2001
>Originator:     Gavan Fantom
>Release:        1.5/i386 and 1.5.2/arm32
NetBSD theforce 1.5 NetBSD 1.5 (THEFORCE) #15: Fri Oct  5 22:11:36 BST 2001     gavan@theforce:/usr/src/sys/arch/i386/compile/THEFORCE i386
find fails with an error while traversing the directory structure of one particular CDROM which I have. While this *may* be a problem with the CD, or an interaction with a non-standard extension to ISO9660 (the CDROM is aimed at Acorn users, so uses CDFS extensions), find shouldn't bomb out entirely here, as this results in the daily security script amongst others failing in strange ways.

This problem occurs both on 1.5/i386 and 1.5.2/arm32.
Using the "RISC OS Programmer's Reference Manuals" CDROM, from RISC OS Ltd.

bash-2.04$ mount | grep mnt
/dev/cd0d on /mnt type cd9660 (local, read-only)
bash-2.04$ find /mnt >/dev/null
find: fts_read: No such file or directory

Unknown as yet; maybe find should be modified to change this condition to a non-fatal error?

I will be happy to test ideas, bugfixes etc.