public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* having trouble mounting Win32 drives to Cygwin paths
@ 1999-12-02 10:11 Scott A Sumner
  1999-12-02 23:15 ` Heinz-Juergen Oertel
  1999-12-31 13:28 ` Scott A Sumner
  0 siblings, 2 replies; 8+ messages in thread
From: Scott A Sumner @ 1999-12-02 10:11 UTC (permalink / raw)
  To: cygwin

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$ ls /c
        bash-2.03$

Notice my ls command didn't show me what is in c:\ and I don't know why!

However, if I do the faq's "special means of accessing other drive
letters"
syntax, I get this, which is what I feel I should have gotten with `ls
/c' above:

        bash-2.03$ ls //c/
        AUTOEXEC.BAT   CONFIG.SYS     Logo_.sys      RECYCLED      
ffastun.ffo
        BOOTLOG.PRV    DBLSPACE.INI   MAB            SCANDISK.LOG  
ffastun0.ffx
        BOOTLOG.TXT    DELL           MSDOS.SYS      Utilitys      
logo.sys
        Batch          Dos            Mew71          WINDOWS       
winzip.log
        CDROM          IO.SYS         PREALG         ffastun.ffa
        COMMAND.COM    Junk           Program Files  ffastun.ffl
        bash-2.03$

Here's my mount table before I do the mount:
        Device           Directory           Type        Flags
        \\.\tape1:       /dev/st1            native      text!=binary
        \\.\tape0:       /dev/st0            native      text!=binary
        \\.\b:           /dev/fd1            native      text!=binary
        \\.\a:           /dev/fd0            native      text!=binary
        C:               /                   native      text!=binary

Here's my mount table after I do the mount:
        Device           Directory           Type        Flags
        \\.\tape1:       /dev/st1            native      text!=binary
        \\.\tape0:       /dev/st0            native      text!=binary
        \\.\b:           /dev/fd1            native      text!=binary
        \\.\a:           /dev/fd0            native      text!=binary
        c:               /c                  native      text!=binary
        C:               /                   native      text!=binary

Can anyone shed some light on why this isn't working for me?


Scott A. Sumner ( sasumner@bigfoot.com )
--You may reply to this message and I will likely receive it.
--If you are going to put me in your address book,
--please use sasumner@bigfoot.com.

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj .

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: having trouble mounting Win32 drives to Cygwin paths
  1999-12-02 10:11 having trouble mounting Win32 drives to Cygwin paths Scott A Sumner
@ 1999-12-02 23:15 ` Heinz-Juergen Oertel
  1999-12-31 13:28   ` Heinz-Juergen Oertel
  1999-12-31 13:28 ` Scott A Sumner
  1 sibling, 1 reply; 8+ messages in thread
From: Heinz-Juergen Oertel @ 1999-12-02 23:15 UTC (permalink / raw)
  To: Scott A Sumner, 'Cygwin mailing list'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3339 bytes --]

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$ ls /c
>         bash-2.03$
> 
> Notice my ls command didn't show me what is in c:\ and I don't know why!
> 
> However, if I do the faq's "special means of accessing other drive
> letters"
> syntax, I get this, which is what I feel I should have gotten with `ls
> /c' above:
> 
>         bash-2.03$ ls //c/
>         AUTOEXEC.BAT   CONFIG.SYS     Logo_.sys      RECYCLED
> ffastun.ffo
>         BOOTLOG.PRV    DBLSPACE.INI   MAB            SCANDISK.LOG
> ffastun0.ffx
>         BOOTLOG.TXT    DELL           MSDOS.SYS      Utilitys
> logo.sys
>         Batch          Dos            Mew71          WINDOWS
> winzip.log
>         CDROM          IO.SYS         PREALG         ffastun.ffa
>         COMMAND.COM    Junk           Program Files  ffastun.ffl
>         bash-2.03$
> 
> Here's my mount table before I do the mount:
>         Device           Directory           Type        Flags
>         \\.\tape1:       /dev/st1            native      text!=binary
>         \\.\tape0:       /dev/st0            native      text!=binary
>         \\.\b:           /dev/fd1            native      text!=binary
>         \\.\a:           /dev/fd0            native      text!=binary
>         C:               /                   native      text!=binary
> 
> Here's my mount table after I do the mount:
>         Device           Directory           Type        Flags
>         \\.\tape1:       /dev/st1            native      text!=binary
>         \\.\tape0:       /dev/st0            native      text!=binary
>         \\.\b:           /dev/fd1            native      text!=binary
>         \\.\a:           /dev/fd0            native      text!=binary
>         c:               /c                  native      text!=binary
>         C:               /                   native      text!=binary
> 
> Can anyone shed some light on why this isn't working for me?
> 

I am uing b20.1

If you want to acess your drive c: you don't have to do anything, as your first
printout of the mount table shows. Type:

 $ ls /


> Scott A. Sumner ( sasumner@bigfoot.com )
> --You may reply to this message and I will likely receive it.
> --If you are going to put me in your address book,
> --please use sasumner@bigfoot.com.
> 
> ___________________________________________________________________
> Get the Internet just the way you want it.
> Free software, free e-mail, and free Internet access for a month!
> Try Juno Web: http://dl.www.juno.com/dynoget/tagj .
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
with best regards / mit freundlichen Grüßen

  Heinz-Jürgen Oertel

==============================================
Heinz-Juergen Oertel
port GmbH               phone +49 345 77755-0
Regensburger Straße 7c  fax   +49 345 77755-20
D-06132 Halle/Saale     mailto:oe@port.de
Germany                 http://www.port.de
==============================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* having trouble mounting Win32 drives to Cygwin paths
  1999-12-02 10:11 having trouble mounting Win32 drives to Cygwin paths Scott A Sumner
  1999-12-02 23:15 ` Heinz-Juergen Oertel
