From owner-freebsd-current Fri Apr 30 20:51:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 15DFB14DC1 for ; Fri, 30 Apr 1999 20:51:53 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from feral.com (mjacob@feral.com [192.67.166.1]) by feral.com (8.8.7/8.8.7) with ESMTP id UAA10741; Fri, 30 Apr 1999 20:51:06 -0700 Date: Fri, 30 Apr 1999 20:51:06 -0700 (PWT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Greg Lehey Cc: Brad Knowles , FreeBSD current users Subject: Re: Porting Greg Lehey's rawio.c from FreeBSD to Linux... In-Reply-To: <19990501095604.W80561@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I don't really understand why you ask a FreeBSD group about it; it's a > Linux issue. FWIW, about the only area where you're liable to run > into difficulties is in the disk label handling round line 300, which > is pretty peripheral to the function: it's just there as one way of > finding out the size of the partition. You'll need in-depth Linux > information to even find out if Linux has an equivalent function. Open the device, and if (ioctl(fd, BLKGETSIZE, (caddr_t) &seeklim) < 0) { see To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message