From owner-freebsd-questions Thu Feb 24 14:41:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 3430C37B8A6 for ; Thu, 24 Feb 2000 14:41:43 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA18633; Fri, 25 Feb 2000 09:11:56 +1030 (CST) Date: Fri, 25 Feb 2000 09:11:56 +1030 From: Greg Lehey To: Raymond Brighenti Cc: freebsd-questions@freebsd.org Subject: Re: Help using diff or cpio for DPT Smartraid V files Message-ID: <20000225091156.B18580@freebie.lemis.com> References: <4.2.0.58.20000224180420.00947f00@vines.webfront.net.au> <4.2.0.58.20000224180420.00947f00@vines.webfront.net.au> <20000224174846.H10538@freebie.lemis.com> <4.2.0.58.20000224182246.0239d1f0@vines.webfront.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <4.2.0.58.20000224182246.0239d1f0@vines.webfront.net.au> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 24 February 2000 at 19:29:51 +1100, Raymond Brighenti wrote: > >>> We have a machine with a DTP Smartraid V controler and wish to get >>> the Raid working. Simon Shapiro has generously written the code >>> (ftp://simon-shapiro.org/crash/patches/RELENG_3/) to support these >>> beasties but I'm a bit confused to how to use the files. >>> >>> Do I install FreeBSD first and then somehow apply the files and >>> recompile the kernel? >> >> I suppose so. You should ask Simon. > > Didn't want to hassle him if I could help it Looks like you need help. >>> Perhaps it's worth waiting for the next release of FreeBSD does >>> anyone know going to be included? >> >> I'm pretty sure it won't be in 4.0. >> >> What does your subject refer to? > > I'm just trying to find out how to use cpio or diff I guess to apply > the changes. No, they're not appropriate. cpio is a backup program, and diff is a program for creating patches, not merging them. What you need is patch(1). > On the website there's the patch files or cpio archive to download, > from what I can make out it extracts the files needed. OK, if it's in cpio format, you first need to extract it with cpio. The man page is your friend. > There isn't much in the way of instructions, I thought perhaps there > is a specific directory that I extract it from and maybe some other > procedures that are perhaps common to applying these sorts of > things. Hmm. There's quite a bit of background, which I describe in "Porting UNIX Software", but I don't have time to go look at the patches. As I said, Simon's the best person to ask. Otherwise somebody else on this list might be interested. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message