Package: libfilesys-diskspace-perl Version: 0.05-10 Severity: normal Tags: patch
When you've got a remote CIFS share mounted using the cifs filesystem this module fails to recognise it, and you get an error like the following: statfs failed on /smb/sm-gbbr-vfp01d/bvg_d (new filesystem type?) Below is a patch to fix this. Cheers, Mark. --- /usr/share/perl5/Filesys/DiskSpace.pm~ 2006-07-07 16:37:57.000000000 +0100 +++ /usr/share/perl5/Filesys/DiskSpace.pm 2008-07-17 17:49:33.000000000 +0100 @@ -44,6 +44,7 @@ 1397118030 => "NTFS_SB_MAGIC", # 0x5346544e 1481003842 => "XFS_SUPER_MAGIC", # 0x58465342 4187351113 => "HPFS_SUPER_MAGIC", # 0xF995E849 + 4283649346 => "CIFS", # 0xFF534D42 ); if (0) { printf "%10u 0x%010x %s\n", $_, $_, $fs_type{$_} -- System Information: Debian Release: 4.0 Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686-bigmem Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages libfilesys-diskspace-perl depends on: ii perl 5.8.8-7etch3 Larry Wall's Practical Extraction libfilesys-diskspace-perl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]