| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 143C538582AD |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1701975221; | |
| bh=fkHz0/K1KB/OJS0S++wMfneyJqUl2XGEcOohKhoLO5w=; | |
| h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
| From; | |
| b=jVZCQUZ2hfSQX0A7dFqbZvYfSMOaPLTPLD/3gCS2zdOwPGIZpaPpNKYU8rHlQgoH8 | |
| YzXOexDQvZmTe6pW/LkN4Lmiiclm/3EhFxiCs52srJeOiv1pTCMabOiBPOvHnU8a7W | |
| XOTIuUA6aphb3FYSRAJK+XdOVPAk25oqPyRpmJmY= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org BE3DC3858D20 |
| Date: | Thu, 7 Dec 2023 19:53:03 +0100 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: [EXTERNAL] Re: getVolInfo question |
| Message-ID: | <ZXIUj2P3XhExxQw1@calimero.vinschen.de> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <DM8PR09MB7095D4EC6ACCE0FD995AC0BFA58BA AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com> |
| <ZXH7NKbZXz3Mr3DG AT calimero DOT vinschen DOT de> | |
| <DM8PR09MB70955F0A85B86E15ABEDB48EA58BA AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com> | |
| MIME-Version: | 1.0 |
| In-Reply-To: | <DM8PR09MB70955F0A85B86E15ABEDB48EA58BA@DM8PR09MB7095.namprd09.prod.outlook.com> |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.30 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | cygwin AT cygwin DOT com |
| Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
| Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 3B7IrgGO011350 |
On Dec 7 18:02, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
> Thank you for your prompt reply!
>
> > TRIM is only enabled on a filesystem, if the underlying drive
> > actually supports TRIM. The majority of SSDs support it, but not
> > necessarily all SSDs.
> >
> > The above values, in particular SSINFO_FLAGS_NO_SEEK_PENALTY being
> > FALSE, indicate that your drive is actually not an SSD, but a rotating
> > harddisk, or it's an SSD which fakes to be a rotating harddisk.
>
> Well, I don't have any rotating HHDs in my computer. 4 of my SSDs report this:
>
> TRIM Command: Supported (Deterministic Read After TRIM, Words = 0)
>
> and the last one (an older drive, indeed) report this:
>
> TRIM Command: Supported (Indeterminate Read After TRIM)
>
> But my C: drive (where Cygwin is installed) is a newer drive (one of those 4).
>
> That's odd.
Yes, it is. But getVolInfo can only print what it gets from the OS,
so I don't see what could be changed ¯\_(ツ)_/¯
I was mulling over the idea that accessing the drive from remote might
be the culprit, but I just tested accessing the SSD in my laptop from
my Windows 11 VM, and it turns out that it works just as if the drive
is local:
$ /usr/lib/csih/getVolInfo.exe //pinky/c\$/cygwin64
Device Type : 0x07
Characteristics : 0x00000010
FILE_REMOVABLE_MEDIA : FALSE
FILE_REMOTE_DEVICE : TRUE
Volume Name : <>
Serial Number : 1056954926
Max Filenamelength : 255
Filesystemname : <NTFS>
Flags : 0x00c706ff
FILE_CASE_SENSITIVE_SEARCH : TRUE
[...]
FILE_SUPPORTS_GHOSTING : FALSE
SectorInfoFlags : 0x0f
SSINFO_FLAGS_NO_SEEK_PENALTY : TRUE
SSINFO_FLAGS_TRIM_ENABLED : TRUE
Having said that, if you or anybody else find out why this happens
and, ideally, how to workaround it, I'm all ears.
Corinna
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |