public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [csih - Cygwin service installation helper, a helper script and tools to create service installation scripts] branch master, updated. v0_9_11-5-g2fef9c6ba085 Date: Sat, 18 Mar 2023 09:37:28 +0000 (GMT) [thread overview] Message-ID: <20230318093728.675723858C31@sourceware.org> (raw) 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)
reply other threads:[~2023-03-18 9:37 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230318093728.675723858C31@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).