diff options
-rw-r--r-- | perl-install/devices.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 19dcb6871..a04af05f5 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -61,13 +61,6 @@ sub init_device_mapper() { require modules; eval { modules::load('dm-mod') }; make('urandom'); - my $control = '/dev/mapper/control'; - if (! -e $control) { - my ($major) = get_dynamic_major('misc') or return; - my ($minor) = cat_('/proc/misc') =~ /(\d+) device-mapper$/m or return; - mkdir_p(dirname($control)); - syscall_('mknod', $control, c::S_IFCHR() | 0600, makedev($major, $minor)) or die "mknod $control failed: $!"; - } } sub entry { |