>>>>> "sunckell" == sunckell  <[EMAIL PROTECTED]> writes:

sunckell>    Hope everyone had a great weekend.  I was working on a perl
sunckell> wrapper around the lsof command.  On the AIX machines I work on the
sunckell> version of lsof does not display the file name, only the node.  So I
sunckell> thought I would write a small wrapper around lsof that does a find
sunckell> on the inode (with the volume specifically given as a command line
sunckell> option.) 

So you're willing to wait a large number seconds (probably minutes) to find
a full path name, given an inode?  That's why lsof doesn't print it, by
the way. :)

It might not even exist (it could be already deleted, for example), or
it might not be in a directory you can reach.

What's the *real* problem you're trying to solve the hard way?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to