summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-29 14:55:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-29 14:55:02 +0000
commitcc70ff20bd6be9db7effc42df489305f22b0fd34 (patch)
tree97dd8c50175da4ab29a20de37075704f8fcfe976
parentc69d617e108573a2a76df4a29578fbf6d97d64e9 (diff)
downloaddrakx-cc70ff20bd6be9db7effc42df489305f22b0fd34.tar
drakx-cc70ff20bd6be9db7effc42df489305f22b0fd34.tar.gz
drakx-cc70ff20bd6be9db7effc42df489305f22b0fd34.tar.bz2
drakx-cc70ff20bd6be9db7effc42df489305f22b0fd34.tar.xz
drakx-cc70ff20bd6be9db7effc42df489305f22b0fd34.zip
(formatPartitions): create /dev/null as soon as possible on to be installed system
-rw-r--r--perl-install/install2.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index fdd1696f4..3a42ebad5 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -182,6 +182,9 @@ sub formatPartitions {
home mnt tmp var var/tmp var/lib var/lib/rpm var/lib/urpmi);
mkdir "$o->{prefix}/$_", 0700 foreach qw(root root/tmp root/drakx);
+ devices::make("$o->{prefix}/dev/null");
+ chmod 0666, "$o->{prefix}/dev/null";
+
common::screenshot_dir__and_move();
any::rotate_logs($o->{prefix});