associating device names with cygdrive directories

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Aug 26 15:12:00 GMT 2010


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        \\.\PhysicalDrive0
> >/dev/sda1       \\.\Volume{39f65722-0106-11df-b1c0-806d6172696f}
> >/dev/sda2       \Device\Harddisk0\Partition2
> >/dev/sdb        \Device\Harddisk1\Partition0
> >/dev/sdb1       \Device\Harddisk1\Partition1
> >/dev/sdb2       \Device\Harddisk1\Partition2
> >/dev/sdc        \Device\Harddisk2\Partition0
> >/dev/sdc1       \Device\Harddisk2\Partition1
> >/dev/sdc2       \Device\Harddisk2\Partition2
> >/dev/shm        C:\cygwin\dev\shm
> >/dev/sr0        \\.\D:
> >/dev/sr1        \Device\CdRom1
> >/dev/sr2        \Device\CdRom2
> >/dev/st0        \Device\Tape0
> >/dev/st1        \Device\Tape1
> >/dev/st2        \Device\Tape2
> >/dev/stderr     \dev\tty
> >/dev/stdin      \dev\tty
> >/dev/stdout     /proc/2476/fd/pipe:[504]
>  I'm running Cygwin 1.7.6-1, and when I use your command ('for F in
> ...'), above, 

http://cygwin.com/ml/cygwin/2010-08/msg00837.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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