This is the mail archive of the cygwin 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: Cygwin 1.7 on a FLASH Drive


Larry Hall (Cygwin) wrote on 20 August 2008 19:22:

> Ralph Hempel wrote:

>> Is there a way to create a symlink of a directory on a local
>> hard drive to the cygwin /home/username/ directory?
> 
> No, not across volumes.  

  Huh?  I must be misunderstanding what you mean here:

/ $ df .
Filesystem           1K-blocks      Used Available Use% Mounted on
C:\cygwin            151974868 122610860  29364008  81% /
/ $ cd /cygdrive/c
/cygdrive/c $ df .
Filesystem           1K-blocks      Used Available Use% Mounted on
c:                   151974868 122610860  29364008  81% /cygdrive/c
/cygdrive/c $ ln -s /cygdrive/e link-to-e-drive
/cygdrive/c $ cd link-to-e-drive
/cygdrive/c/link-to-e-drive $ df .
Filesystem           1K-blocks      Used Available Use% Mounted on
e:                   104864252  71154064  33710188  68% /cygdrive/e
/cygdrive/c/link-to-e-drive $ touch foo
/cygdrive/c/link-to-e-drive $ cygpath -w /cygdrive/c/link-to-e-drive/foo
e:\foo
/cygdrive/c/link-to-e-drive $ ln -s /cygdrive/c link-to-c-drive
/cygdrive/c/link-to-e-drive $ cd link-to-c-drive
/cygdrive/c/link-to-e-drive/link-to-c-drive $ touch bar
/cygdrive/c/link-to-e-drive/link-to-c-drive $ cygpath -w
/cygdrive/c/link-to-e-drive/link-to-c-drive/bar
c:\bar
/cygdrive/c/link-to-e-drive/link-to-c-drive $

    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/


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