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: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 02 Oct 2013 22:15:06 -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> <502142745 dot 20131003033424 at mtu-net dot ru> <CAJULJAOnmrUDd+yhsS-jFi01SXtLhgSPMXKmgJ2hU0rfrhKQZg at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
On 10/2/2013 7:45 PM, Diego Mesa 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?
You appear to be expecting that you can run the command above while
you're sitting in a path under /cygdrive and that you'll somehow
magically be remapped to the new location. It doesn't work that
way. Try this:
cd /
mount -c /
ls /c
With that you should see the contents of your C drive. If you
don't see that, try 'mount -p'. From that, you should see:
Prefix Type Flags
/ user binmode
If not, you're definitely doing something wrong. We'll need a
full problem report -> <http://cygwin.com/problems.html>
Also, keep in mind that setting the cygdrive path with the 'mount'
command is a runtime thing only. As soon as the last Cygwin
process on your system terminates, it resets to 'cygdrive' again.
That's the reason the '/etc/fstab' method also exists. But stick
with the above recipe until you understand what's happening and
you see results you want. Then you can continue your experimentation
using '/etc/fstab' if you prefer.
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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