delorie.com/archives/browse.cgi | search |
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=wP3twAQjeeESmbGNSMHWvFLQAwxFaYYXG6n5llHesrIVQ43OtWRdm | |
WhpiKv7urrj+EH0zgtJq0VcZ/UWdgKoXjsK07e1CQk4VGp77F0/TEt29EJy5YLCn | |
otEdkX3SmAxs5RqFBwRt6GDBvEFH/7X0l4AZ47dePh7+ePzIorvOww= | |
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=pDsn0zyVW/WjjgJ+s7lgIONSb0Q=; b=vFn5dfyV//AZksAH8VuD+CjVLkpq | |
7oiMTzQG/EF6sQV7WR12IY511Xgwhm2y24/kDYJBH2NEpWLKMErDlVb4hSoLoThO | |
TXm8EDsQilUQCdbEeQOQyw5VIMQJ5Wj2+T8EWDsDVDWJ73BYNxKIzObGJhtur8BK | |
0t+z1YfJOGA+rWM= | |
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=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 17 Oct 2013 17:19:29 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: fstab not automounting... |
Message-ID: | <20131017151929.GR18358@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> |
MIME-Version: | 1.0 |
In-Reply-To: | <21087.64099.660195.262020@consult.pretender> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--YG0IFkGWIt6MbjRk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 17 10:55, kosowsky wrote: > Corinna Vinschen wrote at about 11:38:46 +0200 on Thursday, October 17, 2= 013: > > On Oct 17 01:49, kosowsky wrote: > > > Is there any way to get the entries in /etc/fstab to mount > > > automatically? (ideally also the ones in /etc/fstab.d too for the > > > current user) > > >=20 > > > I could have sworn that it did so in earlier versions of cygwin, but > > > now I seem to need to manually issue a 'mount -a' after each reboot.= .. > >=20 > > /etc/fstab and /etc/fstab.d/$USER are loaded automatically only once. > > That is, at the time the first Cygwin process in a user session is > > started. All other processes in the same user session just share the > > mount table if it's already in memory. Changes are only propagated to > > the shared mount table in two cases: > >=20 > > - Use the mount -a command. > >=20 > > - Stop *all* Cygwin processes of the current user. This will remove t= he > > shared mount table from memory. Start a new Cygwin process. This > > will re-create the shared mount table. > >=20 >=20 > 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 without er= rors. > 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. 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 bit installation, perhaps? Which fstab is the problem, the global /etc/fstab or the user-specific /etc/fstab.d/$USER? What are the permissions on /etc, /etc/fstab, /etc/fstab.d, and /etc/fstab.d/$USER? What is the content of the fstab files? What's the output of `id'? What's the output of `grep $USER passwd'? Last but not least, stop all Cygwin processes, start cmd.exe, cd to C:\cygwin64\bin (assuming you installed into the default path) and then run `strace -o fstab-test.trace ./echo foo'. This creates the file /bin/fstab-test.trace. Copy it into a reply to this thread. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --YG0IFkGWIt6MbjRk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSYAABAAoJEPU2Bp2uRE+gy9QP/2D7DueYjbtiyNI4Tjv4wj0B 3TPw1GjkE6zWXlz4+LHWbGXgeSGztHOG0i1z6kluHrEnR0cC8Zrs/xOs7zTlYMGU Sb0v0XiQGwHgf/vhvdiFdStvqPgATUZ9bQ9YgtS06x74B7A1/SX9QRiJwmNW3KYp gI5UYrnvUVUdyLZnf6wgOntLddrL2/A4GKwAf0VVw9GAeVNHDruJTaMyTk15Fi8R UBZu/OloPnJ+QmZbDgHVlHOcWFNYXhZQVlZR9uy/j2tfO96mFB/nGfv1KMNqRbGa 7mnCTZxgdC1BGeZZr/b9HXwVnQkFWjusIAsoY+dQuM3RIDzVhQ/WF+ILEZeUGUZy jgeIw6p6ajMEwTX1UZpg0XvQsdckkwGfItu44ZMB3FzHIuSn+XSiakH2OtBi0UxC 0HvymRIcNUn3K/orQCZfAJ/nmIZ/RZDwxobKfNZVNGF1q5SqK4e5v48sdgnyYxms CKwih861+6QqGxfWVUBEuhjARY8LK5xbTnI6vfMtpK+MqxEuBGEPlHhWASUviVQg Y2KkBnugjxKeEsrmJ54aE4PxEnEsj0TATchtNbsB532hcZEVlbm6VFIVy3r7OmrE u5SrZ7j/le9Ouo9WjTY+j+GRnrbiOZY30W3f5fEYOcYdHDRzCRNxG8gHrjI7A3o7 +quk02a3H+qrHnmb10Wa =s2Ls -----END PGP SIGNATURE----- --YG0IFkGWIt6MbjRk--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |