Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2006 11:18:14 -0500 (CDT)
From:      Jim Pirzyk <pirzyk@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/103362: Update port: sysutils/p5-Sys-Filesystem Fix for special filesystems
Message-ID:  <200609181618.k8IGIEnu092051@lilo.ci.uiuc.edu>
Resent-Message-ID: <200609181620.k8IGKRFg073512@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103362
>Category:       ports
>Synopsis:       Update port: sysutils/p5-Sys-Filesystem Fix for special filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 18 16:20:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 6.1-SECURITY i386
>Organization:
>Environment:
System: FreeBSD lilo.ci.uiuc.edu 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:21:08 UTC 2006 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

--- files/patch-lib-Sys-Filesystem-Freebsd.pm.orig	Mon Sep 18 10:46:47 2006
+++ files/patch-lib-Sys-Filesystem-Freebsd.pm	Mon Sep 18 11:12:17 2006
@@ -1,5 +1,5 @@
---- ./lib/Sys/Filesystem/Freebsd.pm.orig	Sat Mar 25 14:44:35 2006
-+++ ./lib/Sys/Filesystem/Freebsd.pm	Thu Jun  1 14:55:02 2006
+--- ./lib/Sys/Filesystem/Freebsd.pm.orig	Mon Sep 18 11:07:46 2006
++++ ./lib/Sys/Filesystem/Freebsd.pm	Mon Sep 18 11:10:30 2006
 @@ -26,20 +26,33 @@
  use FileHandle;
  use Carp qw(croak);
@@ -18,8 +18,8 @@
 +	croak "The statfs strucuture changed version (" . &STATFS_VERSION . ")\n";
 +}
 +# unpack format, we want the 3rd and the last 3 fields.
-+my $format = 'x8L' . 'x192' . ('A' . &MNAMELEN ) x 3 ;
-+
++my $format = 'x8L' . 'x268' . 'A' . &MFSNAMELEN . ('A' . &MNAMELEN ) x 2 ;
++  
  sub new {
  	ref(my $class = shift) && croak 'Class name required';
  	my %args = @_;
@@ -33,7 +33,7 @@
  
  	my @keys = qw(fs_spec fs_file fs_vfstype fs_mntops fs_freq fs_passno);
 -	my @special_fs = qw(swap proc devpts tmpfs);
-+	my @special_fs = qw(swap proc devpts devfs tmpfs);
++	my @special_fs = qw(swap procfs devpts devfs tmpfs);
  
  	# Read the fstab
  	my $fstab = new FileHandle;
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609181618.k8IGIEnu092051>