Menu

cygwin drive prefix

Help
2009-01-03
2013-05-20
  • coinoperated

    coinoperated - 2009-01-03

    EPIC appears to append the default cygwin drive prefix '/cygdrive' (i.e. '/cygdrive/c/.../.metadata/.plugins/org.epic...') Is it possible to defeat or change the default for this feature?...
    We use a null prefix so the default for drive navigation from the root is '/c/...'

    thx

     
    • Jan Ploski

      Jan Ploski - 2009-01-03

      I don't think it can be switched off, but maybe a symlink /cygdrive -> / would help?

       
      • Milo H. Fields

        Milo H. Fields - 2009-01-04

        Not able to create symbolic links to 'cygdrive' as it's cygwin specific 'magic' not a file system location..  An ugly workaround is to use the default cygdrive prefix and create symbolic links to the drives (i.e. '/c')...

        I have a modification for your test code base to do look-up for the cygwin mount point by calling 'mount -p' and parsing out the users defined mount prefix (uses your utility chain)... I'd be happy to provide it if your interested... 

         
        • Jan Ploski

          Jan Ploski - 2009-01-04

          Please upload it into the Patches tracker.

           

Log in to post a comment.

MongoDB Logo MongoDB