Function report | 
Source Code:init\do_mounts_md.c | 
Create Date:2022-07-28 13:58:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Parse the command-line parameters given our kernel, but do not* actually try to invoke the MD device now; that is handled by* md_setup_drive after the low-level disk drivers have initialised
Proto:static int __init md_setup(char *str)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | str | 
| 56 | partitioned = 0 | 
| 57 | pername = "" | 
| 61 | If str == 'd' Then | 
| 62 | partitioned = 1 | 
| 63 | str++ | 
| 70 | When ent < md_setup_ents cycle If minor == minor && partitioned == partitioned Then | 
| 81 | If ent >= md_setup_ents Then md_setup_ents++ | 
| 85 | If level == 0 || level == LEVEL_LINEAR Then | 
| 93 | If level == LEVEL_LINEAR Then pername = "linear" | 
| 95 | Else pername = "raid0" | 
| 97 | Break | 
| 104 | level = we need a value for 'no level specified' and 0* means 'raid0', so we need something else. This is* for internal use only | 
| 105 | pername = "super-block" | 
| 110 | device_names = str | 
| 111 | partitioned = partitioned | 
| 114 | Return 1 | 
| 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  |