| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <12471295 DOT post AT talk DOT nabble DOT com> <fbircg$rvh$1 AT sea DOT gmane DOT org> <12478754 DOT post AT talk DOT nabble DOT com> <1188916455 DOT 20572 DOT 26 DOT camel AT jhereg> |
| Subject: | RE: Help with mount.. |
| Date: | Tue, 4 Sep 2007 15:55:01 +0100 |
| Message-ID: | <038a01c7ef03$91fd5eb0$2e08a8c0@CAM.ARTIMI.COM> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | <1188916455.20572.26.camel@jhereg> |
| 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 04 September 2007 15:34, Reid Thompson wrote:
> On Tue, 2007-09-04 at 07:03 -0700, gms5002 wrote:
>> Thanks for the reply Steve. What I am actually trying to achieve here is
>> to be able to access a certain folder (say C:\foo\bar) by typing cd /bar
>> at the command prompt.
> echo 'alias cdbar="cd /cygdrive/foo/bar"' >> .bashrc
Ok, that does literally what he asked for (except not quite literally, since
"cdbar" and "cd /bar" aren't literally the same, and also you meant to say
"/cygdrive/c/foo/bar", not "/cygdrive/foo/bar"), but I think we can assume
that he also wants to be able to write "ls /bar" and "pushd /bar" and "touch
/bar/baz/quux" and have them all work. It's a very limited solution.
The most meaningful other solution would have been something like
ln -s /cygdrive/c/foo/bar /bar
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |