This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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: > > > 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) > > > > > > 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... > > > > /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: > > > > - Use the mount -a command. > > > > - Stop *all* Cygwin processes of the current user. This will remove the > > shared mount table from memory. Start a new Cygwin process. This > > will re-create the shared mount table. > > > > 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 errors. > I know I didn't need to do this in Cygwin 1.7 x86. > I am now running Cygwin 1.7.25 x64 > > 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
pgpN7quMq7oHH.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |