file tracking

i need to keep an record of each and every file that has been created. how can i do it. if i know the absolute pathname for the files, i can easily path walk through it. but i can’t trace the absolute pathname.

i am using linux-2.6.26 and working on ext2 file system.

can anyone tell me how to keep track. or any suggestions please.
so please help me…

Hi,

that sounds like an ideal task for inotify inotify - Wikipedia, the free encyclopedia. There are APIs available for different programming languages.

Hope this helps

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How are the files being created? Current releases of Linux (SLES
included) have an ‘audit’ component that I believe is built into the
kernel and therefore should be able to report on things like this. I
haven’t used it myself but it sounds like you’re after auditing.

Also, in cases like these, it sometimes helps to know exactly what you
are after. Chances are you aren’t after a list of file creations just
for kicks and because you like some light reading at night…

Good luck.

veda87 wrote:
> i need to keep an record of each and every file that has been created.
> how can i do it. if i know the absolute pathname for the files, i can
> easily path walk through it. but i can’t trace the absolute pathname.
>
> i am using linux-2.6.26 and working on ext2 file system.
>
> can anyone tell me how to keep track. or any suggestions please.
> so please help me…
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJJnrxOAAoJEFl00+q2r0Yp89IP/1jI9Ko2sVKdYH8FeB01RzdN
VjcY0eq9k5/G9z0sfDkYYuvfw1qVaqqAF0b5QVrjGP8Wr6PLkhffBCWYiAIexYPo
Q/IOpo7Q25ZfWFPxv8xlndEMechNZTeeJDG8F+Oylznc/zuC42edYs9acOrqp8Hj
JHP7BwewnnwdiY5RvqDWLG853eg6YyWbc/8iRxmVGD7jsIcODhfIdIxHEn6zS8Wr
DMptkYi8AryPf/nHIhUyyTYVfBiahluogs3L98AKrhKRQP3zWkCANcstSS8VbE67
WhzzYc+Hun2fz/HlseAfPQP1gRxL96qg8HK7RJIWPTygdQwcY8uRC4SidLk+LZGZ
pkiQUmtW9rFBSQnA2OLOt3abTQgoNxtIonilgm82Qvitv6ar7LqsTO3Am9KIwZRL
kdihG10cEkXdYT4FnFcEH7dc2hIcu8j9dePHVvzCxIl5hbtTG1JSTIvws2ujieQz
ZEQ/SAmvJOxJewMeX7DSeBd1B4zYJVk1+p8vmOOoqg79Aj5FGU7MmvA0NhNn558J
DrT4QuaucARLHHTPguuWTwnC9DCFBXdUPNjzcGyF8vscCwMu1Qk3cu0Fd0venlKw
1lp8OTki9cMfOdnrNa+coPp4H/ig6jPsBpn0404FJH5M2tPWpIfv12CRhilNwBMM
W3zrtdT2/YjeYi1lNors
=QDGC
-----END PGP SIGNATURE-----