summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-10-18 08:38:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-10-18 08:38:20 +0000
commit8f485f147fc9e6e42ab4f3dd1c3a19461c1f9694 (patch)
treee2680eaf2d1452c2af48834010be83d0e3b03c28 /perl-install/c
parentfd1828130f2a8f64f6ee63e0070246122327338e (diff)
downloaddrakx-backup-do-not-use-8f485f147fc9e6e42ab4f3dd1c3a19461c1f9694.tar
drakx-backup-do-not-use-8f485f147fc9e6e42ab4f3dd1c3a19461c1f9694.tar.gz
drakx-backup-do-not-use-8f485f147fc9e6e42ab4f3dd1c3a19461c1f9694.tar.bz2
drakx-backup-do-not-use-8f485f147fc9e6e42ab4f3dd1c3a19461c1f9694.tar.xz
drakx-backup-do-not-use-8f485f147fc9e6e42ab4f3dd1c3a19461c1f9694.zip
use vol_id to find device type (fs_type and pt_type)
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/Makefile.PL2
-rw-r--r--perl-install/c/stuff.xs.pl21
2 files changed, 1 insertions, 22 deletions
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index ced83836b..0b7b349a1 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -6,7 +6,7 @@ use Config;
my $lib = arch() =~ /x86_64/ ? 'lib64' : 'lib';
-my $libs = '-lldetect -lext2fs';
+my $libs = '-lldetect';
my $pcmcia_dir = $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia_' : '';
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 5cf4b3801..4830ae8e0 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -48,10 +48,6 @@ typedef __uint8_t u8;
#include <linux/ethtool.h>
-/* for is_ext3 */
-#include <ext2fs/ext2_fs.h>
-#include <ext2fs/ext2fs.h>
-
// for UPS on USB:
# define HID_MAX_USAGES 1024
#include <linux/hiddev.h>
@@ -202,23 +198,6 @@ is_secure_file(filename)
OUTPUT:
RETVAL
-int
-is_ext3(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_feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL;
- ext2fs_close(fs);
- }
- }
- OUTPUT:
- RETVAL
-
void
init_setlocale()
CODE: