Results 1 to 3 of 3
Hello
# mkinitrd -v /boot/initrd-$(uname -r).img $(uname -r)
what does it [$(uname -r).img $(uname -r) mean?
This question was asked me in an interview...
Thanks and Regards
Vinod Pundir...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-25-2010 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 48
Mkinitrd
Hello
# mkinitrd -v /boot/initrd-$(uname -r).img $(uname -r)
what does it [$(uname -r).img $(uname -r) mean?
This question was asked me in an interview...
Thanks and Regards
Vinod Pundir
- 06-25-2010 #2
Execute uname -r command in Terminal. You will have the answer.
In mkinitrd command, $[uname -r] is being replaced with its output.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 06-25-2010 #3
uname -r returns the kernel version (i.e. 2.6.31.6). By appending it to the mkinitrd command, you can easily differentiate between initrd files on a machine holding multiple kernels.


Reply With Quote
