delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 2 Aug 2011 16:37:08 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Portable shell code between Cygwin and Linux |
Message-ID: | <20110802143708.GA8652@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <80hb65b3ue DOT fsf AT somewhere DOT org> <20110729201651 DOT GB13084 AT calimero DOT vinschen DOT de> <80ipqhljc3 DOT fsf AT somewhere DOT org> <20110801074352 DOT GA14889 AT calimero DOT vinschen DOT de> <80oc08m291 DOT fsf AT somewhere DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <80oc08m291.fsf@somewhere.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Aug 2 14:22, Sebastien Vauban wrote: > Hi Corinna Vinschen, > > Corinna Vinschen wrote: > > How is that different from using a drive letter like C:? The best you can do > > is to create a mount point(*) under Cygwin which has the same path as under > > Ubuntu. Then, just use the same POSIX paths on both systems. > > As I put all my files starting at c:/home/sva, I'd then to mount > > C: = / > > right? Wrong. Don't change the root mount point. > So that my home directory under Ubuntu (/home/sva) is the same under Cygwin > (/home/sva = C:/home/sva). > > Though, the following did not succeed: > > #+begin_src sh > $ mount C: / -o binary > mount: warning: couldn't determine mount type. > mount: /: Operation not permitted > #+end_src > > Is this operation really not permitted? Don't do this. Add a mount point to /home to your fstab. Did you *read* the User's Guide? In my previous mail I pasted two links for your convenience. For good measure I add another one: http://cygwin.com/cygwin-ug-net/using.html#mount-table http://cygwin.com/cygwin-ug-net/using.html#cygdrive http://cygwin.com/cygwin-ug-net/using-utils.html#mount Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |