delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/16/17:26:51

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Qr
vcOwXAMj4UVSXaVb7nwvDR0nofYqnans+zUNfHAlwYOHiBLmrsH6zf/hluleGI3c
qJ8sVA2AOPW3Kpv+y+3HwdecbNH8b2Bn072OE9r2odIEeC3slDLiZxlm+YJRNrqv
ChDde8TyS7HGmiOZN0vWYSelKwd88KUoiWhUJeYq0=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=gR4+Mjfs
xJHYQIil137/dfntbL8=; b=hlk50tJWZGbFPz3qb4DU08EMShFWiFe6y1GiG5QZ
xAUoLoYNKQDPZjBvYfoZ5M5rJghHGjHi94mpwFQFiYHTJd7jQ7th/sBNSW3W5oAx
RrAuRdCHJW9gZbpNCmOnNr5kdi+sGA1GGBsRuWZNq43RYE7bnDOypvwpvSYzYoCb
M3g=
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: No, score=1.4 required=5.0 tests=BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wi0-f180.google.com
MIME-Version: 1.0
X-Received: by 10.194.11.67 with SMTP id o3mr4421366wjb.0.1381958792268; Wed, 16 Oct 2013 14:26:32 -0700 (PDT)
In-Reply-To: <CAJULJAOnmrUDd+yhsS-jFi01SXtLhgSPMXKmgJ2hU0rfrhKQZg@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> <502142745 DOT 20131003033424 AT mtu-net DOT ru> <CAJULJAOnmrUDd+yhsS-jFi01SXtLhgSPMXKmgJ2hU0rfrhKQZg AT mail DOT gmail DOT com>
Date: Wed, 16 Oct 2013 14:26:32 -0700
Message-ID: <CAJULJAMaOwh_e1-ptzhjT-d2w3cnie+tGZkvKKk5J25QiTZG+w@mail.gmail.com>
Subject: Re: Tried to remove cygdrive prefix, ended up "lost" in my filesystem
From: Diego Mesa <diego898 AT gmail DOT com>
To: Andrey Repin <cygwin AT cygwin DOT com>

hello. I have tried this as well as the option mentioned by Larry in a
previous email. His option does indeed work. I've reset everything and
can now navigate my file system and correctly see my home directory
contents. What I was trying to do is permanently remove any and all
reference to a /cygdrive anywhere in my cygwin experience.
Essentially, I never want to see "cygdrive" at all. The reason for
this is to support several legacy scripts I have collected/built on a
system that had this property (not setup by me). And on a new system
Ive installed cygwin and don't want to change all of my previous
scripts. Is this possible?

Thank you for the continued help

On Wed, Oct 2, 2013 at 4:45 PM, Diego Mesa <diego898 AT gmail DOT com> wrote:
> Hello!
>
> I've tried the mount -c / command, as well as the changes in fstab
> with a restart and it still doesnt work! Am I missing something?
>
> On Wed, Oct 2, 2013 at 4:34 PM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
>> 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