delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/02/00:48:28

From: "Alexander Russell" <alexad3 AT uniserve DOT com>
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp
Subject: Re: Directory "sync"?
Date: Wed, 1 Nov 2000 21:42:14 -0800
Organization: Uniserve
Message-ID: <973143465.116728@neptune.uniserve.ca>
References: <9ZXL5.1281$Mf4 DOT 211263 AT news DOT shore DOT net>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Cache-Post-Path: neptune.uniserve.ca!unknown AT van3d17 DOT dial DOT uniserve DOT ca
X-Complaints-To: newsabuse AT supernews DOT com
Lines: 35
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

How is the sharing accomplished?

The interrupts below relate to reading and writing data to files on ONE
device, and have nothing to do with 'syncing up' multiple disks.

Looks like you want to share your drive via a LAN, but I'm not sure.

"Mark T" <marktnospam AT shore DOT net> wrote in message
news:9ZXL5.1281$Mf4 DOT 211263 AT news DOT shore DOT net...
> 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