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]

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 know what happened. I had XWin running while doing the previous install, and the prompt occurred telling I couldn't overwrite certain files that were part of running processes. It told me I'd have to reboot - which was fine by me so I continued. Apparently something "fell down" in that whole train of events, and when the reboot later occurred, the cygwin1.dll must not have been actually replaced. I'll let you know if the re-install fixes things.

-----Original Message-----
>From: Brian Kelly <reedfish@ix.netcom.com>
>Sent: Aug 21, 2010 4:00 PM
>To: cygwin@cygwin.com
>Subject: Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release
>
>KB06606@CHG211134 ~
>Here's the latest test - notice it reports correctly when just "mount" is invoked.
>
>$ which mount
>/usr/bin/mount
>
>KB06606@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=0,user,noumount,auto)
>M: on /cygdrive/m type mvfs (binary,posix=0,user,noumount,auto)
>Z: on /cygdrive/z type ntfs (binary,posix=0,user,noumount,auto)
>
>KB06606@CHG211134 ~
>$ mount -p
>mount: invalid option - ''
>
>KB06606@CHG211134 ~
>$
>
>
>-----Original Message-----
>>From: Corinna Vinschen <corinna-cygwin@cygwin.com>
>>Sent: Aug 21, 2010 3:29 PM
>>To: cygwin@cygwin.com
>>Subject: Re: 1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in 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. Looking in the log, I discovered the following error:
>>> 
>>> $ mount -p
>>> mount: invalid option - ''
>>> 
>>> You get the same error when I tried the other argument:
>>> 
>>> $ mount --show-cygdrive-prefix
>>> mount: invalid option - ''
>>> 
>>> 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:
>>> 
>>> - 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
>>> 
>>> - Add new mount option "bind" to allow remounting parts of the POSIX file
>>>   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
>>> 
>>> If this option was removed, the man page is not reflecting it, and user 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
>>
>>-- 
>>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]