Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: ericblake AT comcast DOT net (Eric Blake) To: Yitzchak Scott-Thoennes , cygwin AT cygwin DOT com Subject: Re: Mounting directory problems Date: Wed, 21 Sep 2005 19:13:18 +0000 Message-Id: <092120051913.27558.4331B0CE0003E53300006BA622069997350A050E040D0C079D0A@comcast.net> > > 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/