From e7b1331c202efedff015e1d7978cefb4afb3e1aa Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 29 Aug 2005 11:15:26 +0000 Subject: use vol_id to get filesystem label (we only handled the equivalenet of e2label) --- perl-install/c/stuff.xs.pl | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'perl-install/c/stuff.xs.pl') diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl index 4c95e5b0d..5cf4b3801 100644 --- a/perl-install/c/stuff.xs.pl +++ b/perl-install/c/stuff.xs.pl @@ -219,23 +219,6 @@ is_ext3(device_name) OUTPUT: RETVAL -char * -get_ext2_label(device_name) - char * device_name - CODE: - { - ext2_filsys fs; - int retval = ext2fs_open (device_name, 0, 0, 0, unix_io_manager, &fs); - if (retval) { - RETVAL = 0; - } else { - RETVAL = fs->super->s_volume_name; - ext2fs_close(fs); - } - } - OUTPUT: - RETVAL - void init_setlocale() CODE: -- cgit v1.2.1