echo -n "" will issue a zero-length write syscall, which forces a file update. A perl open/close with no writes is not the same thing, because it doesn't do any writes. Open for writing does not touch a file or its metadata in any way. Perl isn't doing anything clever... So `echo -n "" > foo' amounts to a sequence of open/write/close, whereas the perl in question is only open/close. The activities that force the cache callback checks are associated with doing the write. Thomas
- echo -n "" != perl open/close Per-Ola Mard
- Re: echo -n "" != perl open/close Ken Hornstein
- Re: echo -n "" != perl open/clos... Per-Ola Mard
- Re: echo -n "" != perl open/... Jim Zelenka
- Re: echo -n "" != perl o... Ken Hornstein
- Re: echo -n "" != perl o... Brian W. Spolarich
- Re: echo -n "" != perl open/... Per Boussard, ERA/T/ED
- Re: echo -n "" != perl open/close t . sippel-dau
- Re: echo -n "" != perl open/close Thomas Bushnell, n/BSG
- Re: echo -n "" != perl open/clos... Per Boussard, ERA/T/ED
- Re: echo -n "" != perl open/... Thomas Bushnell, n/BSG
