delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/11/17:43:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <50773D8A.7020200@etr-usa.com>
Date: Thu, 11 Oct 2012 15:43:38 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: latex no longer works after update
References: <20121010142054 DOT GA7455 AT raven DOT wolf DOT lan> <50758E21 DOT 3090909 AT etr-usa DOT com> <20121011103409 DOT GC7455 AT raven DOT wolf DOT lan>
In-Reply-To: <20121011103409.GC7455@raven.wolf.lan>
X-IsSubscribed: yes
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

On 10/11/2012 4:34 AM, Josef Wolf wrote:
> On Wed, Oct 10, 2012 at 09:02:57AM -0600, Warren Young wrote:
>> You can probably simplify your fstab like so:
>>
>>      D:/cygwin/bin /usr/bin ntfs binary 0 0
>>      D:/cygwin/lib /usr/lib ntfs binary 0 0
>>      none / cygdrive binary,posix=0,user 0 0
>>
>> The last line automatically gets rid of the "/cygdrive" path part,
>> so all drive letters appear at the root of the Cygwin path tree.
>
> I'm not sure I understand this. Should I remove all my fstab entries and
> replace with the three lines shown above? Will I still be able to access the
> drives with /c/foo/bar?

I was suggesting my fstab as a complete replacement for yours.

Obviously I cannot be certain it's a complete replacement, since I'm 
going off of cygcheck's interpretation of the mount table, not a copy of 
your actual fstab file.

That said, a roached Cygwin fstab file is much easier to recover from 
than, say, one on a Linux box.  You should feel free to experiment.

> Furthermore: your example has this line:
>
>       none / cygdrive binary,posix=0,user 0 0
>
> while the original template had this line:
>
>       none /cygdrive cygdrive binary,posix=0,user 0 0
>
> Which one is the correct one?

Replacing your line with mine also effectively replaces all the 
per-drive mounts you have.

>> And I can't help but ask:
>>> USER = 'dasbinich'
>
> Nope. I just tried to hide some private information ;-)

Ah.  I thought it might have been evidence of a BOFH $deity complex. :)

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