This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I abbreviate /cygdrive/DRIVELETTER ?


On Thu, 16 Jan 2003 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'?
> I alias'd '/cygdrive/l' to 'l' which works fine for cd, but not for commands
> like chmod, cp, mv etc. Among others I'd like to use the automatic command
> line completion which doesn't work for /cygdrive/... either.
> Any suggestions?
>
> Best wishes,
> Svartsjel

Try

$ mkdir /l
$ mount l:/ /l

for details, "man mount".
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]