Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> List-Archive: <http://sourceware.cygnus.com/ml/cygwin/> List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com> List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <392EB2CD.20BCE950@veritas.com> Date: Fri, 26 May 2000 10:22:21 -0700 From: Bob McGowan <rmcgowan AT veritas DOT com> Organization: VERITAS Software X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Parker, Ron" <rdparker AT butlermfg DOT com> CC: cygwin <cygwin AT sourceware DOT cygnus DOT com> Subject: Re: File name syntax (WAS: RE: FW: Can not config sshd) References: <200005261702 DOT KAA22136 AT athena DOT veritas DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit > > Which makes me wonder would a patch to cygwin be welcome that did the > following? > > * Make multiple introductory slashes on a path behave as a single > introductory slash > * Make paths that begin with name: and contain no backslashes behave as a > network path > > In other words, "///myfile" would translate to "/myfile" and > "machine:dir/file" or "machine:/dir/file" would map to the Windows path > \\machine\dir\file. > I would endorse this, since it would make the operation of Cygwin more 'unix like'. All unix systems I'm familiar with (mostly SVR3 and SVR4 derived) treat a '//' the same as '/./' so a path that comes up looking like //usr/src is handled correctly. I would speculate that this was done so the root user's home directory '/' would work correctly with absolute path names generated elsewhere. Currently Cygwin treats multiple slashes in a path (abc//xyz) in this way, anyway, so doing so for leading slashes would also make the operation consistent. The network part is something I cannot comment on in detail though it looks OK. I would wonder what would happen if I had an NFS client installed, with some UNIX NFS server file system mounted, would the format UNXISERVER:nfs_mount be correctly handled? -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan AT veritas DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com