[10517] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.4H: Tailing of over NFS

daemon@ATHENA.MIT.EDU (Matt Braun)
Thu May 27 14:43:37 1993

To: bugs@Athena.MIT.EDU
Date: Thu, 27 May 93 14:43:27 EDT
From: Matt Braun <mhbraun@MIT.EDU>

System name:		a-kind-of-magic
Type and version:	CVAXSTAR 7.4H (4 update(s) to same version)
Display type:		SM

What were you trying to do?

	tail -f a file that was NFS mounted (Maxine server VS3100 Client)
	
What's wrong:

It does not re-stat the file.  It does the default tail and then hangs
there.  In one instance it printed a piece of text that was in the middle of
the text that was added but not the text before or after (but I don't think I
can reproduice this)


What should have happened:

	It should have tailed the file and then added the lines that were
added.  The file was being cat'd to on the server and the tail did not update
even when the the cat was closed.

Please describe any relevant documentation references:

	tail(1)


------------------

here is what I did...


attach -e ninja:/mit/test
attach: filesystem ninja:/mit/test (ninja.MIT.EDU:/mit/test) mounted on /ninja/mit/test (read-write)
(a-kind-of-magic) ~/% cd /ninja/mit/test
(a-kind-of-magic) /ninja/mit/test/% tail -f foo &
[1] 6449
helo this is a test of tailing a file over NFS...

fsjlk;fsdklhjfsdkljfsdhkljfs
fsdljkfdsjlkfjlkds
Foo
Fourscore and seven years ago Our fathers brought forth
on this continient a new nation conceived in Liberty and
(a-kind-of-magic) /ninja/mit/test/% ls -l foo
-rw-rw-r--  1 root          279 May 27 14:35 foo
(a-kind-of-magic) /ninja/mit/test/% ls -l foo
-rw-rw-r--  1 root          280 May 27 14:35 foo
(a-kind-of-magic) /ninja/mit/test/% We have met on the battlefield that tests whether that nation

(a-kind-of-magic) /ninja/mit/test/% kill %1
[1]    Terminated           tail -f foo
(a-kind-of-magic) /ninja/mit/test/% tail foo
fsdljkfdsjlkfjlkds
Foo
Fourscore and seven years ago Our fathers brought forth
on this continient a new nation conceived in Liberty and

dedicated to the proposition that all men are created equal

We have met on the battlefield that tests whether that nation
or any other nation so conceived and so dedicated can long endure


------------

I was adding to the file by doing:

ninja# cat >> foo

dedicated to the proposition that all men are created equal

We have met on the battlefield that tests whether that nation
or any other nation so conceived and so dedicated can long endure

ninja#

















home help back first fref pref prev next nref lref last post