This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygcheck failing verification on latest snapshots
- From: marco atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 5 Mar 2011 05:50:40 +0100
- Subject: Re: cygcheck failing verification on latest snapshots
- References: <AANLkTinTZ2Vw5yNypzn3UJX9Z0kK+tWmRZKKFSaH22oG@mail.gmail.com> <20110226153826.GD9392@calimero.vinschen.de>
On Sat, Feb 26, 2011 at 4:38 PM, Corinna Vinschen wrote:
> On Feb 26 13:33, marco atzeri wrote:
>> On recent snapshots I noticed that
>> cygcheck is reporting as missing the files under the mount points
>> /usr/bin
>> /usr/lib
>>
>> $ mount
>> E:/cygwin2/bin on /usr/bin type ntfs (binary,auto)
>> E:/cygwin2/lib on /usr/lib type ntfs (binary,auto)
>> E:/cygwin2 on / type ntfs (binary,auto)
>> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
>> E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto)
>>
>> $ cygcheck -c -v bash
>> Cygwin Package Information
>> Last downloaded files to: E:\downloads\cygwin
>> Last downloaded files from: http://matzeri.altervista.org
>>
>> Package ? ? ? ? ? ? ?Version ? ? ? ?Status
>> Missing directory: /usr/bin/ from package bash
>> Missing file: /usr/bin/bash.exe from package bash
>> Missing file: /usr/bin/bashbug from package bash
>> Missing file: /usr/bin/sh.exe from package bash
>> bash ? ? ? ? ? ? ? ? 4.1.10-4 ? ? ? Incomplete
>
> Works for me.
>
>
> Corinna
>
Thanks Corinna,
I just discovered the root cause and it is not related to the snapshot but to
/etc/fstab content.
I am using cygwin on an external hard disk and to avoid every time to
redefine the mount point I was using a fstab like this:
/cygwin2 / some_fs binary 0 0
/cygwin2/bin /usr/bin some_fs binary 0 0
instead of
e:/cygwin2 / some_fs binary 0 0
e:/cygwin2/bin /usr/bin some_fs binary 0 0
in the first case cygwin works, without problem whatever is the disk letter,
but cygcheck doesn't succeed to locate the mount points
$ cycheck mount
bash: cycheck: command not found
$ which mount
/usr/bin/mount
$ cygcheck /usr/bin/mount
\cygwin2\bin\mount.exe
E:\cygwin2\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
in the second case, as expected
$ cygcheck mount
Found: E:\cygwin2\bin\mount.exe
E:\cygwin2\bin\mount.exe
E:\cygwin2\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
Regards
Marco
--
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