delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/21/15:15:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <sthoenna AT efn DOT org>, 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019