delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/21/19:55:02

From: bje AT cygnus DOT com (Ben Elliston)
Subject: Re: mount() semantics
21 Sep 1998 19:55:02 -0700 :
Message-ID: <Pine.LNX.3.95.980922123818.13390B-100000.cygnus.cygwin32.developers@moshpit.cygnus.com>
References: <19980921191324 DOT 55118 AT cygnus DOT com>
Mime-Version: 1.0
To: Geoffrey Noer <noer AT cygnus DOT com>
Cc: cygwin32-developers AT cygnus DOT com

> Under Unix, /foo/bar would have to be a valid directory.  Under
> Cygwin32, it does not.  Even worse, /foo doesn't even have to exist so
> if you cd into /foo/bar, and then try to cd .., an error results.
> I'm pretty convinced something needs to change.

> I am tempted to suggest requiring that /foo/bar exist as of b20,
> modifying mount() in winsup accordingly.  That would have the
> advantage of making mount()'s semantics much closer to Unix.  But it
> would also have the disadvantage of requiring physical directory mount
> points which could be a bummer to have to cope with.

I think it would be a good thing to do.  The more it behaves like Unix
semantics, the better.

Ben

- Raw text -


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