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 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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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