delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/01/12:47:03

Sender: Mark Tsombakos <markt AT shell3 DOT shore DOT net>
From: Mark T <marktnospam AT shore DOT net>
Subject: Directory "sync"?
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp
Organization: Shore.Net; a Primus Company
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.5.1 (sun4u))
Lines: 24
Message-ID: <9ZXL5.1281$Mf4.211263@news.shore.net>
Date: Wed, 01 Nov 2000 16:58:45 GMT
NNTP-Posting-Host: 207.244.124.103
X-Complaints-To: abuse AT shore DOT net
X-Trace: news.shore.net 973097925 207.244.124.103 (Wed, 01 Nov 2000 11:58:45 EST)
NNTP-Posting-Date: Wed, 01 Nov 2000 11:58:45 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Greetings!

I have a scsi disk that's essentially shared by two
machines.  If I add a file from one machine, I'd
like the other to see it (under DOS of course).

I've tried the "disk reset" interrupts (int21) - 
but I can't find info regarding this:

Int21 - AH=0dh:
"This function writes all modified disk buffers to 
disk, but does not update the directory information 
(that is only done when files are closed or a 
SYNC call is issued)"

What SYNC call?  I found one under djgpp and tried 
it, but it didn't seem to do what I need.  Is there
another sync I can't find?  Do I need to open a 
bogus file and close it to refresh the directory
listing?

thanks for any help!

Mark

- Raw text -


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