Re: xfs_behaviour

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

 



Le Fri, 19 Oct 2012 20:05:46 +0530 vous écriviez:

> 133 -rw-r--r-- 1 root root 19 2012-10-20 01:43 kundra.txt
> 
> Please check that the inode number ( from "131" to "133" )  and total
> value (from "0" to "4" )in the filesystem got changed, I am assuming
> that the reasom may be due to filesystem of small size but it is
> showing unexpected behaviour.
> 

Definitely not xfs related. Try modifying the file with cat or echo:

emmanuel[/mnt/downloads]$ ll -i toto
85346879 -rw-r--r-- 1 emmanuel users 6 oct.  19 20:06 toto
emmanuel[/mnt/downloads]$ echo lrgezjn > toto
emmanuel[/mnt/downloads]$ ll -i toto
85346879 -rw-r--r-- 1 emmanuel users 8 oct.  19 20:07 toto


Most file editor use a temporary file and rename it when saving (to
avoid destroying the file in case of an error). This is what a good file
editor (like vim) must do. This is why you're seeing this behaviour.

regards,
-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux