Subject: Re: find question
To: None <netbsd-help@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: netbsd-help
Date: 05/30/2001 18:27:26
Quoting Jon Lindgren (29-May-01 14: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?

Nope. I'm not using the -x option.

The weird thing now is that commercial CDs are searched recursively.
The CD I tested was self-burned ISO 9660.

What could have gone wrong here?

-- 
Cu  Georges Heinesch, Luxembourg
    geohei@geohei.lu
    http://www.geohei.lu
    PGP RSA & DH/DSS public key on request and on public servers

... don't do anything, I wouldn't do ...