Message-Id: <3.0.6.16.20000430063508.3557871c@mail.cybercable.fr> Organization: Michelle's Internet Service X-Link: http://www.michelle-is.com/index.htm X-Moto: Micr0$oft = What do you want to crash today? X-Note: Sending S P A M is a violation of german, french and US law and will at least trigger a complaint at your provider's postmaster. X-Sender: starone AT mail DOT cybercable DOT fr X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (16) Date: Sun, 30 Apr 2000 06:35:08 +0100 To: djgpp AT delorie DOT com From: Michelle Konzack Subject: Re: Partition problem... In-Reply-To: <390B866A.69D2FE60@mtu-net.ru> References: <3 DOT 0 DOT 6 DOT 16 DOT 20000428113827 DOT 2d8f1b36 AT mail DOT cybercable DOT fr> <3 DOT 0 DOT 6 DOT 16 DOT 20000429092424 DOT 0ef7283a AT mail DOT cybercable DOT fr> <3 DOT 0 DOT 6 DOT 16 DOT 20000429145442 DOT 35178290 AT mail DOT cybercable DOT fr> <3 DOT 0 DOT 6 DOT 16 DOT 20000429225557 DOT 352fded8 AT mail DOT cybercable DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id XAA28680 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk >> BIOS... I do not know, how to do that... :-/ > >Just enter BIOS on startup pressing the DEL key. Than find something that sounds >like "IDE HDD AUTO DETECTION". Enter this mode and see what BIOS has detected. >After each detection succeeded/failed press the "N" key. Finally quit BIOS using >"EXIT WITHOUT SAVING". Post what BIOS has found... Yet I know what you mean... But it is not what I mean !!! The Problem has nothing to do with BIOS and anything like this. For example: If you install Linux on one partition, you will find the /tmp directory in the root. But I do not like to have the /tmp in my root. So I create a second partition and mount them as /tmp. No problem if it on a second Harddisk, because if I remove the second harddisk, Linux can not mount the partition and use the default... No data will lost. I have the same problem with a /data partition. In Dos it is a problem, because you can set only one TEMP variable. So I need to make a test whether the Partition is there or not. Please note, that I have no directory (because Linux) on the TEMP-Partition. The other and bigger problem are the DATA-Partitions. My Program try to write to f: but it is not there !!! The Program ends in a crash... Biggest Problem: the LOG-Files partition !!! Now I like to Test the Harddisk dns if it exist, they must look for the partition whether it is there or not. Commandline is: SET temp=c:\tmp # set the default TEMP dir chk4part f:\tmp # check the partition and dir IF ERRORLEVEL 1 SET temp=f: # set the new temp env-var where chk4part my program is which check for the partition. Please note that if you try from the commandline "dir m:" and the Partition is not there you get a error message. I must supress any error messages in my programs. And the chk4part.exe must be seperately from the program. Thanks for your help Michelle -- Don't cc: me on mailinglists, I'm subscribed, if I write there. ---------------------------------------------------------------------------- Linux rebootet man in drei Fällen: Neuer Kernel, neue (Board-)Hardware, Stromausfall.... Aber Windows rebootet man auch in drei Fällen: Schutzverletzung, Bluescreen, keinen Bock...