delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/02/19:35:25

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=DvyUoenbqJncDije
iCKD8TwRNXOEEzavPZ144z2faOHMACZe7stOCgrNva258e1Bgkcliw4CXQBrOKR/
ICU0hW0Tcg0wvH2ycsfn2XOoSjdnh4pvU9OXDOjVekXI2B0+bi5qISH+nn3dG+Kr
wX1Cmv1RuOPoGKp1bK7smaiV8Tg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=YienI3Z2SgVehep37KQukK
A9iu8=; b=FGvV0E0OqHmlzyBICKluAcKGkZBgPPc2w7Bwj7KJOYuxNQKCO3URxt
OaRLMea5j9mObgxhwqHQH0ukcEQPszqVKE5/aOorQEhaKGgQWECc6UoSXO3fMZm3
x2wEBaBLBx5vOw8/ZqzPNPFWf8rzjPRHhLH1lyV6B/XQrrIcSDoAc=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=6.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,HELO_LH_HOME,KAM_THEBAT,RDNS_NONE autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Thu, 3 Oct 2013 03:34:24 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <502142745.20131003033424@mtu-net.ru>
To: Diego Mesa <diego898 AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Tried to remove cygdrive prefix, ended up "lost" in my filesystem
In-Reply-To: <CAJULJAMCQ0Vem0=1P=7eiMttsdbtB0Zh3ytUEAUw54ZJWVc65g@mail.gmail.com>
References: <CAJULJANvUVS-W8jhHJzYLEnpZYanc14XMgd578gVzFo74EAWcQ AT mail DOT gmail DOT com> <CAJULJAMxa6RKWL_ypuxY2HinZF5zyTZRNzfMWjF8wdF-i4_oAQ AT mail DOT gmail DOT com> <CAJULJAMCQ0Vem0=1P=7eiMttsdbtB0Zh3ytUEAUw54ZJWVc65g AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Diego Mesa!

> I have tried as suggested in [#1] and used the mount command as
> follows but it still doesnt work. However, my ~ is indeed my ~

For all your struggles, I think there's one point that you're missing.
For /etc/fstab changes to take effect, any and all applications using
cygwin1.dll should be stopped first.
Easiest is to restart a box.

>     ~:pwd
>     /cygdrive/c/Users/myname

>     ~:cat /etc/fstab
>     # For a description of the file format, see the Users Guide
>     # http://cygwin.com/cygwin-ug-net/using.html#mount-table

>     # This is default anyway:
>     none /cygdrive cygdrive binary,posix=0,user 0 0
>     #none / cygdrive binary 0 0%

>     ~:mount -c /

>     ~:pwd
>     /cygdrive/c/Users/myname


> Note: for some strange reason the listserv isnt making it to my inbox.
> Im checking it from: http://cygwin.com/ml/cygwin/2013-10/msg00012.html
> and so my responses aren't showing up correctly.

> [#1] http://cygwin.com/ml/cygwin/2013-10/msg00012.html

> On Wed, Oct 2, 2013 at 9:30 AM, Diego Mesa <diego898 AT gmail DOT com> wrote:
>> I tried removing the first line, but still appear in some no mands
>> land directory:
>>
>>     :cat /et/fstab
>>     # For a description of the file format, see the Users Guide
>>     # http://cygwin.com/cygwin-ug-net/using.html#mount-table
>>
>>     # This is default anyway:
>>     #none /cygdrive cygdrive binary,posix=0,user 0 0
>>     none / cygdrive binary 0 0
>>
>>     :pwd
>>     /cygdrive/c/Users/myname
>>
>>     :ls -al
>>     .bashrc
>>
>> The actual contents of C/users/myname are all of my custom files which
>> are not showing up here.
>>
>> On Tue, Oct 1, 2013 at 4:55 PM, Diego Mesa <diego898 AT gmail DOT com> wrote:
>>> Hello,
>>>
>>> Ive seen and done as suggested on this realted question [#1] about
>>> removing cygdrive prefix but am still unable to get ride of the
>>> /cygdrive/c prefix, and have encountered even stranger errors!
>>>
>>> My True directory
>>>     :pwd
>>>     /cygdrive/c/Users/myname
>>>     :ls
>>>     file1
>>>     file2
>>>     ...
>>>
>>> My Fstab
>>>     :cat /etc/fstab
>>>     # For a description of the file format, see the Users Guide
>>>     # http://cygwin.com/cygwin-ug-net/using.html#mount-table
>>>
>>>     # This is default anyway:
>>>     none /cygdrive cygdrive binary,posix=0,user 0 0
>>>
>>> As a matter of fact, when I add the answer from that question, my ~
>>> directory is no longer my actual home directory!
>>>
>>>     :cat /etc/fstab
>>>     # For a description of the file format, see the Users Guide
>>>     # http://cygwin.com/cygwin-ug-net/using.html#mount-table
>>>
>>>     # This is default anyway:
>>>     none /cygdrive cygdrive binary,posix=0,user 0 0
>>>     none / cygdrive binary 0 0
>>>
>>>     :ls
>>>     .bashrc
>>>     .zshrc
>>>
>>> and those are empty/not my real ones! What can I do?
>>>
>>>
>>> [#1] http://unix.stackexchange.com/questions/44677/how-do-i-get-rid-of-cygwins-cygdrive-prefix-in-all-paths

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



--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 03.10.2013, <03:33>

Sorry for my terrible english...


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