jeudi 26 mars 2015

Does the inode change when renaming or moving a file?


in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified.


I did some tests and it seems the inode stays the same after rename. Is this behavior consistent? Does it work for any type of file, on any linux distribution?



1 commentaire:

  1. in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified.
    شركة رش المبيدات بالرياض شركة رش مبيدات بالرياض

    شركة مكافحة الحشرات بالرياض ركة مكافحة حشرات بالرياض

    شركة مكافحة بق بالرياض شركة مكافحة البق بالرياض

    شركة مكافحة نمل الابيض بالرياض شركة مكافحة النمل الابيض بالرياض

    شركة مكافحة صرصير بالرياض شركة مكافحة الصرصير بالرياض

    شركة مكافحة حمام بالرياض شركة مكافحة الحمام بالرياض

    شركة مكافحة فئران بالرياض شركة مكافحة الفئران بالرياض

    شركة مكافحة وزغ بالرياض شركة مكافحة الوزغ بالرياض

    شركة تنظيف واجهات الزجاج بالرياض شركة تنظيف واجهات زجاج بالرياض

    RépondreSupprimer