[ale] inode change after vi a file ?

Jerry Yu jjj863 at gmail.com
Thu Mar 30 14:35:10 EST 2006


vi on solaris doesn't do that. nano/oowriter on linux doesn't do that
either. One'd assume they use some kinda tmpfile in the process as well, but
not the same way as vi/gedit  ?

On 3/30/06, Chris Ricker <kaboom at oobleck.net> wrote:
>
> On Thu, 30 Mar 2006, 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
>
> It's making a new temporary file that you're editing, then moving it over
> the original file....
>
> later,
> chris
> _______________________________________________
> 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