delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/02/12:46:15

Sender: Mark Tsombakos <markt AT shell3 DOT shore DOT net>
From: Mark T <marktnospam AT shore DOT net>
Subject: Re: Directory "sync"?
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001102093557 DOT 22693B-100000 AT is>
Organization: Shore.Net; a Primus Company
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.5.1 (sun4u))
Lines: 38
Message-ID: <uFhM5.1372$Mf4.223834@news.shore.net>
Date: Thu, 02 Nov 2000 17:39:38 GMT
NNTP-Posting-Host: 207.244.124.103
X-Complaints-To: abuse AT shore DOT net
X-Trace: news.shore.net 973186778 207.244.124.103 (Thu, 02 Nov 2000 12:39:38 EST)
NNTP-Posting-Date: Thu, 02 Nov 2000 12:39:38 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> The disk reset function, when called on DOS, usually causes DOS disk
> caches to flush their buffers.  At least SmartDRV and a few others do
> that.

>> The problem is, I'm not creating a file in my application.  As I
>> mentioned, I'm sharing a scsi disk between two pc's under msdos.

> How is the sharing implemented?  Do you have some network driver
> installed?

As someone mentioned, I'm essentially sharing the hardware between
two pc's.

> Try 21h/5D01h, perhaps it will help.

Will do.

>> Either by copying it, or "echo > test".

> Both of these methods already close the file, so I don't think opening
> and closing it again would help.

Hmm. They close the file, but they close it on the pc that I'm
doing the copy or echo.  I want to create the file on one pc, then
walk to the other one, and see the file there.  I wondered if
opening and closing a bogus file on the _2nd_ pc would refresh
the directory.  Actually, I know if I go to the 2nd pc and create
a file, I still won't see the file I created on the 1st pc.

I'll have to look closer at "share.exe" - whatever that's doing is
what I want to do (I think!)

thanks for all your help everyone.

Mark

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019