www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/03/03:44:05

Date: Mon, 3 Nov 1997 10:34:32 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: andrewc AT rosemail DOT rose DOT hp DOT com
cc: djgpp AT delorie DOT com
Subject: Re: Incompatibilities with NT
In-Reply-To: <199711030153.AA093761986@typhoon.rose.hp.com>
Message-ID: <Pine.SUN.3.91.971103103413.14641M-100000@is>
MIME-Version: 1.0

On Sun, 2 Nov 1997, Andrew Crabtree wrote:

> > Does the DOS box know about it?  That is, can you chdir there, list
> > files with DIR, copy files with XCOPY, etc., all using the default NT
> > shell (cmd.exe, I think)?
>
> As far as I can tell yes.  The NT Default command interpreter 
> can get to it, and 'cd' and 'dir' both work.

Please run `df' from Fileutils and tell what does it print.

Another thing to look for is some kind of LASTDRIVE setting that
limits the number of disks that DOS box can access.  I have no idea
how this setting is done on NT, or even *if* it exists.  A call to
`setdisk' will return the last possible drive.

> >        truename m:\
> > 
> > and tell what does it print.  (I assume that this command still works
> > in NT's native shell, but I cannot test this, as I have no access to
> > NT.)
> I will test it on Monday

Don't bother.  It seems that NT doesn't know about TRUENAME.

But you should be able to say "net use" and see where M: is mapped.
I'd expect `df' to print the same mapping for M:, unless something is
VERY wrong.

One possibility that I can think of is that Clearcase uses the NT
SUBST command to create that drive.  It might be that SUBST on NT
works differently from the DOS SUBST, and therefore that drive is
invisible to DJGPP.  There are 3 functions of Interrupt 21h, AX=71AAh,
described in the Interrupt List, that seem to support a new mechanism
of SUBST under Windows 9X; maybe NT works this way also?  One of these
functions allows to query what's the pathname associated with a given
SUBST'ed drive.  I attach the info from the Interrupt List below; it
would be interesting to see whether this function tells anything
useful about your M: drive.

> I've tried to explain clearcase to people before and done a lousy
> job of it.

Relax, I know what Clearcase is, we use it extensively on my job
place.  I just don't see why do they need a drive.  Can't they just
install it in a directory with a reserved name?

If you can ask them exactly how they create that drive, it might make
the whole thing of figuring out this puzzle a lot more easier.


--------D-2171AABH02-------------------------
INT 21 - Windows95 - LONG FILENAME - QUERY SUBST
	AX = 71AAh
	BH = 02h
	BL = drive number (01h = A:, etc.)
	DS:DX -> buffer for ASCIZ pathname associated with drive letter
Return: CF clear if successful
	    DS:DX buffer filled
	CF set on error
	    AX = error code (see #1366)
		7100h if function not supported
Note:	the specified drive number may not be 00h (default drive)
SeeAlso: AX=71AAh/BH=00h,AX=71AAh/BH=01h,INT 2F/AX=1000h,#1329

- Raw text -


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