Mail Archives: cygwin/2019/09/23/19:25:32
--------------ms090407000604030603030104
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
The whole interpretation of paths of this sort seems to be inconsistent.
ls \\\\\?\\c:\\
=3D> lists C:/
ls \\\\\?\\d:\\
=3D> lists D:/
ls \\\\\?\\blah:\\
assertion "p >=3D path" failed: file=20
"/home/corinna/src/cygwin/cygwin-3.0.7/cygwin-3.0.7-1.x86_64/src/newlib-cyg=
win/winsup/cygwin/path.cc",=20
line 2916, function: int symlink_info::check(char*, const suffix_info*,=20
fs_info&, path_conv_handle&)
Aborted (core dumped)
ls \\\\\?\\c\\
=3D> lists C:/
ls \\\\\?\\d\\
=3D> lists C:/ (in fact, it lists the contents of the top folder of the=20
drive your current working directory is located in)
ls \\\\\?\\a\\
=3D> lists C:/ (in fact, there is no drive A: on my system)
ls \\\\.\\d:\\
ls: cannot access '\\.\d:\': Not a directory
=3D> The alternative notation with a "." does not seem to be understood.=20
It works in DOS shells.
ls //\?/d:/
ls: cannot access '//?/d:/': Not a directory
=3D> The replacement notation with forward slashes (which works with UNC=20
paths) does not seem to be honored here.
It seems to me the device notation is not really implemented in Cygwin,=20
and if invalid device paths are used or strange, invalid syntactic forms=20
are used, this fails with a core dump.
This is on CYGWIN_NT-10.0 saraswati 3.0.7(0.338/5/3) 2019-04-30 18:08=20
x86_64 Cygwin on a Dell 5470 with the latest Windows 10 version.
Best regards,
--J=C3=BCrgen
On 24.09.2019 00:26, Andrey Repin wrote:
> Greetings, Brian Inglis!
>
>> On 2019-09-23 09:02, Ken Brown wrote:
>>> On 9/23/2019 10:42 AM, Mark Zhitomirski wrote:
>>>> While trying different path names I've hit the following crash:
>>>>
>>>> $ ls \\\\\?\\DRIVE\\
>>>> assertion "p >=3D path" failed: file
>>>> "/home/corinna/src/cygwin/cygwin-3.0.7/cygwin-3.0.7-1.x86_64/src/newli=
b-cygwin/winsup/cygwin/path.cc",
>>>> line 2916, function: int symlink_info::check(char*, const
>>>> suffix_info*, fs_info&, path_conv_handle&)
>>>> Aborted (core dumped)
> $ ls -ld \\\\\?\\C:\\
> drwxr-xr-x 1 anrdaemon None 0 =D1=81=D0=B5=D0=BD 13 23:19 '\\?\C:\'
>
> WJFFM
>
>>> Thanks for the report. I can confirm the crash. I'll look into it.
>> Although:
>> $ ll $SYSTEMDRIVE\\
>> lists normally, the owner and group is the current user, whereas the cor=
rect
>> owners and groups are shown by:
>> $ ll /proc/cygdrive/c/
> That did not work for me, both show current user:group.
> For reference,
>
> fstab:
> none / cygdrive noacl,binary,nouser,posix=3D0 0 0
>
> $ mount
> =E2=80=A6
> C: on /c type ntfs (binary,noacl,posix=3D0,noumount,auto)
>
>> and Cygwin really does not like the entries in:
>> $ ll \\\\\?\\*\\
>> use of any name instead of *, or none causes a crash:
>> $ ll \\\\\?\\Boot\\
>> $ ll \\\\\?\\
> I wonder, what have you tried to reach here?
>
>
--------------ms090407000604030603030104
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG
9w0BBwEAAKCCCckwggSMMIIDdKADAgECAghnFU6BeOqp8TANBgkqhkiG9w0B
AQsFADBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBH
ZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2
aWNlIENBIDIgVHlwZSBFOlBOMB4XDTE5MDcxNjExMDg0NVoXDTIwMDcxNTEx
MDg0NVowazELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNWQyZGIy
OWIxNTUzZmJkYzEXMBUGA1UEAwwOSsO8cmdlbiBXYWduZXIxIDAeBgkqhkiG
9w0BCQEWEWp1ZXJnZW5Ad2FnbmVyLmlzMIIBIjANBg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