xfs
[Top] [All Lists]

Re: xfs_behaviour

To: Anshul Kundra <anshul.kundra@xxxxxxx>
Subject: Re: xfs_behaviour
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2012 20:10:28 +0200
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
In-reply-to: <CACBF2D716C5104BAC48A16827DE5B151358720B18@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Organization: Intellique
References: <CACBF2D716C5104BAC48A16827DE5B151358720B18@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>
  • xfs_behaviour, Anshul Kundra
    • Re: xfs_behaviour, Emmanuel Florac <=