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: Misleading warning from mount?


On Oct  7 16:57, luke.kendall@cisra.canon.com.au wrote:
>     bash-2.05b$ mount c:/temp/mnt/tmp /tmp
>     mount: warning - /tmp does not exist.
> 
> Maybe I still misunderstand.  In what sense does /tmp not exist?

Under Unix, the directory in which you mount a partition must
exist:

  $ mount /dev/hda /nirvana
  mount: /nirvana: No such file or directory

or a similar message.  From the perspective of Cygwin's mount, there's
no /tmp directory at the moment you use it to mount c:\temp\mnt\tmp
into it.  That's all.  In contrast to Unix, that's not breaking the
mount, so you only get a warning.  Use mount's -f option to suppress
the warning message.

Cornina

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

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