summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
blob: 6757cf0ea5f8a24f8bdeb161eb3505f6129fa0bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
package fs::format; # $Id$

use diagnostics;
use strict;
use String::ShellQuote;

use run_program;
use common;
use fs::type;
use fs::loopback;
use log;

my %cmds = (
    ext2     => [ 'e2fsprogs', 'mkfs.ext2', '-F' ],
    ext3     => [ 'e2fsprogs', 'mkfs.ext3', '-F' ],
    ext4dev     => [ 'e2fsprogs', 'mkfs.ext3', '-F', '-I', '256' ], # FIXME: enable more options once we've better mkfs support
    reiserfs => [ 'reiserfsprogs', 'mkfs.reiserfs', '-ff' ],
    reiser4  => [ 'reiser4progs', 'mkfs.reiser4', '-f', '-y' ],
    xfs      => [ 'xfsprogs', 'mkfs.xfs', '-f', '-q' ],
    jfs      => [ 'jfsutils', 'mkfs.jfs', '-f' ],
    hfs      => [ 'hfsutils', 'hformat' ],
    dos      => [ 'dosfstools', 'mkdosfs' ],
    vfat     => [ 'dosfstools', 'mkdosfs', '-F', '32' ],
    swap     => [ 'util-linux-ng', 'mkswap' ],
    ntfs     => [ 'ntfsprogs', 'mkntfs', '--fast' ],
   'ntfs-3g' => [ 'ntfsprogs', 'mkntfs', '--fast' ],
);

my %LABELs = ( #- option, length, handled_by_mount
    ext2     => [ '-L', 16, 1 ],
    ext3     => [ '-L', 16, 1 ],
    ext4dev     => [ '-L', 16, 1 ],
    reiserfs => [ '-l', 16, 1 ],
    xfs      => [ '-L', 12, 1 ],
    jfs      => [ '-L', 16, 1 ],
    hfs      => [ '-l', 27, 0 ],
    dos      => [ '-n', 11, 0 ],
    vfat     => [ '-n', 11, 0 ],
    swap     => [ '-L', 15, 1 ],
);

sub package_needed_for_partition_type {
    my ($part) = @_;
    my $l = $cmds{$part->{fs_type}} or return;
    $l->[0];
}

sub known_type {
    my ($part) = @_;
    to_bool($cmds{$part->{fs_type}});
}

sub check_package_is_installed {
    my ($do_pkgs, $fs_type) = @_;

    my ($pkg, $binary) = @{$cmds{$fs_type} || return};
    whereis_binary($binary) || $do_pkgs->ensure_binary_is_installed($pkg, $binary); #- ensure_binary_is_installed checks binary chrooted, whereas we run the binary non-chrooted (pb for Mandriva One)
}

sub part {
    my ($all_hds, $part, $wait_message) = @_;
    if (isRAID($part)) {
	$wait_message->(N("Formatting partition %s", $part->{device})) if $wait_message;
	require raid;
	raid::format_part($all_hds->{raids}, $part);
    } elsif (isLoopback($part)) {
	$wait_message->(N("Creating and formatting file %s", $part->{loopback_file})) if $wait_message;
	fs::loopback::format_part($part);
    } else {
	$wait_message->(N("Formatting partition %s", $part->{device})) if $wait_message;
	part_raw($part, $wait_message);
    }
}

