Skip Menu |

This queue is for tickets about the Filesys-DiskFree CPAN distribution.

Report information
The Basics
Id: 6085
Status: new
Priority: 0/
Queue: Filesys-DiskFree

People
Owner: Nobody in particular
Requestors: slaven [...] rezic.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Change for freebsd
The attached patch contains makes your module working on FreeBSD. Because it is the same as BSDOS, I assume that the same fix could be done fro NetBSD and OpenBSD. Regards, Slaven
# # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # STEP 2: Run the 'patch' program with this file as input. # #### End of Preamble #### #### Patch data follows #### diff -up '../build/Filesys-DiskFree-0.06/DiskFree.pm' 'Filesys-DiskFree-0.06/DiskFree.pm' Index: ./DiskFree.pm --- ./DiskFree.pm Sat Oct 24 00:30:01 1998 +++ ./DiskFree.pm Tue Apr 20 22:29:24 2004 @@ -55,6 +55,11 @@ $VERSION = 0.06; 'inodes' => "df -i", 'format' => 'svish', }, + 'freebsd' => { + 'blocks' => "df -Pi", + 'inodes' => "df -Pi", + 'format' => "bsdish", + }, ); use strict; #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Tue Apr 20 22:30:28 2004 # Generated by : makepatch 2.00_05 # Recurse directories : Yes # p 'DiskFree.pm' 8957 1082492964 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Tue Apr 20 22:30:28 2004] #### #### Patch checksum: 28 784 53871 #### #### Checksum: 46 1407 39824 ####