delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/21/16:54:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DONT_USE_RAW_EMAIL_IN_BODY,RCVD_IN_DNSWL_NONE,TW_MV,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <21902009.1282424035255.JavaMail.root@mswamui-chipeau.atl.sa.earthlink.net>
Date: Sat, 21 Aug 2010 15:53:55 -0500 (GMT-05:00)
From: Brian Kelly <reedfish AT ix DOT netcom DOT com>
Reply-To: Brian Kelly <reedfish AT ix DOT netcom DOT com>
To: Brian Kelly <reedfish AT ix DOT netcom DOT com>, cygwin AT cygwin DOT com
Subject: It's a setup issue => Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release
Mime-Version: 1.0
X-ELNK-Trace: f84a8bf3d23d71f274cfc7ce3b1ad11381c87f5e51960688428325b6738d0d6184be358d07ab6287350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
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

Ok - so I did a re-install and mount -p is back. But a setup "bug" (probabl=
y not setup.exe's fault) was discovered in the process.

I first tried a re-install and once again was told cygwin1.dll could not be=
 replaced because of a running process (thought I had killed everything). R=
ather than quit and start over, I pressed the continue button and re-booted=
 the laptop when the re-install completed. mount -p was STILL broken, so so=
mething sure was amiss. Turned out I had cygserver and postgres via cygserv=
er running. (Forgot about them). These services start automatically (along =
with sshd) when Windows starts up. *ALSO* I have an XWin Server in the Star=
tup folder of the Windows Start Menu. So apparently, one of these services =
is starting up *BEFORE* the cygwin1.dll can be replaced by Windows at start=
up. Weird. My laptop has an encrypted hard disk using SafeGuard. That might=
 have something to do with it. Anyhow, it's not a bug I have time to help c=
hase down (unless someone else wants to take the lead on it - I'll be happy=
 to help in that case). Otherwise let this be a lesson to ALL - setup "best=
 practice" is to shut down ALL cygwin processes and services BEFORE running=
 setup.exe. Otherwise ... "your mileage may vary" ...

-----Original Message-----
>From: Brian Kelly <reedfish AT ix DOT netcom DOT com>
>Sent: Aug 21, 2010 3:18 PM
>To: cygwin AT cygwin DOT com
>Subject: Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in =
latest release
>
>
>Funny - setup.exe shows I have 1.7.6. I'm re-installing now. I think I kno=
w what happened. I had XWin running while doing the previous install, and t=
he prompt occurred telling I couldn't overwrite certain files that were par=
t of running processes. It told me I'd have to reboot - which was fine by m=
e so I continued. Apparently something "fell down" in that whole train of e=
vents, and when the reboot later occurred, the cygwin1.dll must not have be=
en actually replaced. I'll let you know if the re-install fixes things.
>
>-----Original Message-----
>>From: Brian Kelly <reedfish AT ix DOT netcom DOT com>
>>Sent: Aug 21, 2010 4:00 PM
>>To: cygwin AT cygwin DOT com
>>Subject: Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in=
 latest release
>>
>>KB06606 AT CHG211134 ~
>>Here's the latest test - notice it reports correctly when just "mount" is=
 invoked.
>>
>>$ which mount
>>/usr/bin/mount
>>
>>KB06606 AT CHG211134 ~
>>$ mount
>>C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
>>C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
>>C:/cygwin on / type ntfs (binary,auto)
>>C: on /cygdrive/c type ntfs (binary,posix=3D0,user,noumount,auto)
>>M: on /cygdrive/m type mvfs (binary,posix=3D0,user,noumount,auto)
>>Z: on /cygdrive/z type ntfs (binary,posix=3D0,user,noumount,auto)
>>
>>KB06606 AT CHG211134 ~
>>$ mount -p
>>mount: invalid option - ''
>>
>>KB06606 AT CHG211134 ~
>>$
>>
>>
>>-----Original Message-----
>>>From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
>>>Sent: Aug 21, 2010 3:29 PM
>>>To: cygwin AT cygwin DOT com
>>>Subject: Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken i=
n latest release
>>>
>>>On Aug 21 15:17, Brian Kelly wrote:
>>>> I have a script that relies on these mount options to discover how the=
 prefix is set. I did an upgrade a couple days ago, and the script broke. L=
ooking in the log, I discovered the following error:
>>>>=20
>>>> $ mount -p
>>>> mount: invalid option - ''
>>>>=20
>>>> You get the same error when I tried the other argument:
>>>>=20
>>>> $ mount --show-cygdrive-prefix
>>>> mount: invalid option - ''
>>>>=20
>>>> This behavior is seen in the straight bash environment, outside of my =
script. Apparently with the latest update. I noticed mount work was done in=
 this release New Cygwin DLL 1.7.6-1 release:
>>>>=20
>>>> - Add new mount options "dos" and "ihash" to allow overriding Cygwin
>>>>   default behaviour on broken filesystems not recognized by Cygwin.
>>>>   See http://cygwin.com/cygwin-ug-net/using.html#mount-table
>>>>   and http://cygwin.com/cygwin-ug-net/using-utils.html#mount
>>>>=20
>>>> - Add new mount option "bind" to allow remounting parts of the POSIX f=
ile
>>>>   hirarchy somewhere else.
>>>>   See http://cygwin.com/cygwin-ug-net/using.html#mount-table
>>>>   and http://cygwin.com/cygwin-ug-net/using-utils.html#mount
>>>>=20
>>>> If this option was removed, the man page is not reflecting it, and use=
r documentation is not reflecting it.
>>>
>>>The option hasn't been removed and it still works fine for me.
>>>
>>>> Output from cygcheck -s -v -r > cygcheck.out is attached.
>>>
>>>Your cygcheck output shows that $PATH contains
>>>
>>>Path:   C:\cygwin\usr\local\apache\bin
>>>        C:\cygwin\usr\local\bin
>>>	[...]
>>>
>>>prior to the Cygwin default paths.  Are you shore you're running
>>>the correct `mount'?
>>>
>>>Oh, and, btw., you're still running Cygwin 1.7.5, not 1.7.6,
>>>as far as your cygcheck output is concerned.
>>>
>>>
>>>Corinna
>>>
>>>--=20
>>>Corinna Vinschen                  Please, send mails regarding Cygwin to
>>>Cygwin Project Co-Leader          cygwin AT cygwin DOT com
>>>Red Hat
>>>
>>>--
>>>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
>>>
>>
>>
>>--
>>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
>>
>
>
>--
>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
>


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