summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-03-12 18:22:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-03-12 18:22:21 +0000
commit8d44f4ae95caeaaddf11ca3586f4eacd77669d13 (patch)
treeab42d7843f43a8fe2a8ce405dc859e598f662259 /perl-install
parentf09226fd7e4183f3d5e3c23e07ca06e9e6f0b760 (diff)
downloaddrakx-backup-do-not-use-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar
drakx-backup-do-not-use-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar.gz
drakx-backup-do-not-use-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar.bz2
drakx-backup-do-not-use-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar.xz
drakx-backup-do-not-use-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.zip
have fd0 & fd1 be recognised as known entries, even if we don't probe them
(useful for harddrake)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakupdate_fstab1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab
index 112873ffb..94f1a5d54 100755
--- a/perl-install/standalone/drakupdate_fstab
+++ b/perl-install/standalone/drakupdate_fstab
@@ -56,6 +56,7 @@ sub check_hard_drives {
sub device_name_to_entry {
my ($name) = @_;
$name =~ s|/dev/||;
+ $name =~ /fd[01]/ && !$::auto and return { device => $name };
my @l = detect_devices::get();
my ($e, $nb);