---------- Forwarded message ----------
From: Ganesh Patil <[email protected]>
Date: Fri, 9 Mar 2012 18:47:45 +0530
Subject: Inode number chenging
To: "rishi.b.agrawal" <[email protected]>, akshaynehe785
<[email protected]>, "ashishmayekar.32"
<[email protected]>

Sir, every time when I modify file content then file's inode get change.
Why this is happening?
Below I have pasted the output please check inode numbers.

[root@localhost Ganesh]# dmesg -c
[  519.922272] h44: module license 'unspecified' taints kernel.
[  519.922275] Disabling lock debugging due to kernel taint
[  519.922496] inode no of file=12
[  519.922502] size of file =0
[  519.922503] size of file copied =0
[  519.922504] data blocks=
[  519.922505] 62218
[  586.939834] Goodbye world 1.

[root@localhost Ganesh]# insmod h44.ko
[root@localhost Ganesh]# dmesg
[  612.939502] inode no of file=14
[  612.939511] size of file =1201
[  612.939514] size of file copied =1201
[  612.939516] data blocks=
[  612.939519] 127754

[root@localhost Ganesh]# insmod h44.ko
[root@localhost Ganesh]# dmesg
[ 1535.300545] inode no of file=15
[ 1535.300554] size of file =5716
[ 1535.300555] size of file copied =5716
[ 1535.300556] data blocks=
[ 1535.300557] 127754


Sir, I have cross checked with another file system with stat
command.Again I found same result.



-- 
Regards,
Ganesh Patil.

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to