This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: mount command




> umount /home        (hopefully this will clean out the reg)
> rm -r /home
> Exit from cygwin and start it again

No, exit from cygwin and STAY OUT.  Use the regular ms-dos window
(cmd.exe) to make the c:\home directory

> cd /temp
> mkdir c:\home
> 
> Whoops it created it in c:/temp.

Yup, because you're in bash and '\' is an escape character, not a
directory separator.

> mkdir c:/home
> 
> OK that put it in the right place where I had it before

You're using bash's builtin mkdir (or cygwin's mkdir.exe), and it's
using the mount table.  You need to use MS's shell so it won't know
about the mount table.

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