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: Portable shell code between Cygwin and Linux


Hi Corinna Vinschen,

Corinna Vinschen wrote:
> How is that different from using a drive letter like C:? The best you can do
> is to create a mount point(*) under Cygwin which has the same path as under
> Ubuntu. Then, just use the same POSIX paths on both systems.

As I put all my files starting at c:/home/sva, I'd then to mount

    C: = /

right?

So that my home directory under Ubuntu (/home/sva) is the same under Cygwin
(/home/sva = C:/home/sva).

Though, the following did not succeed:

#+begin_src sh
$ mount C: / -o binary
mount: warning: couldn't determine mount type.
mount: /: Operation not permitted
#+end_src

Is this operation really not permitted?

Best regards,
  Seb

-- 
Sebastien Vauban


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