How to determine what the links to / are

From: Adams Kevin J (kevin.adams@PHS.COM)
Date: Thu Aug 22 2002 - 17:11:21 EDT


The other day Tripwire told me the number of links to / had changed from 30
to 31:

changed: drwxr-xr-x root 1536 Aug 17 02:01:20 2002 /

### Phase 5: Generating observed/expected pairs for changed files
###
### Attr Observed (what it is) Expected (what it should be)
### =========== ============================= =============================
/
      st_nlink: 31 30

To verify this I ran istat as follows:

# istat /
Inode 2 on device 10/4 Directory
Protection: rwxr-xr-x
Owner: 0(root) Group: 0(system)
Link count: 31 Length 1536 bytes

Last updated: Thu Aug 22 02:01:24 2002
Last modified: Thu Aug 22 02:01:24 2002
Last accessed: Thu Aug 22 12:02:40 2002

How can I tell what the links are?

Kevin Adams

This electronic message transmission, including any attachments, contains information from PacifiCare Health Systems Inc. which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.

If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:10 EDT