From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob McGowan To: earnie_boyd@yahoo.com, cygwin@sourceware.cygnus.com Subject: Re: having trouble mounting Win32 drives to Cygwin paths Date: Thu, 02 Dec 1999 12:16:00 -0000 Message-id: <3846D406.1B06BDBD@veritas.com> References: <19991202184241.4486.qmail@web117.yahoomail.com> X-SW-Source: 1999-12/msg00060.html Earnie Boyd wrote: > > --- Scott A Sumner wrote: > > I just installed Cygwin 1.0 from the CD and I'm having trouble mounting > > Win32 drives to > > Cygwin paths. > > > > Following the "How can I access other drives?" topic in the faq, I do > > this: > > > > bash-2.03$ mkdir /c > > bash-2.03$ mount c:/ /c > > bash-2.03$ mount 'c:\' /c > > The first parameter to mount must be in DOS notation. Earnie, I don't understand. I have done this (many times) using the forward slash. I believe the documentation also says you can do it this way (however, I have not verified this yet). The following is copied from a bash session in a DOS box window: [ramjr]$ mount Device Directory Type Flags c:\usr\bob /home/bob user binmode C:\Cygwin / system binmode [ramjr]$ mkdir -p /drv/d [ramjr]$ mount -b d:/ /drv/d [ramjr]$ mount Device Directory Type Flags c:\usr\bob /home/bob user binmode C:\Cygwin / system binmode d: /drv/d user binmode [ramjr]$ ls /drv/d RECYCLED [ramjr]$ ls //d RECYCLED [ramjr]$ I was curious about the "mount" output listing just "d:" for the Device column, so I unmounted it and did the following: [ramjr]$ ls //d RECYCLED [ramjr]$ mkdir //d/tst [ramjr]$ ls //d RECYCLED tst [ramjr]$ mount -b d:/tst /drv/d [ramjr]$ mount Device Directory Type Flags c:\usr\bob /home/bob user binmode C:\Cygwin / system binmode d:\tst /drv/d user binmode [ramjr]$ ls /drv/d [ramjr]$ touch //d/tst/new [ramjr]$ ls /drv/d new [ramjr]$ The software changes the path in this case, replacing the forward slash with a back slash (UNIX -> DOS format). Perhaps the problem relates to the first example, where the DOS Device name does not contain a backslash? > ===== > Earnie Boyd < mailto:earnie_boyd@yahoo.com > > Cygwin Newbies, please visit > < http://www.freeyellow.com/members5/gw32/index.html > > __________________________________________________ > Do You Yahoo!? > Thousands of Stores. Millions of Products. All in one place. > Yahoo! Shopping: http://shopping.yahoo.com > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe@sourceware.cygnus.com -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan@veritas.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob McGowan To: earnie_boyd@yahoo.com, cygwin@sourceware.cygnus.com Subject: Re: having trouble mounting Win32 drives to Cygwin paths Date: Fri, 31 Dec 1999 13:28:00 -0000 Message-ID: <3846D406.1B06BDBD@veritas.com> References: <19991202184241.4486.qmail@web117.yahoomail.com> X-SW-Source: 1999-12n/msg00060.html Message-ID: <19991231132800.mLNRlHwtlcdyBjq1b_tvIvHVXSYBtRh4w-2yOYL-1Mo@z> Earnie Boyd wrote: > > --- Scott A Sumner wrote: > > I just installed Cygwin 1.0 from the CD and I'm having trouble mounting > > Win32 drives to > > Cygwin paths. > > > > Following the "How can I access other drives?" topic in the faq, I do > > this: > > > > bash-2.03$ mkdir /c > > bash-2.03$ mount c:/ /c > > bash-2.03$ mount 'c:\' /c > > The first parameter to mount must be in DOS notation. Earnie, I don't understand. I have done this (many times) using the forward slash. I believe the documentation also says you can do it this way (however, I have not verified this yet). The following is copied from a bash session in a DOS box window: [ramjr]$ mount Device Directory Type Flags c:\usr\bob /home/bob user binmode C:\Cygwin / system binmode [ramjr]$ mkdir -p /drv/d [ramjr]$ mount -b d:/ /drv/d [ramjr]$ mount Device Directory Type Flags c:\usr\bob /home/bob user binmode C:\Cygwin / system binmode d: /drv/d user binmode [ramjr]$ ls /drv/d RECYCLED [ramjr]$ ls //d RECYCLED [ramjr]$ I was curious about the "mount" output listing just "d:" for the Device column, so I unmounted it and did the following: [ramjr]$ ls //d RECYCLED [ramjr]$ mkdir //d/tst [ramjr]$ ls //d RECYCLED tst [ramjr]$ mount -b d:/tst /drv/d [ramjr]$ mount Device Directory Type Flags c:\usr\bob /home/bob user binmode C:\Cygwin / system binmode d:\tst /drv/d user binmode [ramjr]$ ls /drv/d [ramjr]$ touch //d/tst/new [ramjr]$ ls /drv/d new [ramjr]$ The software changes the path in this case, replacing the forward slash with a back slash (UNIX -> DOS format). Perhaps the problem relates to the first example, where the DOS Device name does not contain a backslash? > ===== > Earnie Boyd < mailto:earnie_boyd@yahoo.com > > Cygwin Newbies, please visit > < http://www.freeyellow.com/members5/gw32/index.html > > __________________________________________________ > Do You Yahoo!? > Thousands of Stores. Millions of Products. All in one place. > Yahoo! Shopping: http://shopping.yahoo.com > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe@sourceware.cygnus.com -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan@veritas.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com