Subject: Re: find question
To: Georges Heinesch <geohei-ml@geohei.lu>
From: Jon Lindgren <jlindgren@slk.com>
List: netbsd-help
Date: 05/29/2001 09:34:02
On Tue, 29 May 2001 collver@linuxfreemail.com wrote:

> > It seems that the find command doesn't recursively search down the
> > directory tree of a CD.
> > 
> > 1. Can someone confirm this?
> 
> bash-2.05# mount
> /dev/wd1a on / type ffs (NFS exported, local, soft dependencies)
> kernfs on /kern type kernfs (local)
> /dev/cd0a on /mnt type cd9660 (local, read-only)
> 
> bash-2.05# find /mnt -name 02-kubba.mp3
> /mnt/u-ziq/brace-yourself/02-kubba.mp3
> 
> find is working for me.

Me too... there is a way, however, to prevent find from searching on
devices other than whatever the specified directory is on i.e. if / is on
/dev/sd0a and /cdrom is on /dev/mycd0, 'find -x / -name myfile -print'
will only search /dev/sd0a.  Are you using -x?

- Jon
 --------------------------------------------------------------------
 "'The chicken,' it's been said, 'is just an eggs way of making more
  eggs.'" -- Alton Brown