Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 201-450 Topic 3 Question 106 Discussion

Actual exam question for LPI's 201-450 exam
Question #: 106
Topic #: 3
[All 201-450 Questions]

Which of the following command sequences can be used to extract files contained in a initramfs file (/boot/initramfs) which is used by the kernel at boot time?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Mitsue
3 months ago
I heard the kernel likes to keep its initramfs files on a need-to-know basis. Guess we're all on a need-to-know basis today!
upvoted 0 times
Dell
1 months ago
D) cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -e /tmp/initramfs
upvoted 0 times
...
Ivory
2 months ago
B) cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -i < /tmp/initramfs
upvoted 0 times
...
Catherin
2 months ago
A) cp /boot/initramfs /tmp/initramfs.gz; gzip -c /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -i < /tmp/initramfs
upvoted 0 times
...
...
Joesph
3 months ago
Wait, why are we extracting an initramfs file? Isn't that like, the kernel's private business? I hope this isn't going to be on the test!
upvoted 0 times
...
Roslyn
3 months ago
Hold up, is this a trick question? I bet the answer is Option E, because 'initrd' is the old-school name for initramfs, right?
upvoted 0 times
...
Cherrie
3 months ago
I've used Option C before to mount the initramfs image directly. It's a bit more straightforward than the cpio approach.
upvoted 0 times
Elise
1 months ago
I've never tried Option C, I usually stick with Option A for extracting initramfs files.
upvoted 0 times
...
Julio
2 months ago
I usually go with Option B, but I might try Option C next time.
upvoted 0 times
...
Zoila
2 months ago
I prefer Option C as well, it's easier to just mount the initramfs image.
upvoted 0 times
...
Emogene
2 months ago
I've never tried Option C before, but it sounds like a more straightforward method to extract the files.
upvoted 0 times
...
Virgina
2 months ago
I usually go with Option B, but I might try Option C next time for a simpler approach.
upvoted 0 times
...
Jules
3 months ago
I prefer Option C as well, it's easier to mount the initramfs image directly.
upvoted 0 times
...
...
Teddy
4 months ago
Option B looks the most comprehensive to me. Extracting the files from the initramfs image using cpio is the way to go.
upvoted 0 times
Jesusita
3 months ago
Let's go with option B then, it seems like the most comprehensive choice.
upvoted 0 times
...
Angella
3 months ago
Yes, I think Option B is the best one. It covers all the necessary steps for extracting the files from the initramfs image.
upvoted 0 times
...
Felix
3 months ago
Option B is definitely the way to go for extracting files from initramfs.
upvoted 0 times
...
Shaniqua
3 months ago
I agree, using cpio to extract the files seems like the right approach.
upvoted 0 times
...
Charisse
3 months ago
I agree, Option B seems like the correct choice. Using cpio to extract the files is the right approach.
upvoted 0 times
...
Rosio
3 months ago
I think option B is the correct one.
upvoted 0 times
...
...
Brigette
4 months ago
But option A involves using cpio to extract files from the initramfs file, which is the correct tool for this task.
upvoted 0 times
...
Sharen
4 months ago
I disagree, I believe the correct answer is B.
upvoted 0 times
...
Brigette
4 months ago
I think the correct answer is A.
upvoted 0 times
...

Save Cancel