<br clear="all">hi,<br>
<br>
i touch a new file and input the content "a" to it, next i use filefrag
to see the block number of the file , and then open the file to change
the content of the file to "aa", next use filefrag to check the block
number again, but why block number changed after change of file? is the
block number the hard-disk block number or memory block number? if it
is memory block number ,how to get the unchangable hard-disk block
number?<br>
<br>
Thanks!<br>
<br>
the commands displays as follow:<br>
<br>
zsk@zsk-laptop:~$ sudo filefrag -v a<br>
Checking a<br>
Filesystem type is: ef53<br>
Filesystem cylinder groups is approximately 104<br>
Blocksize of file a is 4096<br>
File size of a is 3 (1 blocks)<br>
First block: 2501741<br>
Last block: 2501741<br>
a: 1 extent found<br>
zsk@zsk-laptop:~$ vim a<br>
zsk@zsk-laptop:~$ sudo filefrag -v a<br>
Checking a<br>
Filesystem type is: ef53<br>
Filesystem cylinder groups is approximately 104<br>
Blocksize of file a is 4096<br>
File size of a is 4 (1 blocks)<br>
First block: 3013843<br>
Last block: 3013843<br>
a: 1 extent found<br>-- <br>Regards,<br>Sucan<br>