Folks,

I saw "find" behaving inconsistently while finding files on an ntfs
partition. It was unable to find files ending in .dat, but then later
on it did find those. C drive has been mounted on /mnt/m0, and the
other partition has Windows XP. Details below:

-------------------------------------------
OpenBSD_45$ pwd
/mnt/m0/Program Files/Norton Internet Security
OpenBSD_45$ ls
Branding    Engine      MUI         isolate.ini
OpenBSD_45$ cd MUI
OpenBSD_45$ ls
16.1.0.33    fallback.dat langver.map  maplngid.dat
OpenBSD_45$ find . -name "*.dat"
./fallback.dat
./maplngid.dat
OpenBSD_45$ cd ../
OpenBSD_45$ pwd
/mnt/m0/Program Files/Norton Internet Security
OpenBSD_45$ find . -name "*.dat"
./Branding/fallback.dat
./Engine/16.2.0.7/ccGEvt/Global/LM.dat
./Engine/16.2.0.7/ccGLog/ccGLog.dat
./Engine/16.2.0.7/hnData.dat
./Engine/16.2.0.7/Jobs/ccJobManagerSchedules.dat
./Engine/16.2.0.7/NCOVER.dat
./Engine/16.2.0.7/ncwTrstP.dat
./Engine/16.2.0.7/NisVer.dat
./Engine/16.2.0.7/NPCTray.dat
./Engine/16.2.0.7/nppw.dat
./Engine/16.2.0.7/service.dat
./MUI/fallback.dat
./MUI/maplngid.dat
OpenBSD_45$ find . -name "*.dat"

At this point, find returns no results, even though the files exist.

OpenBSD_45$ mount
/dev/sd0a on / type ffs (local)
/dev/sd0h on /home type ffs (local, nodev, nosuid)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid)
/dev/sd0g on /usr type ffs (local, nodev, softdep)
/dev/sd0e on /var type ffs (local, nodev, nosuid)
procfs on /proc type procfs (local, linux)
/dev/sd0i on /mnt/m0 type ntfs (local)
OpenBSD_45$
-------------------------------------------

Not sure if this is a bug in find, or a bug in me, so thought of
running it through you before I file a bug report. Thanks.

-Amarendra

Reply via email to