summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakupdate_fstab
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/standalone/drakupdate_fstab
parentf09226fd7e4183f3d5e3c23e07ca06e9e6f0b760 (diff)
downloaddrakx-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar
drakx-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar.gz
drakx-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar.bz2
drakx-8d44f4ae95caeaaddf11ca3586f4eacd77669d13.tar.xz
drakx-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/standalone/drakupdate_fstab')
-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);