sub part_raw {
    my ($part, $wait_message) = @_;

    $part->{isFormatted} and return;

    if ($part->{encrypt_key}) {
	fs::mount::set_loop($part);
    }

    my $dev = $part->{real_device} || $part->{device};

    my @options = if_($part->{toFormatCheck}, "-c");
    log::l("formatting device $dev (type $part->{fs_type})");

    my $fs_type = $part->{fs_type};

    if (member($fs_type, qw(ext2 ext3 ext4dev))) {
	push @options, "-m", "0" if $part->{mntpoint} =~ m|^/home|;
    } elsif (isDos($part)) {
	$fs_type = 'dos';
    } elsif ($fs_type eq 'hfs') {
        push @options, '-l', "Untitled";
    } elsif (isAppleBootstrap($part)) {
	push @options, '-l', 'bootstrap';
    }

    if ($part->{device_LABEL}) {
	if ($LABELs{$fs_type}) {
	    my ($option, $length, $handled_by_mount) = @{$LABELs{$fs_type}};
	    if (length $part->{device_LABEL} > $length) {
		my $short = substr($part->{device_LABEL}, 0, $length);
		log::l("shortening LABEL $part->{device_LABEL} to $short");
		$part->{device_LABEL} = $short;
	    }
	    delete $part->{prefer_device_LABEL}
	      if !$handled_by_mount || $part->{mntpoint} eq '/' && !member($fs_type, qw(ext2 ext3 ext4dev));

	    push @options, $option, $part->{device_LABEL};
	} else {
	    log::l("dropping LABEL=$part->{device_LABEL} since we don't know how to set labels for fs_type $part->{fs_type}");
	    delete $part->{device_LABEL};
	    delete $part->{prefer_device_LABEL};
	}
    }

    my ($_pkg, $cmd, @first_options) = @{$cmds{$fs_type} || die N("I do not know how to format %s in type %s", $part->{device}, $part->{fs_type})};

    my @args = ($cmd, @first_options, @options, devices::make($dev));

    if ($cmd eq 'mkfs.ext3' && $wait_message) {
	mkfs_ext3($wait_message, @args) or die N("%s formatting of %s failed", $fs_type, $dev);
    } else {
	run_program::raw({ timeout => 'never' }, @args) or die N("%s formatting of %s failed", $fs_type, $dev);
    }

    if (member($fs_type, qw(ext3 ext4dev))) {
	disable_forced_fsck($dev);
    }

    my $p = fs::type::type_subpart_from_magic($part);
    $part->{device_UUID} = $p && $p->{device_UUID};

    set_isFormatted($part, 1);
}

sub mkfs_ext3 {
    my ($wait_message, @args) = @_;

    my $cmd = shell_quote_best_effort(@args);
    log::l("running: $cmd");
    open(my $F, "$cmd |");

    local $/ = "\b";
    local $_;
    while (<$F>) {
	#- even if it still takes some time when format is over, we don't want the progress bar to stay at 85%
	$wait_message->('', $1, $2) if m!^\s*(\d+)/(\d+)\b!;
    }
    return close($F);
}

sub disable_forced_fsck {
    my ($dev) = @_;
    run_program::run("tune2fs", "-c0", "-i0", devices::make($dev));
}

sub formatMount_part {
    my ($part, $all_hds, $fstab, $wait_message) = @_;

    if (isLoopback($part)) {
	formatMount_part($part->{loopback_device}, $all_hds, $fstab, $wait_message);
    }
    if (my $p = fs::get::up_mount_point($part->{mntpoint}, $fstab)) {
	formatMount_part($p, $all_hds, $fstab, $wait_message) if !fs::type::carry_root_loopback($part);
    }
    if ($part->{toFormat}) {
	fs::format::part($all_hds, $part, $wait_message);
    }

    #- setting user_xattr on /home (or "/" if no /home)
    if (!$part->{isMounted} && member($part->{fs_type}, qw(ext3 ext4dev))
	  && ($part->{mntpoint} eq '/home' ||
		!fs::get::has_mntpoint('/home', $all_hds) && $part->{mntpoint} eq '/')) {
	run_program::run('tune2fs', '-o', 'user_xattr', devices::make($part->{real_device} || $part->{device}));
    }

    fs::mount::part($part, 0, $wait_message);
}

sub formatMount_all {
    my ($all_hds, $fstab, $wait_message) = @_;
    formatMount_part($_, $all_hds, $fstab, $wait_message) 
      foreach sort { isLoopback($a) ? 1 : isSwap($a) ? -1 : 0 } grep { $_->{mntpoint} } @$fstab;

    #- ensure the link is there
    fs::loopback::carryRootCreateSymlink($_) foreach @$fstab;

    #- for fun :)
    #- that way, when install exits via ctrl-c, it gives hand to partition
    eval {
	my ($_type, $major, $minor) = devices::entry(fs::get::root($fstab)->{device});
	output "/proc/sys/kernel/real-root-dev", makedev($major, $minor);
    };
}