@ 1999-12-31 13:28 ` Scott A Sumner
  1 sibling, 0 replies; 8+ messages in thread
From: Scott A Sumner @ 1999-12-31 13:28 UTC (permalink / raw)
  To: cygwin

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$ ls /c
        bash-2.03$

Notice my ls command didn't show me what is in c:\ and I don't know why!

However, if I do the faq's "special means of accessing other drive
letters"
syntax, I get this, which is what I feel I should have gotten with `ls
/c' above:

        bash-2.03$ ls //c/
        AUTOEXEC.BAT   CONFIG.SYS     Logo_.sys      RECYCLED      
ffastun.ffo
        BOOTLOG.PRV    DBLSPACE.INI   MAB            SCANDISK.LOG  
ffastun0.ffx
        BOOTLOG.TXT    DELL           MSDOS.SYS      Utilitys      
logo.sys
        Batch          Dos            Mew71          WINDOWS       
winzip.log
        CDROM          IO.SYS         PREALG         ffastun.ffa
        COMMAND.COM    Junk           Program Files  ffastun.ffl
        bash-2.03$

Here's my mount table before I do the mount:
        Device           Directory           Type        Flags
        \\.\tape1:       /dev/st1            native      text!=binary
        \\.\tape0:       /dev/st0            native      text!=binary
        \\.\b:           /dev/fd1            native      text!=binary
        \\.\a:           /dev/fd0            native      text!=binary
        C:               /                   native      text!=binary

Here's my mount table after I do the mount:
        Device           Directory           Type        Flags
        \\.\tape1:       /dev/st1            native      text!=binary
        \\.\tape0:       /dev/st0            native      text!=binary
        \\.\b:           /dev/fd1            native      text!=binary
        \\.\a:           /dev/fd0            native      text!=binary
        c:               /c                  native      text!=binary
        C:               /                   native      text!=binary

Can anyone shed some light on why this isn't working for me?


Scott A. Sumner ( sasumner@bigfoot.com )
--You may reply to this message and I will likely receive it.
--If you are going to put me in your address book,
--please use sasumner@bigfoot.com.

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj .

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: having trouble mounting Win32 drives to Cygwin paths
  1999-12-02 23:15 ` Heinz-Juergen Oertel
@ 1999-12-31 13:28   ` Heinz-Juergen Oertel
  0 siblings, 0 replies; 8+ messages in thread
