[SMBINFO] add missing usage text for fsctl-getobjid
diff mbox series

Message ID CAH2r5ms6rN=Wh8P5hMtdQT01Ve9SLyogYYUVS5xLq6WSz_-_FQ@mail.gmail.com
State New
Headers show
Series
  • [SMBINFO] add missing usage text for fsctl-getobjid
Related show

Commit Message

Steve French March 16, 2019, 8:46 p.m. UTC
By the way this (getobjid FSCTL) could be useful for Samba server to
add support for - seems useful (to know a unique identifier for the
volume, and for the file at 'birth').

Patch
diff mbox series

From 1de54efe232f161b6303d7cb600479816e84ef15 Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Sat, 16 Mar 2019 15:42:40 -0500
Subject: [PATCH] smbinfo: missing help for fsctl-getobjid

Add usage description for new option fsctl-getobjid

See section 2.1.3.1 of MS-FSCC

Signed-off-by: Steve French <stfrench@microsoft.com>
---
 smbinfo.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/smbinfo.c b/smbinfo.c
index 268114b..33fca95 100644
--- a/smbinfo.c
+++ b/smbinfo.c
@@ -88,7 +88,9 @@  usage(char *name)
 		"  secdesc:\n"
 		"      Prints the security descriptor for a cifs file.\n"
 		"  quota:\n"
-		"      Prints the quota for a cifs file.\n",
+		"      Prints the quota for a cifs file.\n"
+		"  fsctl-getobjid:\n"
+		"      Prints the objectid of the file and GUID of the underlying volume.\n",
 		name);
 	exit(1);
 }
-- 
2.17.1