btrfs-progs: docs: add cross reference for manualpages

RST format provides cross reference function that users can navigate
manual pages click. This patch is written by macro that replaces old
references to doc role in RST format.

Issue: #495
Signed-off-by: Sidong Yang <realwakka@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Sidong Yang 2022-08-08 07:28:56 +00:00 committed by David Sterba
parent e6fdeb81a9
commit 2d039cc815
35 changed files with 128 additions and 129 deletions

View File

@ -1,8 +1,8 @@
Administration
==============
The main administration tool for BTRFS filesystems is ``btrfs``. Please refer
to the manual pages of the subcommands for further documentation.
The main administration tool for BTRFS filesystems is :doc:`btrfs(8)<btrfs>`.
Please refer to the manual pages of the subcommands for further documentation.
Mount options
-------------

View File

@ -37,5 +37,5 @@ other factors affecting the memory cells. The device itself could internally
relocate the data, however this leads to unexpected performance drop. Running
trim periodically could prevent that too.
When a filesystem is created by ``mkfs.btrfs`` and is capable of trim, then it's
by default performed on all devices.
When a filesystem is created by :doc:`mkfs.btrfs(8)<mkfs.btrfs>` and is capable
of trim, then it's by default performed on all devices.

View File

@ -127,7 +127,7 @@ EXAMPLES
--------
A more comprehensive example when going from one to multiple devices, and back,
can be found in section *TYPICAL USECASES* of ``btrfs-device(8)``.
can be found in section *TYPICAL USECASES* of :doc:`btrfs-device(8)<btrfs-device>`.
MAKING BLOCK GROUP LAYOUT MORE COMPACT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -269,5 +269,5 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-device(8)``
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,
:doc:`btrfs-device(8)<btrfs-device>`

View File

@ -161,6 +161,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-scrub(8)``,
``btrfs-rescue(8)``
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,
:doc:`btrfs-scrub(8)<btrfs-scrub>`,
:doc:`btrfs-rescue(8)<btrfs-rescue>`

View File

@ -31,7 +31,7 @@ OPTIONS
set filesystem nodesize, the tree block size in which btrfs stores its metadata.
The default value is 16KiB (16384) or the page size, whichever is bigger.
Must be a multiple of the sectorsize, but not larger than 65536. See
``mkfs.btrfs(8)`` for more details.
:doc:`mkfs.btrfs(8)<mkfs.btrfs>` for more details.
-r|--rollback
rollback to the original ext2/3/4 filesystem if possible
-l|--label <LABEL>
@ -42,7 +42,7 @@ OPTIONS
A list of filesystem features enabled the at time of conversion. Not all features
are supported by old kernels. To disable a feature, prefix it with *^*.
Description of the features is in section *FILESYSTEM FEATURES* of
``mkfs.btrfs(8)``.
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`.
To see all available features that btrfs-convert supports run:
@ -72,4 +72,4 @@ If any problems happened, 1 will be returned.
SEE ALSO
--------
``mkfs.btrfs(8)``
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -75,7 +75,8 @@ delete <device>|<devid> [<device>|<devid>...] <path>
Alias of remove kept for backward compatibility
replace <command> [options] <path>
Alias of whole command group *btrfs replace* for convenience. See ``btrfs-replace(8)``.
Alias of whole command group *btrfs replace* for convenience. See
:doc:`btrfs-replace(8)<btrfs-replace>`.
ready <device>
Wait until all devices of a multiple-device filesystem are scanned and
@ -248,6 +249,7 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-replace(8)``,
``btrfs-balance(8)``
:doc:`btrfs-balance(8)<btrfs-balance>`
:doc:`btrfs-device(8)<btrfs-device>`,
:doc:`btrfs-replace(8)<btrfs-replace>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,

View File

