[klibc] kinit: Create block device for mount commands if needed.

For mount commands coming from the "kinit_mount=" option or
from an embedded /etc/fstab, try to create the block device
before we issue the mount() command.

Tested: Tested with a variety of mount commands (cmdline +
fstab), using both block devices and 9p mounts.

Signed-off-by: Curt Wohlgemuth <curtw@google.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
1 file changed