summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorRoland Hieber <r.hieber@pengutronix.de>2018-08-10 00:22:59 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-10 08:41:09 +0200
commit68de5efb38fd2f38fa3f59c26fd07fa3b1180186 (patch)
treef56b1edb85b159f785c35c06ad113d2dacb29d56 /Documentation/filesystems
parentc3b5e27c5d1f1049b400339b721eff20e0e1243a (diff)
downloadbarebox-68de5efb38fd2f38fa3f59c26fd07fa3b1180186.tar.gz
barebox-68de5efb38fd2f38fa3f59c26fd07fa3b1180186.tar.xz
Documentation: fix code block and literal block highlighting
Use shell script highlighting where it is resonable, use console highlighting for transcripts, and fix some of the few cases where the syntax was broken, resulting in text not being rendered at all. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/fat.rst4
-rw-r--r--Documentation/filesystems/nfs.rst8
-rw-r--r--Documentation/filesystems/pstore.rst2
-rw-r--r--Documentation/filesystems/ramfs.rst4
-rw-r--r--Documentation/filesystems/smhfs.rst4
-rw-r--r--Documentation/filesystems/squashfs.rst4
-rw-r--r--Documentation/filesystems/tftp.rst4
7 files changed, 22 insertions, 8 deletions
diff --git a/Documentation/filesystems/fat.rst b/Documentation/filesystems/fat.rst
index e39e34a0e9..138e69711f 100644
--- a/Documentation/filesystems/fat.rst
+++ b/Documentation/filesystems/fat.rst
@@ -5,7 +5,9 @@ FAT filesystem
barebox supports FAT filesystems in both read and write modes with optional
support for long filenames. A FAT filesystem can be mounted using the
-:ref:`command_mount` command::
+:ref:`command_mount` command:
+
+.. code-block:: console
barebox:/ mkdir /mnt
barebox:/ mount /dev/disk0.0 fat /mnt
diff --git a/Documentation/filesystems/nfs.rst b/Documentation/filesystems/nfs.rst
index ab51241549..3e40ae9767 100644
--- a/Documentation/filesystems/nfs.rst
+++ b/Documentation/filesystems/nfs.rst
@@ -7,7 +7,9 @@ NFS Support
barebox has readonly support for NFSv3 in UDP mode.
-Example::
+Example:
+
+.. code-block:: console
barebox:/ mount -t nfs 192.168.23.4:/home/user/nfsroot /mnt/nfs
@@ -15,7 +17,9 @@ The barebox NFS driver adds a ``linux.bootargs`` device parameter to the NFS dev
This parameter holds a Linux kernel commandline snippet containing a suitable root=
option for booting from exactly that NFS share.
-Example::
+Example:
+
+.. code-block:: console
barebox:/ devinfo nfs0
...
diff --git a/Documentation/filesystems/pstore.rst b/Documentation/filesystems/pstore.rst
index 8eee374bdd..22e89b3f1f 100644
--- a/Documentation/filesystems/pstore.rst
+++ b/Documentation/filesystems/pstore.rst
@@ -20,7 +20,7 @@ at boot:
none on /pstore type pstore
pstore may add additional warnings during boot due to wrong ECCs (no data
-written)::
+written):
.. code-block:: none
diff --git a/Documentation/filesystems/ramfs.rst b/Documentation/filesystems/ramfs.rst
index d27f88561f..e61505a5f9 100644
--- a/Documentation/filesystems/ramfs.rst
+++ b/Documentation/filesystems/ramfs.rst
@@ -7,6 +7,8 @@ ramfs is a simple malloc-based filesystem. An instance of ramfs is
mounted during startup on /. The filesystem type passed to ``mount``
is ``ramfs``.
-Example::
+Example:
+
+.. code-block:: console
barebox:/ mount none ramfs /somedir
diff --git a/Documentation/filesystems/smhfs.rst b/Documentation/filesystems/smhfs.rst
index 9e9993cb28..8f8a0ec6b7 100644
--- a/Documentation/filesystems/smhfs.rst
+++ b/Documentation/filesystems/smhfs.rst
@@ -18,7 +18,9 @@ not have support for listing directories. This means a
:ref:`command_ls` to a SMHFS-mounted path will show an empty
directory. Nevertheless, the files are there.
-Example::
+Example:
+
+.. code-block:: console
barebox:/ mount -t smhfs /dev/null /mnt/smhfs
diff --git a/Documentation/filesystems/squashfs.rst b/Documentation/filesystems/squashfs.rst
index 88c97ebbe8..a042f7b96b 100644
--- a/Documentation/filesystems/squashfs.rst
+++ b/Documentation/filesystems/squashfs.rst
@@ -6,7 +6,9 @@ SquashFS filesystem
SquashFS is a highly compressed read-only filesystem for Linux.
It uses zlib, lzo or xz compression to compress both files, inodes
and directories. A SquashFS filesystem can be mounted using the
-:ref:`command_mount` command::
+:ref:`command_mount` command:
+
+.. code-block:: console
barebox:/ mkdir /mnt
barebox:/ mount -t squashfs /dev/spiflash.FileSystem /mnt
diff --git a/Documentation/filesystems/tftp.rst b/Documentation/filesystems/tftp.rst
index eeb3fcb688..a292765e25 100644
--- a/Documentation/filesystems/tftp.rst
+++ b/Documentation/filesystems/tftp.rst
@@ -12,7 +12,9 @@ TFTP is not designed as a filesystem. It does not have support for listing
directories. This means a :ref:`ls <command_ls>` to a TFTP-mounted path will
show an empty directory. Nevertheless, the files are there.
-Example::
+Example:
+
+.. code-block:: console
barebox:/ mount -t tftp 192.168.23.4 /mnt/tftp