Displaying 2 results from an estimated 2 matches for "mount_sys_fs".
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...i < argc; i++)
printf(" argv[%d]: \"%s\"\n", i, argv[i]);
- }
- if (argv[argc] != NULL) {
+ if (argv[argc] != NULL)
printf(" argv[%d]: \"%s\" (SHOULD BE NULL)\n",
argc, argv[argc]);
- }
}
#endif /* DEBUG */
@@ -125,9 +123,8 @@ static int mount_sys_fs(const char *check, const char *fsname,
{
struct stat st;
- if (stat(check, &st) == 0) {
+ if (stat(check, &st) == 0)
return 0;
- }
mkdir(fsname, 0555);
@@ -220,9 +217,8 @@ int main(int argc, char *argv[])
dup2(fd, STDOUT_FILENO);
dup2(fd, STDERR_FILENO);
- if (fd >...
2011 Jul 13
9
[PATCH 0/8] switch_root() enhancements
On a train ride to Bruxelles, brought out my axe and directly attacked
run_init(8). run_init(8) is dead, long live switch_root(8).
The next run on switch_root(8) involves fdopendir,
so another push for the upcoming stdio 1.6 branch.
The following is boot tested with initramfs-tools,
kinit(8) tests would very much be appreciated!?
Michal Suchanek (1):
[klibc] switch_root: Fix single file