From: Heinz-Juergen Oertel @ 1999-12-31 13:28 UTC (permalink / raw)
  To: Scott A Sumner, 'Cygwin mailing list'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3339 bytes --]

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$ ls /c
>         bash-2.03$
> 
> Notice my ls command didn't show me what is in c:\ and I don't know why!
> 
> However, if I do the faq's "special means of accessing other drive
> letters"
> syntax, I get this, which is what I feel I should have gotten with `ls
> /c' above:
> 
>         bash-2.03$ ls //c/
>         AUTOEXEC.BAT   CONFIG.SYS     Logo_.sys      RECYCLED
> ffastun.ffo
>         BOOTLOG.PRV    DBLSPACE.INI   MAB            SCANDISK.LOG
> ffastun0.ffx
>         BOOTLOG.TXT    DELL           MSDOS.SYS      Utilitys
> logo.sys
>         Batch          Dos            Mew71          WINDOWS
> winzip.log
>         CDROM          IO.SYS         PREALG         ffastun.ffa
>         COMMAND.COM    Junk           Program Files  ffastun.ffl
>         bash-2.03$
> 
> Here's my mount table before I do the mount:
>         Device           Directory           Type        Flags
>         \\.\tape1:       /dev/st1            native      text!=binary
>         \\.\tape0:       /dev/st0            native      text!=binary
>         \\.\b:           /dev/fd1            native      text!=binary
>         \\.\a:           /dev/fd0            native      text!=binary
>         C:               /                   native      text!=binary
> 
> Here's my mount table after I do the mount:
>         Device           Directory           Type        Flags
>         \\.\tape1:       /dev/st1            native      text!=binary
>         \\.\tape0:       /dev/st0            native      text!=binary
>         \\.\b:           /dev/fd1            native      text!=binary
>         \\.\a:           /dev/fd0            native      text!=binary
>         c:               /c                  native      text!=binary
>         C:               /                   native      text!=binary
> 
> Can anyone shed some light on why this isn't working for me?
> 

I am uing b20.1

If you want to acess your drive c: you don't have to do anything, as your first
printout of the mount table shows. Type:

 $ ls /


> Scott A. Sumner ( sasumner@bigfoot.com )
> --You may reply to this message and I will likely receive it.
> --If you are going to put me in your address book,
> --please use sasumner@bigfoot.com.
> 
> ___________________________________________________________________
> Get the Internet just the way you want it.
> Free software, free e-mail, and free Internet access for a month!
> Try Juno Web: http://dl.www.juno.com/dynoget/tagj .
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
with best regards / mit freundlichen Grüßen

  Heinz-Jürgen Oertel

==============================================
Heinz-Juergen Oertel
port GmbH               phone +49 345 77755-0
Regensburger Straße 7c  fax   +49 345 77755-20
D-06132 Halle/Saale     mailto:oe@port.de
Germany                 http://www.port.de
==============================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: having trouble mounting Win32 drives to Cygwin paths
  1999-12-02 11:30 Earnie Boyd
  1999-12-02 12:16 ` Bob McGowan
@ 1999-12-31 13:28 ` Earnie Boyd
  1 sibling, 0 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-12-31 13:28 UTC (permalink / raw)
  To: Scott A Sumner, cygwin

--- Scott A Sumner <sasumner@juno.com> 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 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: having trouble mounting Win32 drives to Cygwin paths
  1999-12-02 12:16 ` Bob McGowan
@ 1999-12-31 13:28   ` Bob McGowan
  0 siblings, 0 replies; 8+ messages in thread
From: Bob McGowan @ 1999-12-31 13:28 UTC (permalink / raw)
  To: earnie_boyd, cygwin

Earnie Boyd wrote:
> 
> --- Scott A Sumner <sasumner@juno.com> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: having trouble mounting Win32 drives to Cygwin paths
  1999-12-02 11:30 Earnie Boyd
@ 1999-12-02 12:16 ` Bob McGowan
  1999-12-31 13:28   ` Bob McGowan
  1999-12-31 13:28 ` Earnie Boyd
  1 sibling, 1 reply; 8+ messages in thread
From: Bob McGowan @ 1999-12-02 12:16 UTC (permalink / raw)
  To: earnie_boyd, cygwin

Earnie Boyd wrote:
> 
> --- Scott A Sumner <sasumner@juno.com> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: having trouble mounting Win32 drives to Cygwin paths
@ 1999-12-02 11:30 Earnie Boyd
  1999-12-02 12:16 ` Bob McGowan
  1999-12-31 13:28 ` Earnie Boyd
  0 siblings, 2 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-12-02 11:30 UTC (permalink / raw)
  To: Scott A Sumner, cygwin

--- Scott A Sumner <sasumner@juno.com> 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 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-12-31 13:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-02 10:11 having trouble mounting Win32 drives to Cygwin paths Scott A Sumner
1999-12-02 23:15 ` Heinz-Juergen Oertel
1999-12-31 13:28   ` Heinz-Juergen Oertel
1999-12-31 13:28 ` Scott A Sumner
1999-12-02 11:30 Earnie Boyd
1999-12-02 12:16 ` Bob McGowan
1999-12-31 13:28   ` Bob McGowan
1999-12-31 13:28 ` Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).