summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-29 11:15:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-29 11:15:26 +0000
commite7b1331c202efedff015e1d7978cefb4afb3e1aa (patch)
tree8cf06f843ed34172046fec891ba0a5d8d5895df9 /perl-install/fsedit.pm
parent246cf2a7d54e9815a0a8a016131b2795aacdb7b9 (diff)
downloaddrakx-e7b1331c202efedff015e1d7978cefb4afb3e1aa.tar
drakx-e7b1331c202efedff015e1d7978cefb4afb3e1aa.tar.gz
drakx-e7b1331c202efedff015e1d7978cefb4afb3e1aa.tar.bz2
drakx-e7b1331c202efedff015e1d7978cefb4afb3e1aa.tar.xz
drakx-e7b1331c202efedff015e1d7978cefb4afb3e1aa.zip
use vol_id to get filesystem label (we only handled the equivalenet of e2label)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index cbe94f5c1..108fadde1 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -244,11 +244,8 @@ Do you agree to lose all the partitions?
}
foreach (@parts) {
- my $label =
- member($_->{fs_type}, qw(ext2 ext3)) ?
- c::get_ext2_label(devices::make($_->{device})) :
- '';
- $_->{device_LABEL} = $label if $label;
+ my $label = run_program::get_stdout('vol_id', '-l', devices::make($_->{device}));
+ $_->{device_LABEL} = chomp_($label) if $label;
}
if ($hd->{usb_media_type}) {