Article View: comp.sys.ibm.pc.programmer
Article #941Order of CDS entries (was Re: .SYS (device drivers ...)
From: Doug Lee
Date: Wed, 11 Jul 1990 14:03
Date: Wed, 11 Jul 1990 14:03
25 lines
2030 bytes
2030 bytes
In article <9542@crdgw1.crd.ge.com> dixon@sagittarius.crd.ge.com (walt dixon) writes: >DOS maitains a data structure refered to as the >current directory structure (CDS). This structure is a contiguous >array of entries for each drive; its size is set by the LASTDRIVE >statement (or its default value). The first entry corresponds to >drive A:, etc. In addition to status (joined, etc), and then current >directory, each entry condains a pointer to the Device Control Block >(DCB) for the device which in turn points to the Device Header. Any >relationship between drive letter and position in the driver chain is >merely a conincedence. This brings up a somewhat related question. I have two floppy drives, a hard disk with two partitions (C: and D:), and a ram drive (E:). I want to make a separate boot partition but with a drive letter other than C. Since I gather this is not possible as such, I thought of simply (?) having a program run at boot time which changes the drive letters in the CDS array such that the normal C: is something else and I can rename another partition C:. The question: Is this possible? Do I merely have to change drive letters in the CDS, or would it be necessary to swap entire array structures to maintain the proper order? Thanks! Doug Lee (dgl292@athenanet.com or uunet!pallas!dgl292)
Technical Details
Message-ID:
<388@pallas.athenanet.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!pallas!dgl292References:
<j8t1seef8@tmsoft.uucp> <141@qmsseq.imagen.com> <552@csource.oz.au> <142@qmsseq.imagen.com> <90187.102930TOMIII@MTUS5.BITNET> <143@qmsseq.imagen.com> <9542@crdgw1.crd.ge.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!pallas!dgl292 From: dgl292@pallas.athenanet.com (Doug Lee) Newsgroups: comp.sys.ibm.pc.programmer Subject: Order of CDS entries (was Re: .SYS (device drivers ...) Message-ID: <388@pallas.athenanet.com> Date: 11 Jul 90 14:03:31 GMT References: <j8t1seef8@tmsoft.uucp> <141@qmsseq.imagen.com> <552@csource.oz.au> <142@qmsseq.imagen.com> <90187.102930TOMIII@MTUS5.BITNET> <143@qmsseq.imagen.com> <9542@crdgw1.crd.ge.com> Reply-To: dgl292@athenanet.com (Doug Lee) Organization: Athenanet, Inc., Springfield, Illinois Lines: 25