aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/early-userspace/README
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-10-17 02:29:29 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:56 -0400
commit1810732e94576ae0d04e953ecaba8c7151c9a287 (patch)
treec2ff43ec67ea41d2e5fee33b5e9a0d828871d3b5 /Documentation/early-userspace/README
parent0e1ccb9619e8e9ae86dfc5a4645ccf3bf5a2eb3f (diff)
docs: ramdisk/initrd/initramfs corrections
initrd/initramfs/ramdisk docs: - fix typos/spellos/grammar - clarify RAM disk config location - correct cpio option Acked-by: Bryan O'Sullivan <bos@serpentine.com> Acked-by: Rob Landley <rob@landley.net> Cc: Werner Almesberger <werner@almesberger.net> Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/early-userspace/README')
-rw-r--r--Documentation/early-userspace/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/early-userspace/README b/Documentation/early-userspace/README
index cddbac456c29..766d320c8eb6 100644
--- a/Documentation/early-userspace/README
+++ b/Documentation/early-userspace/README
@@ -19,7 +19,7 @@ It consists of several major infrastructure components:
19- klibc, a userspace C library, currently packaged separately, that is 19- klibc, a userspace C library, currently packaged separately, that is
20 optimized for correctness and small size. 20 optimized for correctness and small size.
21 21
22The cpio file format used by initramfs is the "newc" (aka "cpio -c") 22The cpio file format used by initramfs is the "newc" (aka "cpio -H newc")
23format, and is documented in the file "buffer-format.txt". There are 23format, and is documented in the file "buffer-format.txt". There are
24two ways to add an early userspace image: specify an existing cpio 24two ways to add an early userspace image: specify an existing cpio
25archive to be used as the image or have the kernel build process build 25archive to be used as the image or have the kernel build process build
@@ -44,7 +44,7 @@ The image is specified as one or more sources in
44CONFIG_INITRAMFS_SOURCE. Sources can be either directories or files - 44CONFIG_INITRAMFS_SOURCE. Sources can be either directories or files -
45cpio archives are *not* allowed when building from sources. 45cpio archives are *not* allowed when building from sources.
46 46
47A source directory will have it and all of it's contents packaged. The 47A source directory will have it and all of its contents packaged. The
48specified directory name will be mapped to '/'. When packaging a 48specified directory name will be mapped to '/'. When packaging a
49directory, limited user and group ID translation can be performed. 49directory, limited user and group ID translation can be performed.
50INITRAMFS_ROOT_UID can be set to a user ID that needs to be mapped to 50INITRAMFS_ROOT_UID can be set to a user ID that needs to be mapped to
@@ -144,7 +144,7 @@ c) using initramfs. The call to prepare_namespace() must be skipped.
144 initrd format, an cpio archive. It must be called "/init". This binary 144 initrd format, an cpio archive. It must be called "/init". This binary
145 is responsible to do all the things prepare_namespace() would do. 145 is responsible to do all the things prepare_namespace() would do.
146 146
147 To remain backwards compatibility, the /init binary will only run if it 147 To maintain backwards compatibility, the /init binary will only run if it
148 comes via an initramfs cpio archive. If this is not the case, 148 comes via an initramfs cpio archive. If this is not the case,
149 init/main.c:init() will run prepare_namespace() to mount the final root 149 init/main.c:init() will run prepare_namespace() to mount the final root
150 and exec one of the predefined init binaries. 150 and exec one of the predefined init binaries.