[Gllug] Hubris

David Damerell damerell at chiark.greenend.org.uk
Fri Apr 2 15:01:39 UTC 2004


On Friday, 2 Apr 2004, Jack Bertram wrote:
>* John Hearns <john.hearns at clustervision.com> [040402 15:54]:
>>Never, never test a tftp daemon by cd'ing to /tftpboot,
>>tftp localhost, get pxelinux.0
>Care to explain for us non-tftp intimates?

It's nothing to do with TFTP; in general any operation that reads a
file while writing that same file (without knowing what it's doing) is
doomed to failure.

Compare
< foo perl -nwe 's/blah/blurb/; print;' > foo

-- 
David Damerell <damerell at chiark.greenend.org.uk> flcl?
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list