how does kernel mount root

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

 



I am very confused about the way kernel mount a disk-based root like
root=/dev/sda1. Does this special file "/dev/sda1" exist inside the
very very first filesystem, rootfs? How does the kernel get the major,
minor number out of this line "root=/dev/sda1"? Otherwise, there is no
way to reference the actual device, right ? I have browsed the whole
source tree and found no place where command_line (or cmdline) is
parsed to convert "root=/dev/xxx" to something like kdev_t or dev_t.

--
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