diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-03 11:21:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-03 11:21:49 +0000 |
commit | df9dbca7427c7ba34973cb2622c4003852a231d3 (patch) | |
tree | a1d0dd36757e4268e18fa15c27a09821d6cc012e /mdk-stage1 | |
parent | 5c6928844a2ddde423481d180ac467895160ac43 (diff) | |
download | drakx-df9dbca7427c7ba34973cb2622c4003852a231d3.tar drakx-df9dbca7427c7ba34973cb2622c4003852a231d3.tar.gz drakx-df9dbca7427c7ba34973cb2622c4003852a231d3.tar.bz2 drakx-df9dbca7427c7ba34973cb2622c4003852a231d3.tar.xz drakx-df9dbca7427c7ba34973cb2622c4003852a231d3.zip |
drop redundant mkdir of /proc and /tmp (already done in image)
(inspirated by pok's change @mdv)
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index a750b2332..9f55bcc40 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -161,7 +161,6 @@ void doklog() return; } - mkdir("/tmp", 0755); if ((log = open("/tmp/syslog", O_WRONLY | O_CREAT | O_APPEND, 0644)) < 0) { print_error("error opening /tmp/syslog"); sleep(5); @@ -413,7 +412,6 @@ int main(int argc, char **argv) if (!testing) { - mkdir("/proc", 0755); if (mount("/proc", "/proc", "proc", 0, NULL)) fatal_error("Unable to mount proc filesystem"); mkdir("/sys", 0755); |