Tried to remove cygdrive prefix, ended up "lost" in my filesystem
Diego Mesa
diego898@gmail.com
Wed Oct 16 21:26:00 GMT 2013
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@gmail.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@yandex.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@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
More information about the Cygwin
mailing list