some basic questions/observations about early userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  from a little more perusal of the source, i just want to verify a
few things about initrd/initramfs functionality.  all of this *should*
be trivially obvious, but i've been burned before by making those
kinds of assumptions, so just humour me.

  first, it seems fairly clear that you need to select the config
variable BLK_DEV_INITRD to have either the older initrd or the newer
initramfs functionality.  (some of the code is potentially confusing
since, some of the time, "initrd" refers *specifically* to the older
initrd (filesystem-format) feature while, at other times, it
represents *both* initrd and initramfs (as in the BLK_DEV_INITRD
variable).  *sigh*.)

  if you select BLK_DEV_INITRD, you will get initramfs functionality.
but to also get initrd, you need to select BLK_DEV_RAM from
drivers/block/Kconfig.  it is, of course, possible to select
BLK_DEV_RAM completely independently of having any initrd support
whatsoever.  so far, so good?  (i did say these observations were
trivial.)

  more later.  time for coffee.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux