delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/15/18:01:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_20,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Reply-To: jbeard4 AT cs DOT mcgill DOT ca
From: Jacob Beard <jbeard4 AT cs DOT mcgill DOT ca>
Date: Mon, 15 Oct 2012 18:00:49 -0400
Message-ID: <CADywnFgQaGra5NxwwxaEzdGaYKt-OJ0vj6d24z18R84vL8NJpA@mail.gmail.com>
Subject: mysteriously, /home always mounted at C:/Users/jbeard/AppData/Roaming/Microsoft
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019