From d69daae4119a9bc3a89a72f752dfbdfd6bbb2fdf Mon Sep 17 00:00:00 2001 From: Alexander Fougner Date: Thu, 29 Dec 2022 16:48:54 +0100 Subject: doc: fix formatting fix misnomer and some formatting Signed-off-by: Alexander Fougner --- doc/bcachefs-principles-of-operation.tex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/bcachefs-principles-of-operation.tex b/doc/bcachefs-principles-of-operation.tex index 89b39bf4..a761fa57 100644 --- a/doc/bcachefs-principles-of-operation.tex +++ b/doc/bcachefs-principles-of-operation.tex @@ -303,12 +303,12 @@ replicas we're supposed to keep. \subsection{Reflink} bcachefs supports reflink, similarly to other filesystems with the same feature. -cp --reflink will create a copy that shares the underlying storage. Reading from -that file will become slightly slower - the extent pointing to that data is -moved to the reflink btree (with a refcount added) and in the extents btree we -leave a key that points to the indirect extent in the reflink btree, meaning -that we now have to do two btree lookups to read from that data instead of just -one. +\texttt{cp --reflink} will create a copy that shares the underlying storage. +Reading from that file will become slightly slower - the extent pointing to that +data is moved to the reflink btree (with a refcount added) and in the extents +btree we leave a key that points to the indirect extent in the reflink btree, +meaning that we now have to do two btree lookups to read from that data instead +of just one. \subsection{Inline data extents} @@ -383,7 +383,7 @@ bcachefs format --compression=lz4 \ \subsection{Mounting} To mount a multi device filesystem, there are two options. You can specify all -component devices, separated by hyphens, e.g. +component devices, separated by colons, e.g. \begin{quote} \begin{verbatim} mount -t bcachefs /dev/sda:/dev/sdb:/dev/sdc /mnt \end{verbatim} \end{quote} @@ -395,7 +395,7 @@ replay happens automatically, and diagnostic messages in the dmesg log will indicate whether recovery was from clean or unclean shutdown. The \texttt{-o degraded} option will allow a filesystem to be mounted without -all the the devices, but will fail if data would be missing. The +all the devices, but will fail if data would be missing. The \texttt{-o very\_degraded} can be used to attempt mounting when data would be missing. -- cgit 1.2.3-korg