summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-03-01 10:54:23 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-02 19:16:52 +0100
commit74d09efa549c0287a8741018f046774f37d997cd (patch)
tree2e5bfe43f052532eba3b7219b1e72768b24c9318 /Documentation
parentc9daed943e7bbb60f19b34f2b16ab9ab9bab16ea (diff)
downloadbarebox-74d09efa549c0287a8741018f046774f37d997cd.tar.gz
barebox-74d09efa549c0287a8741018f046774f37d997cd.tar.xz
Documentation/filesystems: add barebox prompt to the shell commands
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/fat.rst9
-rw-r--r--Documentation/filesystems/nfs.rst4
-rw-r--r--Documentation/filesystems/ramfs.rst2
-rw-r--r--Documentation/filesystems/smhfs.rst2
-rw-r--r--Documentation/filesystems/tftp.rst2
5 files changed, 9 insertions, 10 deletions
diff --git a/Documentation/filesystems/fat.rst b/Documentation/filesystems/fat.rst
index 2138328d18..e39e34a0e9 100644
--- a/Documentation/filesystems/fat.rst
+++ b/Documentation/filesystems/fat.rst
@@ -7,9 +7,8 @@ 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::
- mkdir /mnt
- mount /dev/disk0.0 fat /mnt
- ls /mnt
+ barebox:/ mkdir /mnt
+ barebox:/ mount /dev/disk0.0 fat /mnt
+ barebox:/ ls /mnt
zImage barebox.bin
- umount /mnt
-
+ barebox:/ umount /mnt
diff --git a/Documentation/filesystems/nfs.rst b/Documentation/filesystems/nfs.rst
index 4469ac1dff..ab51241549 100644
--- a/Documentation/filesystems/nfs.rst
+++ b/Documentation/filesystems/nfs.rst
@@ -9,7 +9,7 @@ barebox has readonly support for NFSv3 in UDP mode.
Example::
- mount -t nfs 192.168.23.4:/home/user/nfsroot /mnt/nfs
+ barebox:/ mount -t nfs 192.168.23.4:/home/user/nfsroot /mnt/nfs
The barebox NFS driver adds a ``linux.bootargs`` device parameter to the NFS device.
This parameter holds a Linux kernel commandline snippet containing a suitable root=
@@ -17,7 +17,7 @@ option for booting from exactly that NFS share.
Example::
- devinfo nfs0
+ barebox:/ devinfo nfs0
...
linux.bootargs: root=/dev/nfs nfsroot=192.168.23.4:/home/sha/nfsroot/generic-v7,v3,tcp
diff --git a/Documentation/filesystems/ramfs.rst b/Documentation/filesystems/ramfs.rst
index b7ece1a9d8..d27f88561f 100644
--- a/Documentation/filesystems/ramfs.rst
+++ b/Documentation/filesystems/ramfs.rst
@@ -9,4 +9,4 @@ is ``ramfs``.
Example::
- mount none ramfs /somedir
+ barebox:/ mount none ramfs /somedir
diff --git a/Documentation/filesystems/smhfs.rst b/Documentation/filesystems/smhfs.rst
index 28de14677d..9e9993cb28 100644
--- a/Documentation/filesystems/smhfs.rst
+++ b/Documentation/filesystems/smhfs.rst
@@ -20,7 +20,7 @@ directory. Nevertheless, the files are there.
Example::
- mount -t smhfs /dev/null /mnt/smhfs
+ barebox:/ mount -t smhfs /dev/null /mnt/smhfs
Host Side Setup
diff --git a/Documentation/filesystems/tftp.rst b/Documentation/filesystems/tftp.rst
index b5bb1b3121..eeb3fcb688 100644
--- a/Documentation/filesystems/tftp.rst
+++ b/Documentation/filesystems/tftp.rst
@@ -14,7 +14,7 @@ show an empty directory. Nevertheless, the files are there.
Example::
- mount -t tftp 192.168.23.4 /mnt/tftp
+ barebox:/ mount -t tftp 192.168.23.4 /mnt/tftp
In addition to the TFTP filesystem implementation, barebox does also have a
:ref:`tftp command <command_tftp>`.