Re: secure file not updating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

On Sun, Dec 14, 2008 at 21:25, Mike -- EMAIL IGNORED
<m_d_berger_1900@xxxxxxxxx> wrote:
> Very interesting analysis.  swatch uses tail -f, or something
> that mimics it to watch the file.  I would then guess that as
> per your explanation, swatch contilues to watch the "old file".

Yes, actually using "tail -f" in a terminal while using "vi" to
rewrite the logfile in another terminal you can check that yourself.

You can also use "ls -li" to show the "inode number" of the file, you
will see that after saving the file with "vi" the inode will change,
which will mean that it's a new file.

Filipe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux