delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/25/16:12:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_DR
X-Spam-Check-By: sourceware.org
Message-ID: <4C75790F.50403@bopp.net>
Date: Wed, 25 Aug 2010 15:11:59 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: associating device names with cygdrive directories
References: <4C757349 DOT 902 AT bellsouth DOT net> <20100825200335 DOT GA14607 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20100825200335.GA14607@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 8/25/2010 3:03 PM, Christopher Faylor wrote:
> On Wed, Aug 25, 2010 at 02:47:21PM -0500, Charles D. Russell wrote:
>> On Linux, the mount command reveals the association between filesystem
>> names and /dev/ names, but Cygwin mount doesn't tell.
> 
> Sorry that's not how the mount command works on Linux.  It's not always
> easy to tell the device associated on linux either.  Sometimes you need
> to look at dmesg output.  Unfortunately cygwin has nothing similar.

The wodim command from the cdrtools package includes logic (-scanbus
option) which is able to identify SCSI devices under Cygwin.  It doesn't
map them to the /dev namespace, but it shows that something like you
need may be possible.  Wodim is also able to take a drive letter and
directly use that when writing an ISO file to the drive.

Maybe you could start there and craft a tool to do what you need.

-Jeremy

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

- Raw text -


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