X-Spam-Check-By: sourceware.org
Date: Thu, 12 Oct 2006 08:43:57 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1
Message-ID: <20061012124357.GB30908@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20061012115416.GB8323@calimero.vinschen.de> <20061012120957.GA30160@trixie.casa.cgf.cx> <n2m-g.16a4970dd9103d16e0599863cc46d021@crystal.laburec.de> <20061012123217.GD8323@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20061012123217.GD8323@calimero.vinschen.de>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Oct 12, 2006 at 02:32:17PM +0200, Corinna Vinschen wrote:
>On Oct 12 14:21, Kai Raphahn wrote:
>> Christopher Faylor wrote:
>> 
>> > We're already cluttering the root one less than linux since modern linuxes
>> > use /dev, /proc, and /sys.
>> 
>> > Hmm.  /sys/drive/c  has a nice feel to it, although this is YA a case where
>> > the existence of a filesystem under this directory is not linux-like.
>> 
>> What about /mnt/c?
>
>Recent Linux distros are using /media to point to several... media.
>For instance /media/cdrom.  So, something like /media/dosdrive/c sounds
>interesting, too.

Wow!  Two new suggestions for this age-old discussion.

I still think that if this is necessary, it should be done by a setup
script rather than complicating cygwin's code.  The only problem that I
can see is that the mount table is limited in size so you wouldn't want
to do something like:

  mount -f -b a:/ /media/dosdrive/c
  mount -f -b b:/ /media/dosdrive/c
  mount -f -b c:/ /media/dosdrive/c
  mount -f -b d:/ /media/dosdrive/c
  mount -f -b e:/ /media/dosdrive/c
  mount -f -b f:/ /media/dosdrive/c
  mount -f -b g:/ /media/dosdrive/c
  .
  .
  .

But, I don't think that is really required anyway.  It sounds like
all we need is something like:

  mount -f -b c:\windows /win/winroot

The more I think about this, the more I think that complicating Cygwin's
complicated path handling code with another special case is not a good
idea.

Incidentally, the /etc/hosts symlink could also just be handled with
a mount rather than a symlink...

cgf

--
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/

