diff options
author | Thierry.Vignaud <thierry.vignaud@gmail.com> | 2014-06-18 14:24:27 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-06-18 22:13:34 +0200 |
commit | 96c78110c5933a0d578c8ddda6927aa4a4964eda (patch) | |
tree | 1b167d5e455e672cd6de2779673e8504d6d9a8c5 /perl-install/devices.pm | |
parent | 7d16840ea981e14d844b57510a7cbd2c551dd739 (diff) | |
download | drakx-96c78110c5933a0d578c8ddda6927aa4a4964eda.tar drakx-96c78110c5933a0d578c8ddda6927aa4a4964eda.tar.gz drakx-96c78110c5933a0d578c8ddda6927aa4a4964eda.tar.bz2 drakx-96c78110c5933a0d578c8ddda6927aa4a4964eda.tar.xz drakx-96c78110c5933a0d578c8ddda6927aa4a4964eda.zip |
let udev creates '/dev/mapper/control'
Diffstat (limited to 'perl-install/devices.pm')
-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 { |