Re: How to determine what the links to / are

From: Bruce Zimmer (b.r.zimmer@WORLDNET.ATT.NET)
Date: Wed Aug 28 2002 - 06:47:07 EDT


If the rename of the directory mount point occurred via smit, I don't
believe that smit removes the old mount point, just creates a new one
and changes the mount information in /etc/filesystems.

Just my .02

Bruce Zimmer
Central Data Systems
(248) 615-4644 (direct)
(248) 705-9231 (cell)
bzimmer@centraldata.com

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Green, Simon
Sent: Wednesday, August 28, 2002 5:05 AM
To: aix-l@Princeton.EDU
Subject: Re: How to determine what the links to / are

I'm not familiar with Tripwire, so I can't comment on what it reports.
Renaming a directory wouldn't have changed the number of links.
Tripwire is
reporting that it increased, so *somebody* must have added another
directory.

Simon Green
Philip Morris ITSC Europe

AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
AIX FAQ at http://www.faqs.org/faqs/aix-faq/

N.B. Unsolicited email from vendors will seldom be appreciated.

> -----Original Message-----
> From: Adams Kevin J [mailto:kevin.adams@PHS.COM]
> Sent: 23 August 2002 18:39
> To: aix-l@Princeton.EDU
> Subject: Re: How to determine what the links to / are
>
>
> Simon,
>
> I believe that you and Sunder are correct based on the following:
>
> # ls -l /|grep ^d|wc -l
> 27
>
> # istat /
> Inode 2 on device 10/4 Directory
> Protection: rwxr-xr-x
> Owner: 0(root) Group: 0(system)
> Link count: 29 Length 1536 bytes
>
>
> However, I'm very confused that Tripwire did not report a new
> directory or
> something.
>
> I assume that you add 2 for "." and "..".
>
> I did rename a directory mount point, but would not expect
> that to make the
> difference.



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