@ -323,7 +323,7 @@ usage [options] <path> [<path>...]
block reserve, used for emergency purposes (like deletion on a full
filesystem)
* *Multiple profiles* -- what block group types (data, metadata) have
more than one profile (single, raid1, ...), see ``btrfs(5)`` section
more than one profile (single, raid1, ...), see :doc:`btrfs(5)<btrfs-man5>` section
*FILESYSTEMS WITH MULTIPLE BLOCK GROUP PROFILES*.
And on a zoned filesystem there are two more lines in the *Device* section:
@ -453,5 +453,5 @@ further details.
SEE ALSO
--------
``btrfs-subvolume(8)``,
``mkfs.btrfs(8)``
:doc:`btrfs-subvolume(8)<btrfs-subvolume>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -33,4 +33,4 @@ If any problems happened, 1 will be returned.
SEE ALSO
--------
``mkfs.btrfs(8)``
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -62,4 +62,4 @@ If any problems happened, 1 will be returned.
SEE ALSO
--------
``mkfs.btrfs(8)``
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -219,4 +219,4 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -39,11 +39,11 @@ There are several classes and the respective tools to manage the features:
at mkfs time only
This is namely for core structures, like the b-tree nodesize or checksum
algorithm, see ``mkfs.btrfs(8)`` for more details.
algorithm, see :doc:`mkfs.btrfs(8)<mkfs.btrfs>` for more details.
after mkfs, on an unmounted filesystem::
Features that may optimize internal structures or add new structures to support
new functionality, see ``btrfstune(8)``. The command **btrfs inspect-internal
new functionality, see :doc:`btrfstune(8)<btrfstune>`. The command **btrfs inspect-internal
dump-super /dev/sdx** will dump a superblock, you can map the value of
*incompat_flags* to the features listed below
@ -57,7 +57,7 @@ after mkfs, on a mounted filesystem
in the directory */sys/fs/btrfs/features/*, one file per feature. The value *1*
means the feature can be enabled.
List of features (see also ``mkfs.btrfs(8)`` section *FILESYSTEM FEATURES*):
List of features (see also :doc:`mkfs.btrfs(8)<mkfs.btrfs>` section *FILESYSTEM FEATURES*):
big_metadata
(since: 3.4)
@ -99,7 +99,7 @@ metadata_uuid
the main filesystem UUID is the metadata_uuid, which stores the new UUID only
in the superblock while all metadata blocks still have the UUID set at mkfs
time, see ``btrfstune(8)`` for more
time, see :doc:`btrfstune(8)<btrfstune>` for more
mixed_backref
(since: 2.6.31)
@ -167,7 +167,7 @@ supported_rescue_options
(since: 5.11)
list of values for the mount option *rescue* that are supported by the running
kernel, see ``btrfs(5)``
kernel, see :doc:`btrfs(5)<btrfs-man5>`
zoned
(since: 5.12)
@ -287,7 +287,7 @@ FILESYSTEM WITH MULTIPLE PROFILES
It is possible that a btrfs filesystem contains multiple block group profiles
of the same type. This could happen when a profile conversion using balance
filters is interrupted (see ``btrfs-balance(8)``). Some **btrfs** commands perform
filters is interrupted (see :doc:`btrfs-balance(8)<btrfs-balance>`). Some **btrfs** commands perform
a test to detect this kind of condition and print a warning like this:
.. code-block:: none
@ -415,10 +415,10 @@ SEE ALSO
--------
``acl(5)``,
``btrfs(8)``,
:doc:`btrfs(8)<btrfs>`,
``chattr(1)``,
``fstrim(8)``,
``ioctl(2)``,
``mkfs.btrfs(8)``,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,
``mount(8)``,
``swapon(8)``

View File

@ -35,4 +35,4 @@ If any problems happened, 1 will be returned.
SEE ALSO
--------
``mkfs.btrfs(8)``
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -55,7 +55,7 @@ Subvolume properties
ro
read-only flag of subvolume: true or false. Please also see section *SUBVOLUME FLAGS*
in ``btrfs-subvolume(8)`` for possible implications regarding incremental send.
in :doc:`btrfs-subvolume(8)<btrfs-subvolume>` for possible implications regarding incremental send.
Filesystem properties
^^^^^^^^^^^^^^^^^^^^^
@ -124,6 +124,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,
``lsattr(1)``,
``chattr(1)``

View File

@ -230,6 +230,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-subvolume(8)``,
``btrfs-quota(8)``,
:doc:`btrfs-quota(8)<btrfs-quota>`,
:doc:`btrfs-subvolume(8)<btrfs-subvolume>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,

