This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Tried to remove cygdrive prefix, ended up "lost" in my filesystem
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Diego Mesa <diego898 at gmail dot com>, cygwin at cygwin dot com
- Date: Thu, 3 Oct 2013 03:34:24 +0400
- Subject: Re: Tried to remove cygdrive prefix, ended up "lost" in my filesystem
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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@gmail.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@gmail.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@yandex.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