This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: How can I abbreviate /cygdrive/DRIVELETTER ?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 16 Jan 2003 14:27:14 +0100
- Subject: Re: How can I abbreviate /cygdrive/DRIVELETTER ?
- References: <13016.1042722817@www63.gmx.net>
- Reply-to: cygwin at cygwin dot com
On Thu, Jan 16, 2003 at 02:13:37PM +0100, svartsjel@gmx.net wrote:
> Hi everyone!
>
> As I often access different drives from within the bash I'm wondering if
> there's a quicker way to get on, say, drive l (a network drive) than entering
> 'cd /cygdrive/l'?
/cygdrive is the so called cygdrive prefix. `mount --help' reveals:
Usage: mount [OPTION] [<win32path> <posixpath>]
[...]
-c, --change-cygdrive-prefix change the cygdrive path prefix to <posixpath>
so you can do sth. like
mount --change-cygdrive-prefix /mnt
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/