Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rd_load_disk

Proto:int __init rd_load_disk(int n)

Type:int

Parameter:

TypeParameterName
intn
287  If 1 = prompt for RAM disk, 0 = don't prompt Then change_floppy("root floppy disk to be loaded into RAM disk")
289  create_dev("/dev/root", ROOT_DEV)
290  create_dev("/dev/ram", MKDEV(RAMDISK_MAJOR, n))
291  Return rd_load_image("/dev/root")
Caller
NameDescribe
prepare_namespacePrepare the namespace - decide what/where to mount, load ramdisks, etc.