All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: [PATCH] btrfs-progs: add supported attr flags to btrfs(5)
Date: Thu, 26 Jun 2014 15:38:33 -0500	[thread overview]
Message-ID: <53AC84C9.2080106@redhat.com> (raw)

The chattr(1) manpage suffers from the same problems mount(1)
had: many options listed, not kept up to date for various
filesystems.

I've submitted a manpage update for chattr(1) which says to
refer to filesystem-specific manpages for supported attributes;
this patch updates btrfs(5) to list the attributes supported
by btrfs.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

diff --git a/Documentation/btrfs-mount.txt b/Documentation/btrfs-mount.txt
index 4433a78..c38e80a 100644
--- a/Documentation/btrfs-mount.txt
+++ b/Documentation/btrfs-mount.txt
@@ -3,7 +3,7 @@ btrfs-mount(5)
 
 NAME
 ----
-btrfs-mount - mount options for the btrfs filesystem
+btrfs-mount - mount options and supported file attributes for the btrfs filesystem
 
 DESCRIPTION
 -----------
@@ -179,8 +179,20 @@ MOUNT OPTIONS
 *user_subvol_rm_allowed*::
 	Allow subvolumes to be deleted by a non-root user. Use with caution.
 
+FILE ATTRIBUTES
+---------------
+The btrfs filesystem supports setting the following file
+attributes the `chattr`(1) utility
+append only (a), no atime updates (A), compressed (c), no copy on write (C),
+no dump (d), synchronous directory updates (d), immutable (i),
+synchronous updates (S), and no compression (X).
+
+For descriptions of these attribute flags, please refer to the
+`chattr`(1) man page.
+
 SEE ALSO
 --------
+`chattr`(1),
 `mkfs.btrfs`(8),
 `mount`(8),
 `btrfs`(8)


             reply	other threads:[~2014-06-26 20:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26 20:38 Eric Sandeen [this message]
2014-06-27 13:42 ` [PATCH] btrfs-progs: add supported attr flags to btrfs(5) David Sterba
2014-06-27 14:56   ` Eric Sandeen
2014-06-27 15:30     ` David Sterba
2014-06-27 15:36       ` Eric Sandeen
2014-06-27 16:10         ` David Sterba
2014-06-27 16:38           ` Eric Sandeen
2014-07-01 17:43             ` David Sterba
2014-07-02 11:15               ` David Sterba

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=53AC84C9.2080106@redhat.com \
    --to=sandeen@redhat.com \
    --cc=linux-btrfs@vger.kernel.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.