Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\do_mounts.c Create Date:2022-07-28 13:57:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mount_root

Proto:void __init mount_root(void)

Type:void

Parameter:Nothing

627  err = create_dev("/dev/root", ROOT_DEV)
629  If err < 0 Then These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.("Failed to create /dev/root: %d\n", err)
631  mount_block_root("/dev/root", root_mountflags)
Caller
NameDescribe
prepare_namespacePrepare the namespace - decide what/where to mount, load ramdisks, etc.
handle_initrd