View File

@ -11,7 +11,7 @@ DESCRIPTION
The commands under **btrfs quota** are used to affect the global status of quotas
of a btrfs filesystem. The quota groups (qgroups) are managed by the subcommand
``btrfs-qgroup(8)``.
:doc:`btrfs-qgroup(8)<btrfs-qgroup>`.
.. note::
Qgroups are different than the traditional user quotas and designed
@ -73,6 +73,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-subvolume(8)``,
``btrfs-qgroup(8)``
:doc:`btrfs-qgroup(8)<btrfs-qgroup>`,
:doc:`btrfs-subvolume(8)<btrfs-subvolume>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -59,7 +59,7 @@ A subvolume is made read-only after the receiving process finishes successfully
--force-decompress
if the stream contains compressed data (see *--compressed-data* in
``btrfs-send(8)``), always decompress it instead of writing it with
:doc:`btrfs-send(8)<btrfs-send>`), always decompress it instead of writing it with
encoded I/O
--dump
@ -118,5 +118,5 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-send(8)``
:doc:`btrfs-send(8)<btrfs-send>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -58,7 +58,7 @@ start [options] <srcdev>|<devid> <targetdev> <path>
-K|--nodiscard
Do not perform whole device TRIM operation on devices that are capable of that.
This does not affect discard/trim operation when the filesystem is mounted.
Please see the mount option *discard* for that in ``btrfs(5)``.
Please see the mount option *discard* for that in :doc:`btrfs(5)<btrfs-man5>`.
status [-1] <mount_point>
Print status and progress information of a running device replace operation.
@ -99,7 +99,7 @@ You can monitor progress via:
btrfs replace status /mnt/my-vault/
After the replacement is complete, as per the docs at ``btrfs-filesystem(8)`` in
After the replacement is complete, as per the docs at :doc:`btrfs-filesystem(8)<btrfs-filesystem>` in
order to use the entire storage space of the new drive you need to run:
.. code-block:: bash
@ -122,6 +122,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-device(8)``,
``btrfs-filesystem(8)``,
:doc:`btrfs-device(8)<btrfs-device>`,
:doc:`btrfs-filesystem(8)<btrfs-filesystem>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -120,6 +120,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-scrub(8)``,
``btrfs-check(8)``
:doc:`btrfs-check(8)<btrfs-check>`,
:doc:`btrfs-scrub(8)<btrfs-scrub>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -14,7 +14,7 @@ restore them into *path* or just list the subvolume tree roots. The filesystem
image is not modified.
If the filesystem is damaged and cannot be repaired by the other tools
(``btrfs-check(8)`` or ``btrfs-rescue(8)``), **btrfs restore** could be used to
(:doc:`btrfs-check(8)<btrfs-check>` or :doc:`btrfs-rescue(8)<btrfs-rescue>`), **btrfs restore** could be used to
retrieve file data, as far as the metadata are readable. The checks done by
restore are less strict and the process is usually able to get far enough to
retrieve data from the whole filesystem. This comes at a cost that some data
@ -112,6 +112,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-rescue(8)``,
``btrfs-check(8)``
:doc:`btrfs-check(8)<btrfs-check>`,
:doc:`btrfs-rescue(8)<btrfs-rescue>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -127,5 +127,5 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,
``ionice(1)``

View File

@ -43,4 +43,4 @@ OPTIONS
SEE ALSO
--------
btrfs(8)
:doc:`btrfs(8)<btrfs>`

View File

@ -35,7 +35,7 @@ the clone sources.
You must not specify clone sources unless you guarantee that these snapshots
are exactly in the same state on both sides--both for the sender and the
receiver. For implications of changed read-write status of a received snapshot
please see section *SUBVOLUME FLAGS* in ``btrfs-subvolume(8)``.
please see section *SUBVOLUME FLAGS* in :doc:`btrfs-subvolume(8)<btrfs-subvolume>`.
``Options``
@ -114,6 +114,6 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``btrfs-receive(8)``,
``btrfs-subvolume(8)``
:doc:`btrfs-receive(8)<btrfs-receive>`,
:doc:`btrfs-subvolume(8)<btrfs-subvolume>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -272,8 +272,8 @@ further details.
SEE ALSO
--------
``mkfs.btrfs(8)``,
``mount(8)``,
``btrfs-quota(8)``,
``btrfs-qgroup(8)``,
``btrfs-send(8)``
:doc:`btrfs-qgroup(8)<btrfs-qgroup>`,
:doc:`btrfs-quota(8)<btrfs-quota>`,
:doc:`btrfs-send(8)<btrfs-send>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`,
``mount(8)``

