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: 1057421 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-cifs-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eeYBanXm"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44MDyT2dsXz9s3q for ; Sun, 17 Mar 2019 07:46:56 +1100 (AEDT) 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 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