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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=KGyZZP8xsvTq1e1Qj1uAD959Bf1hT2zmgL67kQz8ryPZ5UJigfhaE qvPfzu5hJH/nEzd8acAEMRF4Nf2fj+cN2AbE/MihNeFn4mftcDL0m+MSOwvZm9XT iGSeq273jmejCsu1wpr6GkHl+667XdgVYlrSLATOM9AgY0tUrxqpgQ= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=ZS/3zsVwG2G+7NLlFMSFwdWyCHg=; b=vt6ZJJiiQ8DpQg7wTpU7obnovfyb wFL8hRp4nrLrWfc2DfHJGTg6PtipI+kmjF1TBlPUMGL3LB3/0I9SVlEK+ATi/AK4 IxH6y66S1XcP8ZKK5WZS3MAJ3CowJZojDfsiKQPwsA+mj0yxn2L1uT6RSpguxEC3 h7LEeRd7cid8lyU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Fri, 18 Oct 2013 09:47:44 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: fstab not automounting... Message-ID: <20131018074744.GD23477@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <21087 DOT 31348 DOT 870054 DOT 516829 AT consult DOT pretender> <20131017093846 DOT GA26304 AT calimero DOT vinschen DOT de> <21087 DOT 64099 DOT 660195 DOT 262020 AT consult DOT pretender> <20131017151929 DOT GR18358 AT calimero DOT vinschen DOT de> <21088 DOT 45642 DOT 198102 DOT 464479 AT consult DOT pretender> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jCrbxBqMcLqd4mOl" Content-Disposition: inline In-Reply-To: <21088.45642.198102.464479@consult.pretender> User-Agent: Mutt/1.5.21 (2010-09-15) --jCrbxBqMcLqd4mOl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 18 00:00, cygwin wrote: > Corinna Vinschen wrote at about 17:19:29 +0200 on Thursday, October 17, 2= 013: > > On Oct 17 10:55, kosowsky wrote: > > > Corinna Vinschen wrote at about 11:38:46 +0200 on Thursday, October = 17, 2013: > > > > On Oct 17 01:49, kosowsky wrote: > > > Yes - I would have thought this would work -- but neither rebooting > > > nor stopping all cygwin processes and shells serves to get my fstab > > > read. > > > I need to manually run 'mount -a' each time -- which completes witho= ut errors. > > > I know I didn't need to do this in Cygwin 1.7 x86. > > > I am now running Cygwin 1.7.25 x64 > > >=20 > > > Any thought on what could be preventing fstab from working > > > automagically. > >=20 > > No, WJFFM. There's some sort of mismatch, either in the username or in > > the paths. Did you just copy /etc files from your 32 bit to your 64 b= it > > installation, perhaps? > >=20 >=20 > Ahhh... silly me... I figured out the problem... > I used a (soft) link for /etc/fstab -- it works just fine once cygwin > is launched but obviously it fails during startup. That makes sense. For POSIX symlinks to work, you need the mount table, which is a chicken/egg problem in case of the fstab files, so Cygwin opens the fstab files using NtCreateFile. OTOH, a native symlink will work: # Run shell with "Run as administrator" $ rm /etc/fstab $ CYGWIN=3Dwinsymlinks:native ln -s /path/to/your/fstab /etc/fstab # Exit all Cygwin processes and restart some shell $ mount Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --jCrbxBqMcLqd4mOl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSYOegAAoJEPU2Bp2uRE+gTDAQAKTjEuX/eavNkwGODBCYzk6Z ak9LTx6RY7DAVHkqS5dROBW2BaCtvNSpoRUAfUyIbHm3Ndd93ep39pGBzRYT8cwW k+f1xK8LPwV+tu25RIJ5oL+WeEM6NfSAo8QPD33wNKI4L9R3CeObvDCk47sIghFh AvpjXOTjrZ5T7Ro6mj8qbUWTkrlwQPYy7+xQ9TvH1cw3zaRp5e84RiyHIgH3qFS4 nBlXzcHnyb2pqFRehJ3B0R5odmomdikQe9YFbhB96KVOTjgQzVRvMvV+qcC9+cXk cyByzfQelnxKrzmypET1NzfWsfPweKDLKYwsMPH3Bdy/aC3zT2/R0M3GSsEukpVA VbDLbi2pHVUypu8llkMuB3naGSc1nE3/hOf9fmXi5Q0D0/xJKoeiN2DFtb1ebjU/ hxsBykYoMsXgoh/OQORGxSqaFrKHEbJxss7YB4QWN9ekLtFcNmNd91AJVzKdQYmM 3noKCi1t8IOjj2vGCYjl5MK4cqRvULhS53PJC6ITRbrzJ1knFfdmPl5JZ5fhvNIr AvAFs6nvjDZK1DBc/B3IXNPOmhF8MxVAiPk/+eC4/orFi4G9J3NzJkTFrhozXkP2 mpszC9UOKoOHNZnqgsE2PJj6JzNALLdJV7vzBv1iOZqMC2gY1yR96K2EyZ/WxApY El42JiE8xUN3wfXv23wa =YXj0 -----END PGP SIGNATURE----- --jCrbxBqMcLqd4mOl--