delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/31/15:14:21

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Mapping of \device\harddisk12 and beyond
Date: Tue, 31 Oct 2006 20:14:03 -0000
Message-ID: <000a01c6fd29$1c6ba160$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <E05F1FD208D5AA45B78B3983479ECF08E42E5B@saturn.p3corpnet.pivot3.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 31 October 2006 19:56, Loh, Joe wrote:

> We are currently using Cygwin to test an iSCSI based storage subsystem.
> Recently we are discussing about a test that will be connecting to 32
> iSCSI volumes, effectively creating a total of 33 (32 + 1 direct
> attached disk) harddisk references in Windows.  In reviewing the current
> POSIX mapping, we realized from
> http://cygwin.com/cygwin-ug-net/using-specialnames.html#id4676548 that
> Cygwin only maps up to /dev/sd1 <=> \device\harddisk11.
> 
> Question 1: Is that the maximum number of \device\harddisk reference
> that Cygwin supports?

  Not quite: it's out of date.  Cygwin currently supports up to 26 hard disks,
from /dev/sda to /dev/sdz, corrsponding to \Device\Harddisk0 through
\Device\Harddisk25.

> Question 2: If not what is the the maximum?

  Up to you if you modify the sources.  As many as windows can support.

> Question 3: Is there anyway within Cygwin that I can "mount" the other
> \device\harddisk references beyond the limitation?

  You can modify src/winsup/cygwin/devices.in to add as many more /dev entries
as you like.  Take a look at devices.in and compare it to devices.cc (which is
auto-generated from devices.in during the build).  It won't be quite so
straightforward since all the letters are already used up, but you can adapt
whatever scheme you like for your own in-house testing tool.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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