From: rdparker AT butlermfg DOT org (Parker, Ron) Subject: RE: mount() semantics 23 Sep 1998 08:19:07 -0700 Message-ID: <199809231513.IAA16934.cygnus.cygwin32.developers@cygnus.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BDE705.4B87A338" To: TYann AT vet DOT com DOT au, cygwin32-developers AT cygnus DOT com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------ =_NextPart_000_01BDE705.4B87A338 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Or, recreate the directories. It seems to me that a na=EFve user is likely to delete an empty being unaware that some of their software requires it. Therefore I think if we do anything we should recreate them. Another option is to mark mount point directories as system = directories. This would at least generate a warning in Explorer before deleting the directory. -----Original Message----- From: TYann AT vet DOT com DOT au [mailto:TYann AT vet DOT com DOT au] Sent: Monday, September 21, 1998 11:10 PM To: cygwin32-developers AT cygnus DOT com Subject: Re: mount() semantics I like the idea of forcing the directory to exist, but we have to be able to cope with the directory being later deleted from outside the = cygwin32 environment. Perhaps we could check this at startup, and remove/disable mounts where the unerlying directory no longer exists. At 19:13 21/09/98 -0700, you wrote: >Consider: mount Q:/baz /foo/bar > >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. > >If you all think that would be too drastic, we could at least check >for the parent directory's existance (although that's a bit trickier)... > >Thoughts? > >--=20 >Geoffrey Noer >noer AT cygnus DOT com > ------ =_NextPart_000_01BDE705.4B87A338 Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+IicPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaW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