From owner-freebsd-questions Fri Feb 28 2:23: 4 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BE2C37B401 for ; Fri, 28 Feb 2003 02:23:03 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A52043FAF for ; Fri, 28 Feb 2003 02:23:01 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) by smtp.infracaninophile.co.uk (8.12.7/8.12.7) with ESMTP id h1SAMvAA023747 for ; Fri, 28 Feb 2003 10:22:57 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.7/8.12.7/Submit) id h1SAMvw8023746 for freebsd-questions@FreeBSD.ORG; Fri, 28 Feb 2003 10:22:57 GMT Date: Fri, 28 Feb 2003 10:22:56 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: SCSI emulation of ATAPI CDROM Message-ID: <20030228102256.GB23502@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20030227055912.GA601@dhumketu.homeunix.net> <200302271023.38363.will@unfoldings.net> <20030228061824.GA721@dhumketu.homeunix.net> <200302281141.02391.will@unfoldings.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302281141.02391.will@unfoldings.net> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-29.3 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 28, 2003 at 11:41:02AM +0200, Willie Viljoen wrote: > First two lines of atapicam-20020820.diff: > > --- /dev/null Mon Aug 19 21:34:21 2002 > +++ sys/dev/ata/atapi-cam.c Mon Aug 12 22:08:00 2002 > > This means that applying the patch should create atapi-cam.c. Try applying > from /usr/src with: > > patch < /wherever/atapicam-yourversion.diff Make that: patch -p0 < your.diff Otherwise patch(1) has a nasty habit of creating any new files in the current working directory, rather than where intended. I know this because I was looking at compiling the alpha version of the jdk-1.4.1 stuff yesterday, and precisely that difference had me perplexed for a while. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message