delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/03/13:36:03

X-Recipient: archive-cygwin AT delorie DOT 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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=iATmtrWLWWbHUarn
Z8U6W18N6gYA5tmM9/w9cC9fWa3aJS9tPizn0HAd/ufjP6qGVNvm5CZWl9rhNLLO
mPmJJD51HhvoD0Av+b/ZPnyryxlyrluefAZUameyLQftU5XePeWCSbqezIunxllp
NOWHGppBdDua8KXo73RZ1S0T6bI=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=Ac49ZgX3rUKPXRLA0nQsqn
ppbhI=; b=GOMVXRG4oiDf30vcNHMROGo+Aj2VJM1VTOR3NJSGt/JywEYHj9I4bF
q/dV/epHU9MmjyEvHxtIP7svScBqcTfdaFU5oo1b72c+2Td2ewIiATje9fkdSWwI
33WmhqWWKXgFoQ4ufr74VmQVe6lPeRa1kMWZwCd8jYDkazTsUtpAQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Wed, 3 Sep 2014 21:16:45 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1479920359.20140903211645@yandex.ru>
To: Mitch Deoudes <meeotch AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: changing cygdrive prefix in fstab has no effect
In-Reply-To: <54069EB0.10309@gmail.com>
References: <54069EB0 DOT 10309 AT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Mitch Deoudes!

> I'm teaching a class at a local college, and since their computer lab is
> stocked with Windows 7 & 8 machines, I had them install cygwin64 to use
> as a command line.

> The only change I requested they make to the config is to replace the
> "/cygdrive" in /etc/fstab with "/".  This is my config at home, and
> googling seems to indicate it is an accepted way of changing the default
> prefix.  The problem is, it has no effect - the prefix (in a new
> session) is still /cygdrive, as shown by mount and ls.

Make sure NO cygwin-related sessions active. Simplest would be to just reboot
the box to be absolutely sure.

> Any tips on why this may not be working?  I've verified the change to
> /etc/fstab - it's the default, with only the first occurrence of
> "/cygdrive" changed to "/".  It happened in two different computer labs,
> administered by to different sysadmins, on I believe two different
> operating systems (win7 & 8).  I don't have a cygcheck output on me, but
> this is a clean install, downloaded as of this week, with no extra
> packages except python.  Using "mount -c" works, but is not persistent
> between sessions.

You'll be surprized, but... I've just migrated to a Win7/64 and when setting
up a new Cygwin root, I made a stupid mistake.

none / binary,posix=0,user 0 0

Took a little while to notice complaints on STDERR.

> The below works for me at home:

> # This is default anyway:
> # none /cygdrive cygdrive binary,posix=0,user 0 0
> none / cygdrive binary,posix=0,user 0 0



--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 03.09.2014, <21:07>

Sorry for my terrible english...


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019