Re: How to locate which hard drive having certain program?

"Oisin C. Feeley" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>

On Wed, 12 Mar 2003, jdow wrote:

<snip>

>Easier
>which <programname>
>df <program's path from the which results>
>
>eg
>[YYYY@XX ~]$ which Mail
>/usr/bin/Mail
>[YYYY@XX ~]$ df /usr/bin
>Filesystem           1k-blocks      Used Available Use% Mounted on
>/dev/hda9              5044156   2351092   2436832  50% /usr
>[YYYY@XX ~]$
>
>This has the handy side effect of telling you some additional useful data.
>

Much better!  For some reason I had only ever used "df" on directories 
(when of course everything is a file in *NIX).  Very handy.

Thanks Joanne.

Oisin Feeley
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.