Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Tue, 29 Feb 2000 13:34:24 -0500 To: "Parker, Ron" Cc: "'cygwin-developers AT sourceware DOT cygnus DOT com'" , Egor Duda Subject: Re: FS layout issues for v1.1 (eg., /bin and /usr/bin) Message-ID: <20000229133424.B2798@cygnus.com> Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com References: <200002291744 DOT JAA18000 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.4i In-Reply-To: <200002291744.JAA18000@cygnus.com>; from rdparker@butlermfg.org on Tue, Feb 29, 2000 at 11:43:21AM -0600 On Tue, Feb 29, 2000 at 11:43:21AM -0600, Parker, Ron wrote: > >-----Original Message----- >From: Egor Duda [mailto:deo AT logos-m DOT ru] >Sent: Tuesday, February 29, 2000 1:37 AM >To: cygwin-developers AT sourceware DOT cygnus DOT com; Mumit Khan >Subject: Re: FS layout issues for v1.1 (eg., /bin and /usr/bin) > > > >> MK> The question is -- how do we make /bin and /usr/bin the same? > >> MK> a. Symlinks: cygcheck could check and report this if the user somehow >> MK> deletes it. > >> the only drawback i see is performance going down. we all know that >> symlinks are rather slow. > >What would be the side effects of using matched mounts instead of symlinks? > >For, example > mount -b C:\\cygwin / > mkdir /usr/bin > mount -b C:\\bin /usr/bin > >or, > mount -b C:\\cygwin / > mkdir /bin > mount -b C:\\usr\\bin /bin There are no side effects. The biggest problem is "user confusion". It's pretty obvious what's going on when you do a "ls -l /usr". It's not so obvious when you are using mounts. Someone mentioned that symlinks might be slow on network drives. I'm not worried about that. The problem is that symlinks *may not work* on network drives. That may blow the symlink idea out of the water, unfortunately. cgf