public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Skretvedt <andrew.skretvedt@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: compress-force mount option documentation is ambiguous
Date: Mon, 17 Aug 2020 19:10:05 -0500	[thread overview]
Message-ID: <rhf68u$f5l$1@ciao.gmane.io> (raw)
In-Reply-To: <CAGP+SyZctwxGV=O4vw6pLY-R9LmirNgk=s8Zq9x5juV+3EjMEw@mail.gmail.com>

On 8/17/20 3:18 PM, Peter Kese wrote:
> The `compress-force` mount  option which states:
> 
> "If compress-force is specified, then compression will always be
> attempted, but the data may end up uncompressed if the compression
> would make them larger."
> 

Meanwhile, on my system (Linux Mint 18.3 Sylvia (tracks Ubuntu Xenial)),
the manpage for `mount` (July 2014 - util-linux 2.27.1), in the section
on btrfs-specific mount options says:

> If  compress-force  is specified,  all  files  will  be compressed,
> whether or not they compress well.  If compression is enabled,
> nodatacow and nodata‐ sum are disabled.

While experience suggests to me I shouldn't necessarily consider `man 8
mount` authoritative for every filesystem supported, the reality that
inexperienced users will consult it for authoritative advice suggests
that every effort must be made to keep its information in-sync with
documentation published elsewhere. Alternatively, it's specific
authoritativeness could be called out and then refer the user to where
the most current details can be found, e.g. `man 5 btrfs`. This is kinda
done already, as `man 8 mount` does say, immediately under its
FILESYSTEM-SPECIFIC MOUNT OPTIONS header:

> What options are supported depends a bit on the running  kernel.
> More info  may  be  found  in  the  kernel  source  subdirectory
> Documentation/filesystems.

as a catch-all. *shrug*

-- 
OpenPGP 0xC6901B2A6C976BB3 (https://keys.openpgp.org)


  reply	other threads:[~2020-08-18  0:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-17 20:18 compress-force mount option documentation is ambiguous Peter Kese
2020-08-18  0:10 ` Andrew Skretvedt [this message]
2020-08-18  6:39   ` Nikolay Borisov
2020-08-18  6:18 ` Nikolay Borisov
2020-08-18  6:34   ` Nikolay Borisov

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='rhf68u$f5l$1@ciao.gmane.io' \
    --to=andrew.skretvedt@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox