public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Florac <eflorac@intellique.com>
To: Anshul Kundra <anshul.kundra@hcl.com>
Cc: "xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: xfs_behaviour
Date: Fri, 19 Oct 2012 20:10:28 +0200	[thread overview]
Message-ID: <20121019201028.0d013c5b@galadriel.home> (raw)
In-Reply-To: <CACBF2D716C5104BAC48A16827DE5B151358720B18@NDA-HCLT-EVS04.HCLT.CORP.HCL.IN>

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@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

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

      reply	other threads:[~2012-10-19 18:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 14:35 xfs_behaviour Anshul Kundra
2012-10-19 18:10 ` Emmanuel Florac [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121019201028.0d013c5b@galadriel.home \
    --to=eflorac@intellique.com \
    --cc=anshul.kundra@hcl.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox