Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32975
b: refs/heads/master
c: 0a5eca6
h: refs/heads/master
i:
  32973: a454384
  32971: f734942
  32967: 1a26d1a
  32959: 659ed8e
v: v3
  • Loading branch information
Thomas Horsley authored and Linus Torvalds committed Jul 31, 2006
1 parent 21e1b77 commit 5672a0e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a06a363ef48444186f18095ae1b932dddbbfa89
refs/heads/master: 0a5eca6530eb4d0120981936058537c24a2f92ce
16 changes: 16 additions & 0 deletions trunk/Documentation/initrd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,22 @@ initrd adds the following new options:
initrd is mounted as root, and the normal boot procedure is followed,
with the RAM disk still mounted as root.

Compressed cpio images
----------------------

Recent kernels have support for populating a ramdisk from a compressed cpio
archive, on such systems, the creation of a ramdisk image doesn't need to
involve special block devices or loopbacks, you merely create a directory on
disk with the desired initrd content, cd to that directory, and run (as an
example):

find . | cpio --quiet -c -o | gzip -9 -n > /boot/imagefile.img

Examining the contents of an existing image file is just as simple:

mkdir /tmp/imagefile
cd /tmp/imagefile
gzip -cd /boot/imagefile.img | cpio -imd --quiet

Installation
------------
Expand Down

0 comments on commit 5672a0e

Please sign in to comment.