Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:create_dev

Proto:static inline int create_dev(char *name, dev_t dev)

Type:int

Parameter:

TypeParameterName
char *name
dev_tdev
19  ksys_unlink(name)
20  Return ksys_mknod(name, S_IFBLK | 0600, new_encode_dev(dev))
Caller
NameDescribe
mount_root
rd_load_disk
handle_initrd
initrd_load
md_setup_drive
md_run_setup