[ale] inode change after vi a file ?

Jerry Yu jjj863 at gmail.com
Thu Mar 30 14:21:12 EST 2006


so it's something in the code of vi or kernel code (ext? fs code)?   It
doesn't sound like the sane behavior to a layman. starts to smell like a
tiny bug ...
tried a few other editors.  oowriter (open office word) and 'nano' do not
change inode #.  gedit changes it for every save.


On 3/30/06, Geoffrey <esoteric at 3times25.net> wrote:
>
> Jerry Yu wrote:
> > To my surprise, the inode #  changes as long as I do ":w" inside
> vi.  This
> > holds true on a stock installation of CentOS 4.1 and CentOS 4.3(equivalent
> > of RHEL 4.* AS) . Anyone knows this is a new feature? If it is a
> feature,
> > I'd like to learn ways to turn it off.
> >
> > [zyu at saturn ~]$ date > blah; ls -i blah; vi blah; ls -i blah
> > 688427 blah
> > 692394 blah
>
> That's interesting.  Same thing here on SuSE.
>
> --
> Until later, Geoffrey
>
> Any society that would give up a little liberty to gain a little
> security will deserve neither and lose both.  - Benjamin Franklin
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list