Displaying 3 results from an estimated 3 matches for "473a5c5".
Did you mean:
473a475
2017 Apr 19
6
[PATCH supermin 0/3] Require root= parameter, refactor init.
Require the root= parameter is passed to specify which
root (apppliance) to mount. Libguestfs has done this since 2012.
The other two patches are small code refactorings in the init
program.
Rich.
2017 Apr 19
0
[PATCH supermin 3/3] init: Refactor for-loop which waits for root device to show up.
---
init/init.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/init/init.c b/init/init.c
index 473a5c5..a6279b8 100644
--- a/init/init.c
+++ b/init/init.c
@@ -101,13 +101,19 @@ main ()
char *root, *path;
size_t len;
int dax = 0;
- uint64_t delay_ns = 250000;
+ uint64_t delay_ns;
int virtio_message = 0;
- struct timespec t;
int major, minor;
char *p;
const char *mount_options...
2017 Apr 19
0
[PATCH supermin 2/3] init: Move variable declarations to the top of the function.
No functional change, just change the style to the one used
by libguestfs.
---
init/init.c | 41 +++++++++++++++++++++++++----------------
1 file changed, 25 insertions(+), 16 deletions(-)
diff --git a/init/init.c b/init/init.c
index e3d1107..473a5c5 100644
--- a/init/init.c
+++ b/init/init.c
@@ -96,6 +96,18 @@ static char line[1024];
int
main ()
{
+ FILE *fp;
+ size_t n;
+ char *root, *path;
+ size_t len;
+ int dax = 0;
+ uint64_t delay_ns = 250000;
+ int virtio_message = 0;
+ struct timespec t;
+ int major, minor;
+ char *p;
+ c...