From cc70ff20bd6be9db7effc42df489305f22b0fd34 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 29 Aug 2002 14:55:02 +0000 Subject: (formatPartitions): create /dev/null as soon as possible on to be installed system --- perl-install/install2.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/install2.pm') 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}); -- cgit v1.2.1