Re: associating device names with cygdrive directories

2010-08-26 Thread Charles D. Russell
Is there an easy way to find the association of a given /dev/sd? with the corresponding /cygdrive/?. Is there a good way to verify the association before writing to the device with dd? Larry Hall wrote: you can certainly use the information from Disk Management to figure out

Re: associating device names with cygdrive directories

2010-08-26 Thread Corinna Vinschen
On Aug 26 10:44, Lee D. Rothstein wrote: > On 8/25/2010 4:32 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > >$ for F in /dev/s* ; do echo "$F$(cygpath -w $F)" ; done > >/dev/scd0 \\.\D: > >/dev/scd1 \Device\CdRom1 > >/dev/scd2 \Device\CdRom2 > >/dev/sda\\.\PhysicalDri

Re: associating device names with cygdrive directories

2010-08-26 Thread Lee D. Rothstein
On 8/25/2010 4:32 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: $ for F in /dev/s* ; do echo "$F$(cygpath -w $F)" ; done /dev/scd0 \\.\D: /dev/scd1 \Device\CdRom1 /dev/scd2 \Device\CdRom2 /dev/sda\\.\PhysicalDrive0 /dev/sda1 \\.\Volume{39f65722-0106-11df-b1c0-8

Re: associating device names with cygdrive directories

2010-08-26 Thread Corinna Vinschen
On Aug 26 08:11, Rolf Campbell wrote: > On 2010-08-26 07:26, Corinna Vinschen wrote: > >I have another one: > > > > $ for F in /dev/s* ; do echo "$F$(cygpath -w $F)" ; done > > /dev/sda\\.\PhysicalDrive0 > > /dev/sda1 > > \\.\STORAGE#Volume#{781f8bd6-7d0d-11de-8012-806e6f6e6963}#0

Re: associating device names with cygdrive directories

2010-08-26 Thread Corinna Vinschen
On Aug 26 13:26, Corinna Vinschen wrote: > On Aug 25 16:32, Buchbinder, Barry (NIH/NIAID) [E] 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 does

Re: associating device names with cygdrive directories

2010-08-26 Thread Rolf Campbell
On 2010-08-26 07:26, Corinna Vinschen wrote: I have another one: $ for F in /dev/s* ; do echo "$F$(cygpath -w $F)" ; done /dev/sda\\.\PhysicalDrive0 /dev/sda1 \\.\STORAGE#Volume#{781f8bd6-7d0d-11de-8012-806e6f6e6963}#0010#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}

Re: associating device names with cygdrive directories

2010-08-26 Thread Corinna Vinschen
On Aug 25 16:32, Buchbinder, Barry (NIH/NIAID) [E] 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. > > Is this what you want? (The multi

Re: associating device names with cygdrive directories

2010-08-25 Thread Christopher Faylor
On Wed, Aug 25, 2010 at 04:32:49PM -0500, Jeremy Bopp wrote: >On 8/25/2010 3:42 PM, Charles D. Russell wrote: >> Maybe it won't always work, but with debian "mount" I get the following >> line of output, which tells me what I want to know (and more): >> >> /dev/sda1 on /live/image type vfat >> (r

Re: associating device names with cygdrive directories

2010-08-25 Thread Andrey Repin
Greetings, Charles D. Russell! > Maybe it won't always work, but with debian "mount" I get the > following line of output, which tells me what I want to know (and more): > /dev/sda1 on /live/image type vfat > (rw,noatime,fmask=0022,dmask=0022,allow_utime=17,codepage=cp437,iocharset=utf8)

Re: associating device names with cygdrive directories

2010-08-25 Thread Jeremy Bopp
On 8/25/2010 3:42 PM, Charles D. Russell wrote: > Maybe it won't always work, but with debian "mount" I get the following > line of output, which tells me what I want to know (and more): > > /dev/sda1 on /live/image type vfat > (rw,noatime,fmask=0022,dmask=0022,allow_utime=17,codepage=cp437,i

Re: associating device names with cygdrive directories

2010-08-25 Thread Jeremy Bopp
On 8/25/2010 3:32 PM, Buchbinder, Barry (NIH/NIAID) [E] 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. > > Is this what you want? (The

Re: associating device names with cygdrive directories

2010-08-25 Thread Charles D. Russell
Maybe it won't always work, but with debian "mount" I get the following line of output, which tells me what I want to know (and more): /dev/sda1 on /live/image type vfat (rw,noatime,fmask=0022,dmask=0022,allow_utime=17,codepage=cp437,iocharset=utf8) I infer from the replies that in Cygwi

Re: associating device names with cygdrive directories

2010-08-25 Thread Larry Hall (Cygwin)
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'

RE: associating device names with cygdrive directories

2010-08-25 Thread Buchbinder, Barry (NIH/NIAID) [E]
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. Is this what you want? (The multiple spaces are really tabs.) $ for F in /dev/s* ; do echo "$F$(

Re: associating device names with cygdrive directories

2010-08-25 Thread Jeremy Bopp
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

Re: associating device names with cygdrive directories

2010-08-25 Thread Christopher Faylor
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 associa

Re: associating device names with cygdrive directories

2010-08-25 Thread Charles D. Russell
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 littl

Re: associating device names with cygdrive directories

2010-08-25 Thread Larry Hall (Cygwin)
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: