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: best directory naming /dev/fs or cygdrive for both linux (ubuntu) and cygwin and SUA (a bit off top


On Dec  2 22:51, Robert Sandefur wrote:
> I sometimes need to run bash scripts with directory references developed
> in cygwin on Linux (Ubuntu) and very occasionally on SUA (Billy linux).
> Any opinions as to if using /dev/fs/C is better or worse than
> /cygdrive/C when mounting windozes disks in linux? 
> (/dev/fs seems best for SUA)

You should probably prefer the SUA local drive path prefix, for two
reasons.  The /dev/fs path is hardcoded in SUA, while you can easily set
the cygdrive prefix to whatever you want in Cygwin, including /dev/fs.
And the drive letter must be uppercase in SUA while it can be upper-
or lowercase in Cygwin.  So

  $ cd /dev/fs/C

works in SUA and in Cygwin.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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