From patchwork Sat Mar 16 20:46:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 10856035 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D6FFC1669 for ; Sat, 16 Mar 2019 20:46:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA60229BF5 for ; Sat, 16 Mar 2019 20:46:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AB3C29C73; Sat, 16 Mar 2019 20:46:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4394829BF5 for ; Sat, 16 Mar 2019 20:46:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfCPUqz (ORCPT ); Sat, 16 Mar 2019 16:46:55 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:38577 "EHLO mail-pf1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbfCPUqz (ORCPT ); Sat, 16 Mar 2019 16:46:55 -0400 Received: by mail-pf1-f180.google.com with SMTP id n125so8637381pfn.5 for ; Sat, 16 Mar 2019 13:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mJ2JCSerem9o8SyEnq2fK97fTg5RR4nUzhUwehMRodM=; b=eeYBanXmmzOADmA0A7SOD9ccG1UKGkH88KAiMcOFkku7CFI3oBJbnQzEm3LpawNS6C Stn4JnOU1reTYiDMcJ+pWHKW/N6JrhE54Kirn2QD4rAtbgQ4G4PETk4sOG/EO/8Qd375 YuCKIci/uLhx7KAuK2l8SInAAUPHsOk7ZxGZsOfx/q6hDOeFYS4a4xWcUgPhTchnyJSB UUl6mkIa0XV5ycpFj6woWR0EfhwvXrmX4ZuY3rc4G/Fkdl2GpYAM5XK+0sga3/XTRO8K IrpTp20WlhTdOQt9UJU/A62UmA3T+JNhLAZ8ckqEjTlykjlgritI2vqf4VI9IQwbPM6Q b4+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mJ2JCSerem9o8SyEnq2fK97fTg5RR4nUzhUwehMRodM=; b=detgOxOXblIoPqF7YUACLN4lWBZdeQaRV1KtJfiBIhhwFPQQNvsAiWD7z6bklCw8kZ sO7CUN7fybZ4nL4ttRjghISlBgnXpvluSet5a3mWRHPMRWkZzZ7LwOghDYI0/L1asQfN 8Nf9jJfQMZ65B7ppWzQtCnOHzoTL7CubMWnB4qiN82jKP8IsdlqYjyRc1WEuH82duvo3 C3d2lXiqu9PgwRScAEe3NboghCy1lR9aKOQbTUpDm/LEe/OhxajRCBVQmb/zzbCUtjYC Uy7rl0ZcUif9sMI42U0RC/tdt2283ykiBjh12kNVtZxKDPkwehfdmbBWtC0vmmy4Hhi+ tL8g== X-Gm-Message-State: APjAAAWjIHzK33dosC6wr1nYQivXl1yGYz1jNVyhFYsiwboGtXtLL++t v3Mv26TeZiJ40Ph/KS4LBW8KtFReLp+ZrTj7tsw= X-Google-Smtp-Source: APXvYqyl4D+Bf+rrJLlohcHdgzJdS3K0X81EJguKv0ePZGkt8qRkfoL2NiLXv41GO13Vn8+EJLEmB5p+Cb0Nnyn/9nQ= X-Received: by 2002:a17:902:1744:: with SMTP id i62mr11384382pli.24.1552769214471; Sat, 16 Mar 2019 13:46:54 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Sat, 16 Mar 2019 15:46:42 -0500 Message-ID: Subject: [PATCH] [SMBINFO] add missing usage text for fsctl-getobjid To: Pavel Shilovsky , CIFS , samba-technical Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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'). From 1de54efe232f161b6303d7cb600479816e84ef15 Mon Sep 17 00:00:00 2001 From: Steve French 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 --- 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