Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:initrd_load

Proto:bool __init initrd_load(void)

Type:bool

Parameter:Nothing

127  If mount_initrd Then
128  create_dev("/dev/ram", Root_RAM0)
135  If rd_load_image("/initrd.image") && ROOT_DEV != Root_RAM0 Then
136  ksys_unlink("/initrd.image")
137  handle_initrd()
138  Return true
141  ksys_unlink("/initrd.image")
142  Return false
Caller
NameDescribe
prepare_namespacePrepare the namespace - decide what/where to mount, load ramdisks, etc.