diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-11-15 21:28:47 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-11-15 21:28:47 +0000 |
commit | 13c16f14decc263bd148db8153691022698b402b (patch) | |
tree | 43b5a9384fda169c972b47834f4a1094ebbb03cb /loader2/init.c | |
parent | 0b701de6864d62050267a43053b62341c22da78d (diff) | |
download | anaconda-13c16f14decc263bd148db8153691022698b402b.tar.gz anaconda-13c16f14decc263bd148db8153691022698b402b.tar.xz anaconda-13c16f14decc263bd148db8153691022698b402b.zip |
mount sysfs
Diffstat (limited to 'loader2/init.c')
-rw-r--r-- | loader2/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/loader2/init.c b/loader2/init.c index 4dbef0c64..675713941 100644 --- a/loader2/init.c +++ b/loader2/init.c @@ -494,6 +494,13 @@ int main(int argc, char **argv) { } printf("done\n"); + printf("mounting /sys filesystem... "); + if (!testing) { + if (mount("/sys", "/sys", "sysfs", 0, NULL)) + fatal_error(1); + } + printf("done\n"); + /* these args are only for testing from commandline */ for (i = 1; i < argc; i++) { if (!strcmp (argv[i], "serial")) { |