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: Mounting directory problems


> >   mount //srv2/test /srv2_test
> > 
> > You really should create '/srv2_test' first.
> 
> Why?  What difference does it make?

A directory must exist prior to the mount point if you want
readdir() to see it (used by ls, find, ...).  Yes, you can use
mount -f to circumvent the requirement that the directory
already exist, but then you can no longer search the parent
directory for the mount point.

--
Eric Blake



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