From 68166adb27d6afdea035c09eca98d93b430f72c8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 16 Dec 2008 10:24:14 +0000 Subject: - diskdrake: o --nfs: handle "host:/" (#44320) i wonder if \w is really needed here... --- perl-install/fs/wild_device.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') diff --git a/perl-install/fs/wild_device.pm b/perl-install/fs/wild_device.pm index 10185bf20..afc59b4ee 100644 --- a/perl-install/fs/wild_device.pm +++ b/perl-install/fs/wild_device.pm @@ -19,7 +19,7 @@ sub analyze { 'uuid', $1; } elsif ($dev eq 'none' || $dev eq 'rootfs') { 'virtual'; - } elsif ($dev =~ m!^(\S+):/\w!) { + } elsif ($dev =~ m!^(\S+):/(\w|$)!) { 'nfs'; } elsif ($dev =~ m!^//\w!) { 'smb'; -- cgit v1.2.1