preinit: parse rootflags= in kernel command line
This commit is contained in:
parent
6971d03520
commit
63f034e362
3 changed files with 77 additions and 51 deletions
7
pkgs/preinit/opts.h
Normal file
7
pkgs/preinit/opts.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
struct root_opts {
|
||||
char *device;
|
||||
char *fstype;
|
||||
char *mount_opts;
|
||||
};
|
||||
|
||||
void parseopts(char * cmdline, struct root_opts *opts);
|
Loading…
Add table
Add a link
Reference in a new issue