X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; q=dns; s=default; b=yv2/8To8e+WZ431VprjY+aLdHDMBT
	PBAAn2DbxSDAvxmO+D4H5BZKw7Bgf10C+cOH19wC1LaAaWuRhkfZuUO0r6CAoLuB
	tdVW0E2rjG2OKDESN14Tk+Go7HCma2+eGVEg6UM+J88awAw+pxXPHVQTtStbUfUB
	ZVd89WbgOeeOwk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type; s=default; bh=q0VHnmyOz5YtDU/hv2K6BeAIamE=; b=KvC
	3NypZj3ZvLZGW7CkXGcpXvmjPPoOBugh0JNUvQmMHs5efBwU7JQlkn58FghzmO56
	6jP3JnA5pkz+uj7wvhfSVW8hIEvPIxZ0rALAHhxK5ONnjip3J690zQceyh3kBCJO
	Gj+HpcGbz3M8/p3A0GYn+LlPh+SUL3O0ZLfNn+ek=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mail-qt0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;        bh=J/RcnKE/av/8z0cJirAlZUfBvlsj0ge2zvj4zGhsNu4=;        b=U1ub00E1742uTF7NQfUgZo5IVitTOycPvqspcZ0hb6ubhvgeHRUq7q/K4W9q43HMgQ         C4YjOyjaTlDb4nypM9JfL0NKBFYHGrOSM4mLIpTqg782bhl3uhV03gWbGGa264/lpQDd         etLRY6p3WTNYCCI9XNeeqU82/adyf01nIoroz7MNka2Pg0h7l278Zd5CC0UEgSnybo2B         KU5bPPnlZP9C2cH5IjgVmJUFUAN45aGmu8+YWFwiUkfvyGfEIty6wRJbBar7hmM+xV36         XGfKf9oSlksrEGpfnvGDSv69iF7GPY2Nl5leg7SVSuxG+V/BkTjE7EiS99Wx+cZK0hEk         ZO5g==
X-Gm-Message-State: AMke39mce0DFxHC2ZFrnxReX+YrtYKOWnP1DuI3l1C/ebJUdluPLmV5RgY+nZQn2EqlYAMlhMxXNuCox/wCzkw==
X-Received: by 10.55.212.22 with SMTP id l22mr14768493qki.48.1486156190650; Fri, 03 Feb 2017 13:09:50 -0800 (PST)
MIME-Version: 1.0
From: Rustam <rustamabd@gmail.com>
Date: Fri, 3 Feb 2017 22:09:50 +0100
Message-ID: <CAPzS6u_N5qnKOYJejdxfBWCzbc3tn=iyqEEyP5E_Vwp7RCC-KA@mail.gmail.com>
Subject: Is it OK to mount cygdrive on / ?
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

I've added an extra / mountpoint in /etc/fstab in order to be able to
access C: without /cygdrive like this:

none /cygdrive cygdrive binary,posix=0,user 0 0
none /         cygdrive binary,posix=0,user 0 0

It seems to work, I can access the C: drive with just /c.

But normally an "ls /cygdrive" should list the drives, whereas "ls /"
lists the contents of the Cygwin root. So it seems there are now two
root mountpoints overlaying each other.

So I was wondering if my approach is if this is technically undefined
behavior and might conceivably break something or is it OK (less the
drive listing limitation mentioned above).

Thanks,
Rustam

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

