Package: dmraid Severity: wishlist Version: 1.0.0.rc14-1 User: [EMAIL PROTECTED] Usertags: origin-ubuntu ubuntu-patch hardy ubuntu
Attached is a patch to add more known disk offset locations for Promise RAID metadata. This patch is currently in the Ubuntu dmraid package, and therefore the attached patch is in dpatch format. It would be nice if this patch was in the Debian package, thereby reducing the delta between Ubuntu and Debian. Originally taken from Mandriva's dmraid package, with extra offsets from an earlier revision of the Ubuntu package. Luke
#! /bin/sh /usr/share/dpatch/dpatch-run ## 09_promise-add-offsets.dpatch by Luke Yelavich <[EMAIL PROTECTED]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Add extra offsets where promise metadata can be found. @DPATCH@ diff -urNad dmraid-1.0.0.rc14-1ubuntu1~/1.0.0.rc14/lib/format/ataraid/pdc.h dmraid-1.0.0.rc14-1ubuntu1/1.0.0.rc14/lib/format/ataraid/pdc.h --- dmraid-1.0.0.rc14-1ubuntu1~/1.0.0.rc14/lib/format/ataraid/pdc.h 2008-07-08 14:30:10.000000000 +1000 +++ dmraid-1.0.0.rc14-1ubuntu1/1.0.0.rc14/lib/format/ataraid/pdc.h 2008-07-08 14:30:40.000000000 +1000 @@ -13,7 +13,7 @@ #include <stdint.h> -#define PDC_CONFIGOFFSETS 63,255,256,16,399,735 +#define PDC_CONFIGOFFSETS 63,255,256,16,399,735,675,991,911 #define PDC_DATAOFFSET 0 /* maximum device size (sectors) which can be detected by some pdc card */
signature.asc
Description: Digital signature

