Skip to content

Commit

Permalink
docs: early-userspace: move to driver-api guide
Browse files Browse the repository at this point in the history
Those documents describe a kAPI. So, add to the driver-api
book.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Jul 15, 2019
1 parent 6cf2a73 commit ec4b78a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
:orphan:

===============
Early Userspace
===============
Expand Down
1 change: 1 addition & 0 deletions Documentation/driver-api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ available subsections can be seen below.

basics
infrastructure
early-userspace/index
pm/index
clk
device-io
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/nfs/nfsroot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ rdinit=<executable file>
A description of the process of mounting the root file system can be
found in:

Documentation/early-userspace/early_userspace_support.rst
Documentation/driver-api/early-userspace/early_userspace_support.rst



Expand Down
4 changes: 2 additions & 2 deletions Documentation/filesystems/ramfs-rootfs-initramfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ All this differs from the old initrd in several ways:
- The old initrd file was a gzipped filesystem image (in some file format,
such as ext2, that needed a driver built into the kernel), while the new
initramfs archive is a gzipped cpio archive (like tar only simpler,
see cpio(1) and Documentation/early-userspace/buffer-format.rst). The
see cpio(1) and Documentation/driver-api/early-userspace/buffer-format.rst). The
kernel's cpio extraction code is not only extremely small, it's also
__init text and data that can be discarded during the boot process.

Expand Down Expand Up @@ -159,7 +159,7 @@ One advantage of the configuration file is that root access is not required to
set permissions or create device nodes in the new archive. (Note that those
two example "file" entries expect to find files named "init.sh" and "busybox" in
a directory called "initramfs", under the linux-2.6.* directory. See
Documentation/early-userspace/early_userspace_support.rst for more details.)
Documentation/driver-api/early-userspace/early_userspace_support.rst for more details.)

The kernel does not depend on external cpio tools. If you specify a
directory instead of a configuration file, the kernel's build infrastructure
Expand Down
2 changes: 1 addition & 1 deletion usr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ config INITRAMFS_SOURCE
When multiple directories and files are specified then the
initramfs image will be the aggregate of all of them.

See <file:Documentation/early-userspace/early_userspace_support.rst> for more details.
See <file:Documentation/driver-api/early-userspace/early_userspace_support.rst> for more details.

If you are not sure, leave it blank.

Expand Down

0 comments on commit ec4b78a

Please sign in to comment.