diff options
author | Bill Nottingham <notting@redhat.com> | 2003-11-21 05:23:05 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-11-21 05:23:05 +0000 |
commit | af9261933ac23e22ab3d73c8bb6eba85b5f6fa8d (patch) | |
tree | 29d388853f2c0c6489400888d32f9e6d0dcbcf3b /loader2/init.c | |
parent | ddef445719485d90765a9105ee8779c3eb635875 (diff) | |
download | anaconda-af9261933ac23e22ab3d73c8bb6eba85b5f6fa8d.tar.gz anaconda-af9261933ac23e22ab3d73c8bb6eba85b5f6fa8d.tar.xz anaconda-af9261933ac23e22ab3d73c8bb6eba85b5f6fa8d.zip |
mount sysfs in the loader, and write it in /etc/fstab too
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 675713941..bc8527a75 100644 --- a/loader2/init.c +++ b/loader2/init.c @@ -487,6 +487,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"); + printf("mounting /dev/pts (unix98 pty) filesystem... "); if (!testing) { if (mount("/dev/pts", "/dev/pts", "devpts", 0, NULL)) |