Function report |
Source Code:init\noinitramfs.c |
Create Date:2022-07-28 13:54:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Create a simple rootfs that is similar to the default initramfs
Proto:static int __init default_rootfs(void)
Type:int
Parameter:Nothing
20 | err = ksys_mkdir((constchar__user__force * )"/dev", 0755) |
24 | err = ksys_mknod((constchar__user__force * )"/dev/console", S_IFCHR | S_IRUSR | S_IWUSR, new_encode_dev(MKDEV(5, 1))) |
30 | err = ksys_mkdir((constchar__user__force * )"/root", 0700) |
34 | Return 0 |
36 | out : |
38 | Return err |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |