public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jacob Beard <jbeard4@cs.mcgill.ca>
To: cygwin@cygwin.com
Subject: mysteriously, /home always mounted at C:/Users/jbeard/AppData/Roaming/Microsoft
Date: Mon, 15 Oct 2012 22:01:00 -0000	[thread overview]
Message-ID: <CADywnFgQaGra5NxwwxaEzdGaYKt-OJ0vj6d24z18R84vL8NJpA@mail.gmail.com> (raw)

Hi,

I had installed a 3PP distribution of OpenSSH, before installing
cygwin, and I'm now trying to recover from it. It seems this
application is known to cause trouble with cygwin installs:
http://cygwin.com/ml/cygwin/2006-11/msg00418.html

The problem I'm seeing is that Cygwin is mounting /home at
C:/Users/jbeard/AppData/Roaming/Microsoft, instead of C:\cygwin\home.

Here is the output of mount:

$ mount
C:/Users/jbeard/AppData/Roaming/Microsoft on /home type ntfs (binary)
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
H: on /cygdrive/h type ntfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nfs (binary,posix=0,user,noumount,auto)
Q: on /cygdrive/q type ntfs (binary,posix=0,user,noumount,auto)
R: on /cygdrive/r type ntfs (binary,posix=0,user,noumount,auto)
S: on /cygdrive/s type ntfs (binary,posix=0,user,noumount,auto)
T: on /cygdrive/t type ntfs (binary,posix=0,user,noumount,auto)
U: on /cygdrive/u type ntfs (binary,posix=0,user,noumount,auto)
W: on /cygdrive/w type ntfs (binary,posix=0,user,noumount,auto)
X: on /cygdrive/x type ntfs (binary,posix=0,user,noumount,auto)
Y: on /cygdrive/y type ntfs (binary,posix=0,user,noumount,auto)

I've worked around this by editing /etc/passwd, but this doesn't fully
solve the problem, as I've altered my windows DOS path to use cygwin
executables, and these are also confused by the broken mount, which is
not handled by the /etc/passwd workaround.

I've tried editing /etc/fstab, which for some reason originally had
the following line:

C:/Users/jbeard/AppData/Roaming/Microsoft /home some_fs binary 0 0

I've now changed that line to:

C:/cygwin/home /home some_fs binary 0 0

I closed all of my cygwin sessions, but the change to /etc/fstab seems
to be ignored, as mount produces the same output.

Does anyone know why the change to /etc/fstab might not be propagating?

I'd appreciate any guidance anyone can offer. Thanks,

Jake

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

             reply	other threads:[~2012-10-15 22:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 22:01 Jacob Beard [this message]
2012-10-15 22:06 ` Jacob Beard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADywnFgQaGra5NxwwxaEzdGaYKt-OJ0vj6d24z18R84vL8NJpA@mail.gmail.com \
    --to=jbeard4@cs.mcgill.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).