Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: Mkinitrd

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1



    # 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

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    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

  3. #3
    uname -r returns the kernel version (i.e. By appending it to the mkinitrd command, you can easily differentiate between initrd files on a machine holding multiple kernels.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts