Path: utzoo!attcan!uunet!mailrus!iuvax!purdue!haven!ncifcrf!nlm-mcs!adm!news From: richard@pemrac.space.swri.edu (Richard Murphy) Newsgroups: comp.unix.wizards Subject: NFS question Message-ID: <22351@adm.BRL.MIL> Date: 6 Feb 90 12:34:04 GMT Sender: news@adm.BRL.MIL Lines: 24 This problem is puzzling and perhaps some of the UNIX experts can quickly tell me what I am doing wrong====>>> scenario- I have two machines, A & B that share a file system via NFS. The file system is exported from A and mounted by B. On machine B I start a process to display the last line written to a file that is on this file system. On machine A I start a program to write to this same file. What happens is this: if the file has non-zero length when the display program opens it, all goes well. However, it is initially empty, the display program never sees anything that the writing program puts into it. Why does this happen? Since NFS is stateless, should not prior knowledge of the length of the file be discarded at some point? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Richard Murphy Division 15 richard@pemrac.space.swri.edu Southwest Research Institute ...convex!pemrac!richard 6220 Culebra Rd. swri::richard (SPAN) San Antonio, TX 78228-0510 "It's not what you know, it's what you think you know." -- Steve Martin +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++