1;
ex 4841fca46..9b7935ea1 100644
--- a/perl-install/share/po/be.po
+++ b/perl-install/share/po/be.po
@@ -2949,7 +2949,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/bg.po b/perl-install/share/po/bg.po
index ab87f65d8..c644ddc1d 100644
--- a/perl-install/share/po/bg.po
+++ b/perl-install/share/po/bg.po
@@ -3046,7 +3046,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/bn.po b/perl-install/share/po/bn.po
index 7e1f6ddac..cab67f3c8 100644
--- a/perl-install/share/po/bn.po
+++ b/perl-install/share/po/bn.po
@@ -3111,7 +3111,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3131,7 +3131,7 @@ msgstr ""
"ক্লাসিক বাগ সাউন্ড পরীক্ষক নিম্নলিখিত কমান্ডগুলো চালু করে:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" ডিফল্টভাবে আপনার কার্ড যেই ড্রাইভার \n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" ডিফল্টভাবে আপনার কার্ড যেই ড্রাইভার \n"
"ব্যবহার করছে তা আপনাকে বলবে\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" আপনার বর্তমানে ব্যবহৃত \n"
diff --git a/perl-install/share/po/br.po b/perl-install/share/po/br.po
index bd592b82a..700696442 100644
--- a/perl-install/share/po/br.po
+++ b/perl-install/share/po/br.po
@@ -3013,7 +3013,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/bs.po b/perl-install/share/po/bs.po
index cffda472c..66f0c8209 100644
--- a/perl-install/share/po/bs.po
+++ b/perl-install/share/po/bs.po
@@ -3152,7 +3152,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3173,7 +3173,7 @@ msgstr ""
"sljedećih naredbi:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" će vam reći koji drajver inače koristi\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" će vam reći koji drajver inače koristi\n"
"vaša kartica\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" će vam reći koji drajver je\n"
diff --git a/perl-install/share/po/ca.po b/perl-install/share/po/ca.po
index 5d994c422..3fe3317a7 100644
--- a/perl-install/share/po/ca.po
+++ b/perl-install/share/po/ca.po
@@ -3140,7 +3140,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3160,7 +3160,7 @@ msgstr ""
"El comprovador de sons d'error clàssic pot executar les ordres següents:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" us dirà el programa de control que la\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" us dirà el programa de control que la\n"
"vostra targeta utilitza per defecte\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" us dirà el programa de control\n"
diff --git a/perl-install/share/po/cs.po b/perl-install/share/po/cs.po
index 7304bf2a8..59a781a10 100644
--- a/perl-install/share/po/cs.po
+++ b/perl-install/share/po/cs.po
@@ -3139,7 +3139,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3159,7 +3159,7 @@ msgstr ""
"Klasický postup při řešení problémů se zvukem je pomocí těchto příkazů:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" vám řekne, jaký ovladač je výchozí pro\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" vám řekne, jaký ovladač je výchozí pro\n"
"danou zvukovou kartu\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" vám řekne, který ovladač se nyní\n"
diff --git a/perl-install/share/po/cy.po b/perl-install/share/po/cy.po
index 9e0fa9077..d373132f1 100644
--- a/perl-install/share/po/cy.po
+++ b/perl-install/share/po/cy.po
@@ -3133,7 +3133,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3153,7 +3153,7 @@ msgstr ""
"Prawf gwall sain - rhedeg y gorchmynion canlynol:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" pa yrwyr i'w defnyddio\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" pa yrwyr i'w defnyddio\n"
"drwy ragosodiad\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" pa yrwyr mae'n defnyddio\n"
diff --git a/perl-install/share/po/da.po b/perl-install/share/po/da.po
index bdd26855f..8a8335eb3 100644
--- a/perl-install/share/po/da.po
+++ b/perl-install/share/po/da.po
@@ -3140,7 +3140,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3160,7 +3160,7 @@ msgstr ""
"Den klassiske metode for at fejlsøge lydopsætningten er at køre følgende\n"
"kommandoer:\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" vil vise hvilken driver lydkortet bruger \n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" vil vise hvilken driver lydkortet bruger \n"
"som standard\n"
"- \"grep sound-slot /etc/modprobe.conf\" vil vise hvilken driver som er i "
"brug\n"
diff --git a/perl-install/share/po/de.po b/perl-install/share/po/de.po
index 5c0b98019..8ae52c928 100644
--- a/perl-install/share/po/de.po
+++ b/perl-install/share/po/de.po
@@ -3208,7 +3208,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3228,7 +3228,7 @@ msgstr ""
"Der klassische Test, um Fehler im Sound-System zu finden:\n"
"\n"
"\n"
-"- „lspcidrake -v | fgrep AUDIO“ verrät Ihnen, welcher Treiber Ihre "
+"- „lspcidrake -v | fgrep -i AUDIO“ verrät Ihnen, welcher Treiber Ihre "
"Soundkarte \n"
" standardmäßig verwendet.\n"
"\n"
diff --git a/perl-install/share/po/el.po b/perl-install/share/po/el.po
index 5b6c73b6c..cf6cdd3a8 100644
--- a/perl-install/share/po/el.po
+++ b/perl-install/share/po/el.po
@@ -3102,7 +3102,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/eo.po b/perl-install/share/po/eo.po
index 57e74146f..b1ed5cf61 100644
--- a/perl-install/share/po/eo.po
+++ b/perl-install/share/po/eo.po
@@ -3034,7 +3034,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/es.po b/perl-install/share/po/es.po
index 70c693a96..a4a762979 100644
--- a/perl-install/share/po/es.po
+++ b/perl-install/share/po/es.po
@@ -3161,7 +3161,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3181,7 +3181,7 @@ msgstr ""
"El probador de sonido clásico va a ejecutar los comandos siguientes:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" le dirá qué controlador predet. usa su\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" le dirá qué controlador predet. usa su\n"
"tarjeta de sonido\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\n"
diff --git a/perl-install/share/po/et.po b/perl-install/share/po/et.po
index fcf7012d3..15d93fc4d 100644
--- a/perl-install/share/po/et.po
+++ b/perl-install/share/po/et.po
@@ -3123,7 +3123,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3144,7 +3144,7 @@ msgstr ""
"järgmised käsud:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" näitab, millist draiverit Teie\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" näitab, millist draiverit Teie\n"
"helikaart vaikimisi kasutab\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" näitab, millist draiverit\n"
diff --git a/perl-install/share/po/eu.po b/perl-install/share/po/eu.po
index 607d7ef2d..47153f9e7 100644
--- a/perl-install/share/po/eu.po
+++ b/perl-install/share/po/eu.po
@@ -3144,7 +3144,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3164,7 +3164,7 @@ msgstr ""
"Soinu-probatzaileak ondorengo komandoak exekutatzen ditu:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" : zure txartelaren kontrolatzaile \n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" : zure txartelaren kontrolatzaile \n"
"lehenetsia zein den adierazten du\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" : unean zein kontrolatzaile\n"
diff --git a/perl-install/share/po/fa.po b/perl-install/share/po/fa.po
index 2cfa5cce6..f7f9646bc 100644
--- a/perl-install/share/po/fa.po
+++ b/perl-install/share/po/fa.po
@@ -3125,7 +3125,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3145,7 +3145,7 @@ msgstr ""
"آزمایش‌گر اشکال صوت کلاسیک فرمان‌های بدنبال آمده را برای اجرا دارد:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" به شما می‌گوید که کارت شما از چه راه‌اندازی\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" به شما می‌گوید که کارت شما از چه راه‌اندازی\n"
"توسط پیش‌فرض استفاده می‌کند.\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" به شما می‌گوید از چه راه‌اندازی در\n"
diff --git a/perl-install/share/po/fi.po b/perl-install/share/po/fi.po
index 310c90938..3e40092d1 100644
--- a/perl-install/share/po/fi.po
+++ b/perl-install/share/po/fi.po
@@ -3142,7 +3142,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3163,7 +3163,7 @@ msgstr ""
"seuraavat komennot:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" kertoo mitä ajuria äänikorttisi \n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" kertoo mitä ajuria äänikorttisi \n"
"käyttää oletuksena.\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" kertoo mitä ajuria äänikorttisi\n"
diff --git a/perl-install/share/po/fr.po b/perl-install/share/po/fr.po
index 0d5f8dab9..33ffaa17f 100644
--- a/perl-install/share/po/fr.po
+++ b/perl-install/share/po/fr.po
@@ -3257,7 +3257,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3277,7 +3277,7 @@ msgstr ""
"Pour résoudre un problème de son,\n"
"veuillez lancer les commandes suivantes dans une console :\n"
"\n"
-"- « lspcidrake -v | fgrep AUDIO » vous indique quel pilote votre carte\n"
+"- « lspcidrake -v | fgrep -i AUDIO » vous indique quel pilote votre carte\n"
" utilise par défaut\n"
"\n"
"- « grep sound-slot /etc/modprobe.conf » vous affiche quel pilote\n"
diff --git a/perl-install/share/po/fur.po b/perl-install/share/po/fur.po
index f4362b1f6..7ac20d8a0 100644
--- a/perl-install/share/po/fur.po
+++ b/perl-install/share/po/fur.po
@@ -2934,7 +2934,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/ga.po b/perl-install/share/po/ga.po
index ebe51d5f3..3621e58c4 100644
--- a/perl-install/share/po/ga.po
+++ b/perl-install/share/po/ga.po
@@ -2933,7 +2933,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/gl.po b/perl-install/share/po/gl.po
index 3090f212b..a76bfd71f 100644
--- a/perl-install/share/po/gl.po
+++ b/perl-install/share/po/gl.po
@@ -3133,7 +3133,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3154,7 +3154,7 @@ msgstr ""
"comandos:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" diralle que driver usa a súa tarxeta\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" diralle que driver usa a súa tarxeta\n"
"de forma predeterminada\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" diralle que driver está\n"
diff --git a/perl-install/share/po/he.po b/perl-install/share/po/he.po
index db3d88d90..60b7e6543 100644
--- a/perl-install/share/po/he.po
+++ b/perl-install/share/po/he.po
@@ -3090,7 +3090,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3110,7 +3110,7 @@ msgstr ""
"הבדיקה הקלאסית לבעיות במערכת הקול היא הרצת הפקודות הבאות:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" יאמר מה הוא התקן ההינע בו משתמש הכרטיס\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" יאמר מה הוא התקן ההינע בו משתמש הכרטיס\n"
"שלך כברירת מחדל\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" יאמר מה הוא ההתקן ההינע שכרגע\n"
diff --git a/perl-install/share/po/hi.po b/perl-install/share/po/hi.po
index 3ef24c2a9..11c6afc5c 100644
--- a/perl-install/share/po/hi.po
+++ b/perl-install/share/po/hi.po
@@ -3104,7 +3104,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3124,7 +3124,7 @@ msgstr ""
"क्लासिक साउण्ड दोष परीक्षक निम्नलिखित निर्देशों को चलाता है:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" आपको बतायेगा कि डिफ़ाल्ट की भांति आपका\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" आपको बतायेगा कि डिफ़ाल्ट की भांति आपका\n"
"कार्ड कौन-से चालक का उपयोग करता है।\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" आपको बतायेगा कि यह वर्तमान में\n"
diff --git a/perl-install/share/po/hr.po b/perl-install/share/po/hr.po
index 7437a8e87..fd6ae41aa 100644
--- a/perl-install/share/po/hr.po
+++ b/perl-install/share/po/hr.po
@@ -3061,7 +3061,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/hu.po b/perl-install/share/po/hu.po
index d4f6830ca..eb55dde9a 100644
--- a/perl-install/share/po/hu.po
+++ b/perl-install/share/po/hu.po
@@ -3165,7 +3165,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3185,7 +3185,7 @@ msgstr ""
"Hangprobléma esetén a következő parancsokat érdemes használni:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\": kiírja, melyik meghajtót használja\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\": kiírja, melyik meghajtót használja\n"
"alapértelmezésben a hangkártya\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\": kiírja, milyen meghajtó használata\n"
diff --git a/perl-install/share/po/id.po b/perl-install/share/po/id.po
index 5bf34603c..294b8223d 100644
--- a/perl-install/share/po/id.po
+++ b/perl-install/share/po/id.po
@@ -3147,7 +3147,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3167,7 +3167,7 @@ msgstr ""
"Penguji kesalahan suara klasik akan menjalankan perintah berikut:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" akan memberitahu Anda driver mana yang\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" akan memberitahu Anda driver mana yang\n"
"dipakai oleh kartu Anda secara default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" memberitahu driver apa yang "
diff --git a/perl-install/share/po/is.po b/perl-install/share/po/is.po
index 334286733..d3b82a47c 100644
--- a/perl-install/share/po/is.po
+++ b/perl-install/share/po/is.po
@@ -3131,7 +3131,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3151,7 +3151,7 @@ msgstr ""
"Klassísk hljóðvilluprófun er að keyra eftirfarandi skipanir:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" segir þér hvaða rekill hljóðkortið\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" segir þér hvaða rekill hljóðkortið\n"
"notar sjálfgefið\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" segir þér hvaða rekill er nú í\n"
diff --git a/perl-install/share/po/it.po b/perl-install/share/po/it.po
index 22f75d891..8b4f15aa0 100644
--- a/perl-install/share/po/it.po
+++ b/perl-install/share/po/it.po
@@ -3146,7 +3146,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3166,7 +3166,7 @@ msgstr ""
"Un controllo classico in caso di problemi audio è lanciare questi comandi:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" ti dice qual è il driver predefinito per "
+"- \"lspcidrake -v | fgrep -i AUDIO\" ti dice qual è il driver predefinito per "
"la tua scheda\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" ti dice che driver si sta usando "
diff --git a/perl-install/share/po/ja.po b/perl-install/share/po/ja.po
index d3aac4f63..80000476b 100644
--- a/perl-install/share/po/ja.po
+++ b/perl-install/share/po/ja.po
@@ -3121,7 +3121,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3141,7 +3141,7 @@ msgstr ""
"サウンドのバグを調べるには以下のコマンドを実行してください:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" はお使いのカードのデフォルトドライバを\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" はお使いのカードのデフォルトドライバを\n"
"表示\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" は現在使用されているドライバを\n"
diff --git a/perl-install/share/po/ko.po b/perl-install/share/po/ko.po
index 78f5b3426..38525b6e0 100644
--- a/perl-install/share/po/ko.po
+++ b/perl-install/share/po/ko.po
@@ -3055,7 +3055,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
diff --git a/perl-install/share/po/ky.po b/perl-install/share/po/ky.po
index 996d84571..a71075601 100644
--- a/perl-install/share/po/ky.po
+++ b/perl-install/share/po/ky.po
@@ -3108,7 +3108,7 @@ msgid ""
"The classic bug sound tester is to run the following commands:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card uses\n"
"by default\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n"
@@ -3128,7 +3128,7 @@ msgstr ""
"Классикалык добуш бузугун текшергич төмөнкү командаларды аткарат:\n"
"\n"
"\n"
-"- \"lspcidrake -v | fgrep AUDIO\" сизге алдыалынган добуш картасынын\n"
+"- \"lspcidrake -v | fgrep -i AUDIO\" сизге алдыалынган добуш картасынын\n"
"драйверин көрсөтөт\n"
"\n"
"- \"grep sound-slot /etc/modprobe.conf\" кайсы драйвер колдонулуп\n"
diff --git a/perl-install/share/po/libDrakX.pot b/perl-install/share/po/libDrakX.pot
index 261d52a14..38dfddd10 100644
--- a/perl-install/share/po/libDrakX.pot
+++ b/perl-install/share/po/libDrakX.pot