associating device names with cygdrive directories
Larry Hall (Cygwin)
Wed Aug 25 20:42:00 GMT 2010
On 8/25/2010 4:11 PM, Jeremy Bopp wrote:
> 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.
That might be the easiest way to creating a tool, since you'd have
existing logic to leverage. But to answer your original question, you
can certainly use the information from Disk Management to figure out
should help in that regard. But essentially, "Disk 0" = /dev/sda, etc.
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin