public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [csih - Cygwin service installation helper, a helper script and tools to create service installation scripts] branch master, updated. v0_9_11-5-g2fef9c6ba085
@ 2023-03-18  9:37 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2023-03-18  9:37 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/csih.git;h=2fef9c6ba08551e49142f3406a68252803195f02

commit 2fef9c6ba08551e49142f3406a68252803195f02
Author: Corinna Vinschen <vinschen@redhat.com>
Date:   Sat Mar 18 10:36:21 2023 +0100

    Bump version to 0.9.13

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/csih.git;h=ab63543bb45b3e26f9b20af58b9c29316d56fd0d

commit ab63543bb45b3e26f9b20af58b9c29316d56fd0d
Author: Corinna Vinschen <vinschen@redhat.com>
Date:   Sat Mar 18 10:36:02 2023 +0100

    Update getVolInfo to the latest set of known filesystem flags


Diff:
---
 cygwin/getVolInfo.c | 78 ++++++++++++++++++++++++++++++++++++++---------------
 version.h           |  2 +-
 2 files changed, 57 insertions(+), 23 deletions(-)

diff --git a/cygwin/getVolInfo.c b/cygwin/getVolInfo.c
index 0d273a9e83e8..70e436fd1b25 100644
--- a/cygwin/getVolInfo.c
+++ b/cygwin/getVolInfo.c
@@ -31,14 +31,26 @@
 #include <ntstatus.h>
 #include <wchar.h>
 
-#ifndef FILE_READ_ONLY_VOLUME
-#define FILE_READ_ONLY_VOLUME 0x80000
+#ifndef FILE_RETURNS_CLEANUP_RESULT_INFO
+#define FILE_RETURNS_CLEANUP_RESULT_INFO	0x00000200
 #endif
-#ifndef FILE_SEQUENTIAL_WRITE_ONCE
-#define FILE_SEQUENTIAL_WRITE_ONCE 0x100000
+#ifndef FILE_SUPPORTS_POSIX_UNLINK_RENAME
+#define FILE_SUPPORTS_POSIX_UNLINK_RENAME	0x00000400
 #endif
-#ifndef FILE_SUPPORTS_TRANSACTIONS
-#define FILE_SUPPORTS_TRANSACTIONS 0x200000
+#ifndef FILE_SUPPORTS_INTEGRITY_STREAMS
+#define FILE_SUPPORTS_INTEGRITY_STREAMS		0x04000000
+#endif
+#ifndef FILE_SUPPORTS_BLOCK_REFCOUNTING
+#define FILE_SUPPORTS_BLOCK_REFCOUNTING		0x08000000
+#endif
+#ifndef FILE_SUPPORTS_SPARSE_VDL
+#define FILE_SUPPORTS_SPARSE_VDL		0x10000000
+#endif
+#ifndef FILE_DAX_VOLUME
+#define FILE_DAX_VOLUME				0x20000000
+#endif
+#ifndef FILE_SUPPORTS_GHOSTING
+#define FILE_SUPPORTS_GHOSTING			0x40000000
 #endif
 
 int __stdcall
@@ -152,38 +164,60 @@ main (int argc, char **argv)
       printf ("Filesystemname     : <%s>\n", name);
       printf ("Flags              : %x\n", flags = pfi->FileSystemAttributes);
 
-      printf ("  FILE_CASE_SENSITIVE_SEARCH  : %s\n",
+      printf ("  FILE_CASE_SENSITIVE_SEARCH        : %s\n",
 	      (flags & FILE_CASE_SENSITIVE_SEARCH) ? "TRUE" : "FALSE");
-      printf ("  FILE_CASE_PRESERVED_NAMES   : %s\n",
+      printf ("  FILE_CASE_PRESERVED_NAMES         : %s\n",
 	      (flags & FILE_CASE_PRESERVED_NAMES) ? "TRUE" : "FALSE");
-      printf ("  FILE_UNICODE_ON_DISK        : %s\n",
+      printf ("  FILE_UNICODE_ON_DISK              : %s\n",
 	      (flags & FILE_UNICODE_ON_DISK) ? "TRUE" : "FALSE");
-      printf ("  FILE_PERSISTENT_ACLS        : %s\n",
+      printf ("  FILE_PERSISTENT_ACLS              : %s\n",
 	      (flags & FILE_PERSISTENT_ACLS) ? "TRUE" : "FALSE");
-      printf ("  FILE_FILE_COMPRESSION       : %s\n",
+      printf ("  FILE_FILE_COMPRESSION             : %s\n",
 	      (flags & FILE_FILE_COMPRESSION) ? "TRUE" : "FALSE");
-      printf ("  FILE_VOLUME_QUOTAS          : %s\n",
+      printf ("  FILE_VOLUME_QUOTAS                : %s\n",
 	      (flags & FILE_VOLUME_QUOTAS) ? "TRUE" : "FALSE");
-      printf ("  FILE_SUPPORTS_SPARSE_FILES  : %s\n",
+      printf ("  FILE_SUPPORTS_SPARSE_FILES        : %s\n",
 	      (flags & FILE_SUPPORTS_SPARSE_FILES) ? "TRUE" : "FALSE");
-      printf ("  FILE_SUPPORTS_REPARSE_POINTS: %s\n",
+      printf ("  FILE_SUPPORTS_REPARSE_POINTS      : %s\n",
 	      (flags & FILE_SUPPORTS_REPARSE_POINTS) ? "TRUE" : "FALSE");
-      printf ("  FILE_SUPPORTS_REMOTE_STORAGE: %s\n",
+      printf ("  FILE_SUPPORTS_REMOTE_STORAGE      : %s\n",
 	      (flags & FILE_SUPPORTS_REMOTE_STORAGE) ? "TRUE" : "FALSE");
-      printf ("  FILE_VOLUME_IS_COMPRESSED   : %s\n",
+      printf ("  FILE_RETURNS_CLEANUP_RESULT_INFO  : %s\n",
+	      (flags & FILE_RETURNS_CLEANUP_RESULT_INFO) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_POSIX_UNLINK_RENAME : %s\n",
+	      (flags & FILE_SUPPORTS_POSIX_UNLINK_RENAME) ? "TRUE" : "FALSE");
+      printf ("  FILE_VOLUME_IS_COMPRESSED         : %s\n",
 	      (flags & FILE_VOLUME_IS_COMPRESSED) ? "TRUE" : "FALSE");
-      printf ("  FILE_SUPPORTS_OBJECT_IDS    : %s\n",
+      printf ("  FILE_SUPPORTS_OBJECT_IDS          : %s\n",
 	      (flags & FILE_SUPPORTS_OBJECT_IDS) ? "TRUE" : "FALSE");
-      printf ("  FILE_SUPPORTS_ENCRYPTION    : %s\n",
+      printf ("  FILE_SUPPORTS_ENCRYPTION          : %s\n",
 	      (flags & FILE_SUPPORTS_ENCRYPTION) ? "TRUE" : "FALSE");
-      printf ("  FILE_NAMED_STREAMS          : %s\n",
+      printf ("  FILE_NAMED_STREAMS                : %s\n",
 	      (flags & FILE_NAMED_STREAMS) ? "TRUE" : "FALSE");
-      printf ("  FILE_READ_ONLY_VOLUME       : %s\n",
+      printf ("  FILE_READ_ONLY_VOLUME             : %s\n",
 	      (flags & FILE_READ_ONLY_VOLUME) ? "TRUE" : "FALSE");
-      printf ("  FILE_SEQUENTIAL_WRITE_ONCE  : %s\n",
+      printf ("  FILE_SEQUENTIAL_WRITE_ONCE        : %s\n",
 	      (flags & FILE_SEQUENTIAL_WRITE_ONCE) ? "TRUE" : "FALSE");
-      printf ("  FILE_SUPPORTS_TRANSACTIONS  : %s\n",
+      printf ("  FILE_SUPPORTS_TRANSACTIONS        : %s\n",
 	      (flags & FILE_SUPPORTS_TRANSACTIONS) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_HARD_LINKS          : %s\n",
+	      (flags & FILE_SUPPORTS_HARD_LINKS) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_EXTENDED_ATTRIBUTES : %s\n",
+	      (flags & FILE_SUPPORTS_EXTENDED_ATTRIBUTES) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_OPEN_BY_FILE_ID     : %s\n",
+	      (flags & FILE_SUPPORTS_OPEN_BY_FILE_ID) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_USN_JOURNAL         : %s\n",
+	      (flags & FILE_SUPPORTS_USN_JOURNAL) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_INTEGRITY_STREAMS   : %s\n",
+	      (flags & FILE_SUPPORTS_INTEGRITY_STREAMS) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_BLOCK_REFCOUNTING   : %s\n",
+	      (flags & FILE_SUPPORTS_BLOCK_REFCOUNTING) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_SPARSE_VDL          : %s\n",
+	      (flags & FILE_SUPPORTS_SPARSE_VDL) ? "TRUE" : "FALSE");
+      printf ("  FILE_DAX_VOLUME                   : %s\n",
+	      (flags & FILE_DAX_VOLUME) ? "TRUE" : "FALSE");
+      printf ("  FILE_SUPPORTS_GHOSTING            : %s\n",
+	      (flags & FILE_SUPPORTS_GHOSTING) ? "TRUE" : "FALSE");
     }
   else
     fprintf (stderr, "FileFsAttributeInformation failed, %08x\n", stat);
diff --git a/version.h b/version.h
index f47765ab1c59..08b7c5bcb0b1 100644
--- a/version.h
+++ b/version.h
@@ -2,5 +2,5 @@
 #define STRINGIFY1(s) #s
 #define VERSION_MAJOR  0
 #define VERSION_MINOR  9
-#define VERSION_MICRO  12
+#define VERSION_MICRO  13
 #define VERSION_STRING STRINGIFY(VERSION_MAJOR) "." STRINGIFY(VERSION_MINOR) "." STRINGIFY(VERSION_MICRO)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-18  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-18  9:37 [csih - Cygwin service installation helper, a helper script and tools to create service installation scripts] branch master, updated. v0_9_11-5-g2fef9c6ba085 Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).