Fwd: Re: [OpenAFS] cache data update

amar deep kumar amar deep kumar" <kumaramar_sonu@rediffmail.com
17 Oct 2003 05:44:28 -0000


 This is a multipart mime message


--Next_1066369468---0-203.199.83.245-18123
Content-type: multipart/alternative;
	boundary="Next_1066369468---1-203.199.83.245-18123"

 This is a multipart mime message


--Next_1066369468---1-203.199.83.245-18123
Content-type: text/html;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<P>=0AHi,<BR>=0A<BR>=0A&nbsp; &nbsp; I have tried fflush(NULL). but its not=
 working.<BR>=0Aexact situation is like this -<BR>=0A<BR>=0A./executable &g=
t;&gt; test.out<BR>=0A<BR>=0Anow this test.out file is in AFS space.how can=
 i use fflush for a particular file, because in this case i am not able to =
get the file descriptor of this file.<BR>=0A<BR>=0Aamardeep<BR>=0A <BR>=0A<=
BR>=0ANote: Forwarded message attached<BR>=0A<BR>=0A-- Orignal Message --<B=
R>=0A<BR>=0AFrom: Derek Atkins &lt;warlord@MIT.EDU&gt;<BR>=0ATo: &quot;amar=
 deep kumar&quot; &lt;kumaramar_sonu@rediffmail.com&gt;<BR>=0ACc: OpenAFS-i=
nfo@openafs.org<BR>=0ASubject: Re: [OpenAFS] cache data update<BR>=0A=0A</P=
>=0A<br><br>=0A<A target=3D"_blank" HREF=3D"http://clients.rediff.com/signa=
ture/track_sig.asp"><IMG SRC=3D"http://ads.rediff.com/RealMedia/ads/adstrea=
m_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=3D0 VSPACE=3D0 HSPACE=
=3D0 HEIGHT=3D74 WIDTH=3D496></a>=0A
--Next_1066369468---1-203.199.83.245-18123
Content-type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,=0A=0A    I have tried fflush(NULL). but its not working.=0Aexact situat=
ion is like this -=0A=0A./executable >> test.out=0A=0Anow this test.out fil=
e is in AFS space.how can i use fflush for a particular file, because in th=
is case i am not able to get the file descriptor of this file.=0A=0Aamardee=
p=0A =0A=0ANote: Forwarded message attached=0A=0A-- Orignal Message --=0A=
=0AFrom: Derek Atkins <warlord@MIT.EDU>=0ATo: "amar deep kumar" <kumaramar_=
sonu@rediffmail.com>=0ACc: OpenAFS-info@openafs.org=0ASubject: Re: [OpenAFS=
] cache data update=0A
--Next_1066369468---1-203.199.83.245-18123--
Content-type: message/rfc822

MIME-Version: 1.0
To: "amar deep kumar" <kumaramar_sonu@rediffmail.com>
Cc: OpenAFS-info@openafs.org
Subject: Re: [OpenAFS] cache data update
From: Derek Atkins <warlord@MIT.EDU>
Message-ID: <sjmekxd6k6d.fsf@kikki.mit.edu>
Content-Type: text/plain; charset=us-ascii

You can try to fflush() the file.

-derek

"amar deep kumar" <kumaramar_sonu@rediffmail.com> writes:

> Hi,
> 
> 
>     On one AFS client machine one program opens a file and writes in it.
> this program runs for days.now from other AFS client machine the file created by the program does not show any data, because that file is still not closed on the first machine.
> 
>     Is their any method that i can update the file contents on the server before the file is closed, so that i can access its contents from other client machines.
> 
> amardeep

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available

--Next_1066369468---0-203.199.83.245-18123
Content-type: message/rfc822

MIME-Version: 1.0
To: "amar deep kumar" <kumaramar_sonu@rediffmail.com>
Cc: OpenAFS-info@openafs.org
Subject: Re: [OpenAFS] cache data update
From: Derek Atkins <warlord@MIT.EDU>
Message-ID: <sjmekxd6k6d.fsf@kikki.mit.edu>
Content-Type: text/plain; charset=us-ascii

You can try to fflush() the file.

-derek

"amar deep kumar" <kumaramar_sonu@rediffmail.com> writes:

> Hi,
> 
> 
>     On one AFS client machine one program opens a file and writes in it.
> this program runs for days.now from other AFS client machine the file created by the program does not show any data, because that file is still not closed on the first machine.
> 
>     Is their any method that i can update the file contents on the server before the file is closed, so that i can access its contents from other client machines.
> 
> amardeep

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available

--Next_1066369468---0-203.199.83.245-18123--