delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/02/22/13:29:43

Date: Sat, 22 Feb 1997 12:09:19 -0600 (CST)
From: "Colin W. Glenn" <cwg01 AT gnofn DOT org>
Reply-To: "Colin W. Glenn" <cwg01 AT gnofn DOT org>
To: "'OpenDOS newsgroup'" <opendos AT mail DOT tacoma DOT net>
Subject: Re: [opendos] BAD Filesystems
In-Reply-To: <Pine.NXT.3.95.970218001637.6418T-100000@eagle1>
Message-ID: <Pine.GSO.3.95.970222120028.20184C-100000@sparkie.gnofn.org>
MIME-Version: 1.0
Sender: owner-opendos AT mail DOT tacoma DOT net

On Tue, 18 Feb 1997 jdashiel AT eagle1 DOT eaglenet DOT com wrote:

> Why not add a crc on the file name; creation date, and creation time? 
> Perhaps a combined crc to act as a tie breaker but those must be and
> remain unique.  That as a random access key into a lookup table

If we use such an approach, then we could either use the method which
Linux uses, (if I understand what mharris is saying about Linux
installations in a dos FS), or when we have the driver install itself, it
would 'allocate' a file for itself to use, then hide and system it so it
doesn't get moved by defrag, and encode the absolute location of the file
into the driver itself.  Then whenever a dos-disk access is called, the
driver would trap the interrupt, update the file if necessary, then
proceed to dos for the actual execution of the command.  It would have to
be written in a very tight assembly language routine to minimize
overhead, but I think it can be had in as little as 50 instruction cycles,
not counting when the driver uses the BIOS for the disk access to update
it's control file.

  <! PrePared HTML!  Just export as a HTML file and Click!>
A Christian Web Site!  The Light 
  <a href="http://www.thelight.org/">.</a><br>
A neat place to visit. HotSpot 
  <a href="http://www.hspro.com/hotspot/">.</a><br>
Caldera, Inc. / Makers of OpenDOS
  <a href="http://www.caldera.com/">.</a><br>
Caldera's OpenDOS page
  <a href="http://www.caldera.com/dos/dos.htm">.</a><br>


- Raw text -


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