View File

@ -18,7 +18,7 @@ There are also standalone tools for some tasks like **btrfs-convert** or
main utility. See section *STANDALONE TOOLS* for more details.
For other topics (mount options, etc) please refer to the separate manual
page ``btrfs(5)``.
page :doc:`btrfs(5)<btrfs-man5>`.
COMMAND SYNTAX
--------------
@ -43,63 +43,63 @@ COMMANDS
balance
Balance btrfs filesystem chunks across single or several devices.
See ``btrfs-balance(8)`` for details.
See :doc:`btrfs-balance(8)<btrfs-balance>` for details.
check
Do off-line check on a btrfs filesystem.
See ``btrfs-check(8)`` for details.
See :doc:`btrfs-check(8)<btrfs-check>` for details.
device
Manage devices managed by btrfs, including add/delete/scan and so
on. See ``btrfs-device(8)`` for details.
on. See :doc:`btrfs-device(8)<btrfs-device>` for details.
filesystem
Manage a btrfs filesystem, including label setting/sync and so on.
See ``btrfs-filesystem(8)`` for details.
See :doc:`btrfs-filesystem(8)<btrfs-filesystem>` for details.
inspect-internal
Debug tools for developers/hackers.
See ``btrfs-inspect-internal(8)`` for details.
See :doc:`btrfs-inspect-internal(8)<btrfs-inspect-internal>` for details.
property
Get/set a property from/to a btrfs object.
See ``btrfs-property(8)`` for details.
See :doc:`btrfs-property(8)<btrfs-property>` for details.
qgroup
Manage quota group(qgroup) for btrfs filesystem.
See ``btrfs-qgroup(8)`` for details.
See :doc:`btrfs-qgroup(8)<btrfs-qgroup>` for details.
quota
Manage quota on btrfs filesystem like enabling/rescan and etc.
See ``btrfs-quota(8)`` and ``btrfs-qgroup(8)`` for details.
See :doc:`btrfs-quota(8)<btrfs-quota>` and :doc:`btrfs-qgroup(8)<btrfs-qgroup>` for details.
receive
Receive subvolume data from stdin/file for restore and etc.
See ``btrfs-receive(8)`` for details.
See :doc:`btrfs-receive(8)<btrfs-receive>` for details.
replace
Replace btrfs devices.
See ``btrfs-replace(8)`` for details.
See :doc:`btrfs-replace(8)<btrfs-replace>` for details.
rescue
Try to rescue damaged btrfs filesystem.
See ``btrfs-rescue(8)`` for details.
See :doc:`btrfs-rescue(8)<btrfs-rescue>` for details.
restore
Try to restore files from a damaged btrfs filesystem.
See ``btrfs-restore(8)`` for details.
See :doc:`btrfs-restore(8)<btrfs-restore>` for details.
scrub
Scrub a btrfs filesystem.
See ``btrfs-scrub(8)`` for details.
See :doc:`btrfs-scrub(8)<btrfs-scrub>` for details.
send
Send subvolume data to stdout/file for backup and etc.
See ``btrfs-send(8)`` for details.
See :doc:`btrfs-send(8)<btrfs-send>` for details.
subvolume
Create/delete/list/manage btrfs subvolume.
See ``btrfs-subvolume(8)`` for details.
See :doc:`btrfs-subvolume(8)<btrfs-subvolume>` for details.
STANDALONE TOOLS
----------------
@ -152,22 +152,22 @@ further details.
SEE ALSO
--------
``btrfs(5)``,
``btrfs-balance(8)``,
``btrfs-check(8)``,
``btrfs-convert(8)``,
``btrfs-device(8)``,
``btrfs-filesystem(8)``,
``btrfs-inspect-internal(8)``,
``btrfs-property(8)``,
``btrfs-qgroup(8)``,
``btrfs-quota(8)``,
``btrfs-receive(8)``,
``btrfs-replace(8)``,
``btrfs-rescue(8)``,
``btrfs-restore(8)``,
``btrfs-scrub(8)``,
``btrfs-send(8)``,
``btrfs-subvolume(8)``,
``btrfstune(8)``,
``mkfs.btrfs(8)``
:doc:`btrfs(5)<btrfs-man5>`,
:doc:`btrfs-balance(8)<btrfs-balance>`,
:doc:`btrfs-check(8)<btrfs-check>`,
:doc:`btrfs-convert(8)<btrfs-convert>`,
:doc:`btrfs-device(8)<btrfs-device>`,
:doc:`btrfs-filesystem(8)<btrfs-filesystem>`,
:doc:`btrfs-inspect-internal(8)<btrfs-inspect-internal>`,
:doc:`btrfs-property(8)<btrfs-property>`,
:doc:`btrfs-qgroup(8)<btrfs-qgroup>`,
:doc:`btrfs-quota(8)<btrfs-quota>`,
:doc:`btrfs-receive(8)<btrfs-receive>`,
:doc:`btrfs-replace(8)<btrfs-replace>`,
:doc:`btrfs-rescue(8)<btrfs-rescue>`,
:doc:`btrfs-restore(8)<btrfs-restore>`,
:doc:`btrfs-scrub(8)<btrfs-scrub>`,
:doc:`btrfs-send(8)<btrfs-send>`,
:doc:`btrfs-subvolume(8)<btrfs-subvolume>`,
:doc:`btrfstune(8)<btrfstune>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -16,10 +16,10 @@ The common usecase is to enable features that were not enabled at mkfs time.
Please make sure that you have kernel support for the features. You can find a
complete list of features and kernel version of their introduction at
https://btrfs.wiki.kernel.org/index.php/Changelog#By_feature . Also, the
manual page ``mkfs.btrfs(8)`` contains more details about the features.
manual page :doc:`mkfs.btrfs(8)<mkfs.btrfs>` contains more details about the features.
Some of the features could be also enabled on a mounted filesystem by other
means. Please refer to the *FILESYSTEM FEATURES* in ``btrfs(5)``.
means. Please refer to the *FILESYSTEM FEATURES* in :doc:`btrfs(5)<btrfs-man5>`.
OPTIONS
-------
@ -69,7 +69,7 @@ OPTIONS
disable it. A seeding filesystem is forced to be mounted read-only. A
new device can be added to the filesystem and will capture all writes
keeping the seeding device intact. See also section *SEEDING DEVICE*
in ``btrfs(5)``.
in :doc:`btrfs(5)<btrfs-man5>`.
.. warning::
Clearing the seeding flag on a device may be dangerous. If a
@ -110,7 +110,7 @@ OPTIONS
All newly created extents will use the new representation. To
completely switch the entire filesystem, run a full balance of the
metadata. Please refer to ``btrfs-balance(8)``.
metadata. Please refer to :doc:`btrfs-balance(8)<btrfs-balance>`.
EXIT STATUS
@ -128,6 +128,6 @@ will be declared obsolete and scheduled for removal.
SEE ALSO
--------
``btrfs(5)``,
``btrfs-balance(8)``,
``mkfs.btrfs(8)``
:doc:`btrfs(5)<btrfs-man5>`,
:doc:`btrfs-balance(8)<btrfs-balance>`,
:doc:`mkfs.btrfs(8)<mkfs.btrfs>`

View File

@ -80,4 +80,4 @@ Profile names, used in *profiles* and *convert* are one of: *raid0*, *raid1*,
*raid1c3*, *raid1c4*, *raid10*, *raid5*, *raid6*, *dup*, *single*. The mixed
data/metadata profiles can be converted in the same way, but it's conversion
between mixed and non-mixed is not implemented. For the constraints of the
profiles please refer to ``mkfs.btrfs(8)``, section *PROFILES*.
profiles please refer to :doc:`mkfs.btrfs(8)<mkfs.btrfs>`, section *PROFILES*.

View File

@ -1,6 +1,6 @@
The primary purpose of the balance feature is to spread block groups across
all devices so they match constraints defined by the respective profiles. See
``mkfs.btrfs(8)`` section *PROFILES* for more details.
:doc:`mkfs.btrfs(8)<mkfs.btrfs>` section *PROFILES* for more details.
The scope of the balancing process can be further tuned by use of filters that
can select the block groups to process. Balance works only on a mounted
filesystem. Extent sharing is preserved and reflinks are not broken.

View File

@ -151,5 +151,3 @@ work together.
The compression algorithms have been added over time so the version
compatibility should be also considered, together with other tools that may
access the compressed data like bootloaders.

View File

@ -89,7 +89,7 @@ lack of enough work space. This is a soft error leaving the filesystem usable
but the block group layout may remain unchanged.
Note that balance operation takes a lot of time, please see also
``btrfs-balance(8)``.
:doc:`btrfs-balance(8)<btrfs-balance>`.
.. code-block:: bash

View File

@ -86,4 +86,3 @@ A
d
*no dump*, same as the attribute

View File

@ -351,7 +351,7 @@ space_cache, space_cache=<version>, nospace_cache
*clear_cache,nospace_cache* to do so. If *v2* is enabled, kernels without *v2*
support will only be able to mount the filesystem in read-only mode.
The ``btrfs-check(8)`` and ```mkfs.btrfs(8)`` commands have full *v2* free space
The :doc:`btrfs-check(8)<btrfs-check>` and `:doc:`mkfs.btrfs(8)<mkfs.btrfs>` commands have full *v2* free space
cache support since v4.19.
If a version is not explicitly specified, the default implementation will be

View File

@ -54,7 +54,7 @@ In addition to that, a plain snapshot will also have last change generation and
creation generation equal.
Read-only snapshots are building blocks of incremental send (see
``btrfs-send(8)``) and the whole use case relies on unmodified snapshots where
:doc:`btrfs-send(8)<btrfs-send>`) and the whole use case relies on unmodified snapshots where
the relative changes are generated from. Thus, changing the subvolume flags
from read-only to read-write will break the assumptions and may lead to
unexpected changes in the resulting incremental stream.

View File

@ -3,7 +3,7 @@ Devices can be then added, removed or replaced on demand. Data and metadata are
organized in allocation profiles with various redundancy policies. There's some
similarity with traditional RAID levels, but this could be confusing to users
familiar with the traditional meaning. Due to the similarity, the RAID
terminology is widely used in the documentation. See ``mkfs.btrfs(8)`` for more
terminology is widely used in the documentation. See :doc:`mkfs.btrfs(8)<mkfs.btrfs>` for more
details and the exact profile capabilities and constraints.
The device management works on a mounted filesystem. Devices can be added,

View File

@ -18,7 +18,7 @@ filesystem was not unmounted cleanly and the log needs to be replayed before
mount. This is not needed for BTRFS. You should set fs_passno to 0.
If you wish to check the consistency of a BTRFS filesystem or repair a damaged
filesystem, see ``btrfs-check(8)``. By default filesystem consistency is checked,
filesystem, see :doc:`btrfs-check(8)<btrfs-check>`. By default filesystem consistency is checked,
the repair mode is enabled via the *--repair* option (use with care!).
OPTIONS
@ -47,6 +47,6 @@ FILES
SEE ALSO
--------
``btrfs(8)``,
:doc:`btrfs(8)<btrfs>`,
``fsck(8)``,
``fstab(5)``

View File

@ -20,7 +20,7 @@ mount option. See section *MULTIPLE DEVICES* for more details.
The default block group profiles for data and metadata depend on number of
devices and possibly other factors. It's recommended to use specific profiles
but the defaults should be OK and allowing future conversions to other profiles.
Please see options *-d* and *-m* for further details and ``btrfs-balance(8)`` for
Please see options *-d* and *-m* for further details and :doc:`btrfs-balance(8)<btrfs-balance>` for
the profile conversion post mkfs.
OPTIONS
@ -33,7 +33,7 @@ OPTIONS
--csum <type>, --checksum <type>
Specify the checksum algorithm. Default is *crc32c*. Valid values are *crc32c*,
*xxhash*, *sha256* or *blake2*. To mount such filesystem kernel must support the
checksums as well. See *CHECKSUM ALGORITHMS* in ``btrfs(5)``.
checksums as well. See *CHECKSUM ALGORITHMS* in :doc:`btrfs(5)<btrfs-man5>`.
-d|--data <profile>
Specify the profile for the data block groups. Valid values are *raid0*,
@ -129,7 +129,7 @@ OPTIONS
-K|--nodiscard
Do not perform whole device TRIM operation on devices that are capable of that.
This does not affect discard/trim operation when the filesystem is mounted.
Please see the mount option *discard* for that in ``btrfs(5)``.
Please see the mount option *discard* for that in :doc:`btrfs(5)<btrfs-man5>`.
-r|--rootdir <rootdir>
Populate the toplevel subvolume with files from *rootdir*. This does not
@ -238,7 +238,7 @@ devices to scan at the time of mount.
FILESYSTEM FEATURES
-------------------
Features that can be enabled during creation time. See also ``btrfs(5)`` section
Features that can be enabled during creation time. See also :doc:`btrfs(5)<btrfs-man5>` section
*FILESYSTEM FEATURES*.
mixed-bg
@ -274,7 +274,7 @@ zoned
(kernel support since 5.12)
zoned mode, data allocation and write friendly to zoned/SMR/ZBC/ZNS devices,
see *ZONED MODE* in ``btrfs(5)``, the mode is automatically selected when
see *ZONED MODE* in :doc:`btrfs(5)<btrfs-man5>`, the mode is automatically selected when
a zoned device is detected
@ -290,7 +290,7 @@ quota
(kernel support since 3.4)
Enable quota support (qgroups). The qgroup accounting will be consistent,
can be used together with *--rootdir*. See also ``btrfs-quota(8)``.
can be used together with *--rootdir*. See also :doc:`btrfs-quota(8)<btrfs-quota>`.
free-space-tree
(default since btrfs-progs 5.15, kernel support since 4.5)
@ -544,7 +544,7 @@ further details.
SEE ALSO
--------
``btrfs(5)``,
``btrfs(8)``,
``btrfs-balance(8)``,
:doc:`btrfs(5)<btrfs-man5>`,
:doc:`btrfs(8)<btrfs>`,
:doc:`btrfs-balance(8)<btrfs-balance>`,
``wipefs(8)``