Mounting directory problems

Eric Blake ericblake@comcast.net
Wed Sep 21 19:30:00 GMT 2005


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



More information about the Cygwin mailing list