[Techtalk] Linux file system versus dos/win model
Elwing
elwing at elwing.org
Tue Jul 29 23:04:18 UTC 2008
On Jul 29, 2008, at 6:51 PM, Miriam English wrote:
> I'd be interested in the answer to this too. It always seemed to me
> that
> the Linux way of doing this makes for a couple of inconveniences.
>
> It makes it harder to restrict a search to the main hard drive without
> unmounting other drives or breaking the search into smaller parts. For
> example if I'm looking for a particular program on the main boot hard
> drive I need to either separately search /bin, /usr, /root, and any
> other likely spots or else unmount any other drives attached to the
> filesystem before searching /
just FYI
You can restrict find using the -mount, -xdev or -x command (depending
on the version of find that you have)
It limits find to only the device you start from
so if you have / and /usb
and you do
find / -name "filename" -x it will only search / and not /usb
Might make your life easier :)
Elwing
More information about the Techtalk
mailing list