From patchwork Thu Nov 10 22:51:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 125012 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3E00DB6F99 for ; Fri, 11 Nov 2011 09:51:32 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756832Ab1KJWva (ORCPT ); Thu, 10 Nov 2011 17:51:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57752 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754824Ab1KJWva (ORCPT ); Thu, 10 Nov 2011 17:51:30 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pAAMpT9j029163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 10 Nov 2011 17:51:30 -0500 Received: from liberator.sandeen.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pAAMpSwg002127 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 10 Nov 2011 17:51:29 -0500 Message-ID: <4EBC5570.3060708@redhat.com> Date: Thu, 10 Nov 2011 16:51:28 -0600 From: Eric Sandeen User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: ext4 development Subject: [PATCH 1/4] e2fsprogs: Document mmp commands in debugfs manpage References: <4EBC5524.3000105@redhat.com> In-Reply-To: <4EBC5524.3000105@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Document the dump_mmp and set_mmp_value commands in the debugfs manpage. Signed-off-by: Eric Sandeen --- -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/debugfs/debugfs.8.in b/debugfs/debugfs.8.in index fe07f34..d0d1938 100644 --- a/debugfs/debugfs.8.in +++ b/debugfs/debugfs.8.in @@ -210,6 +210,9 @@ option is given set the owner, group and permissions information on to match .IR filespec . .TP +.I dump_mmp +Display the multiple-mount protection (mmp) field values. +.TP .I dx_hash [-h hash_alg] [-s hash_seed] filename Calculate the directory hash of .IR filename . @@ -485,6 +488,16 @@ The list of valid inode fields which can be set via this command can be displayed by using the command: .B set_inode_field -l .TP +.I set_mmp_value field value +Modify the multiple-mount protection (mmp) data so that the +mmp field +.I field +has value +.I value. +The list of valid mmp fields which can be set via this command +can be displayed by using the command: +.B set_mmp_value -l +.TP .I set_super_value field value Set the superblock field .I field