associating device names with cygdrive directories

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Aug 25 19:47:00 GMT 2010


On 8/25/2010 2:49 PM, Charles D. Russell wrote:
> What is the best way to find or predict the association of a given /dev/sd?
> with the corresponding /cygdrive/?. Is there a good way to verify the
> assignment before writing to the device with dd?

I think this link should help a little:

<http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices>

The POSIX device names are generated from the Windows information/layout
of these devices.  So your best bet is to look to Windows to get the
device number <-> drive letter association and then fill in the rest
from there.  There is no "one-stop shopping" utility that I know of
that will do all that for you.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> 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
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list