try 

find / <filename> -mount

The -mount tells find not to descend directories on other filesystems.

Also check out man find.

Karthik Vishwanath <[EMAIL PROTECTED]> wrote:
> Hello All,
> 
> I realise that find is a command that I frequently run. I mount my 
> windows partition as /dosc and sometimes have my cd mounted. I do not 
> want find to check these mounts for the files. The two linux mounts I 
> have are /dev/hda2 -> / and /dev/hda3 -> /home, and these are the only 
> two I want to search. How can I do this? 
> 
> Thanks,
> -Karthik.
> 
> -------------------------------------
> Whatever you want to do, you have to do something else first.
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs


--

R. Haehnel

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to