commit | a7c9df59f35bfe745ecd8177a609642b927add35 | [log] [tgz] |
---|---|---|
author | Curt Wohlgemuth <curtw@google.com> | Thu Mar 08 15:11:32 2012 -0800 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Tue May 15 15:29:50 2012 -0700 |
tree | a4e5ba54d761888e9d8cc0b70766efeb81b91f7e | |
parent | 1ec1ce94c3f4d92c11a57d3670f09865d210ff10 [diff] |
[klibc] kinit: Parse mount command options properly. Mount options sent via "kinit_mount=" command line args, or an embedded fstab file, were not parsed properly to turn option strings into mount flags where possible. Stole and modified code from usr/utils/mount_opts.c to handle this. Tested: Tested using a variety of command line and fstab mounts and options. Signed-off-by: Curt Wohlgemuth <curtw@google.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>