Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 14 Feb 2001 11:00:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 14 Feb 2001 11:00:15 -0500 Received: from smtp6.us.dell.com ([143.166.83.101]:42245 "EHLO smtp6.us.dell.com") by vger.kernel.org with ESMTP id ; Wed, 14 Feb 2001 11:00:00 -0500 Date: Wed, 14 Feb 2001 09:59:58 -0600 (CST) From: Michael E Brown Reply-To: Michael E Brown To: cc: , Subject: Re: block ioctl to read/write last sector In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Feb 2001 Andries.Brouwer@cwi.nl wrote: > > Maybe. I think that you'll find that these blocks are > relative to the start of the partition, not relative > to the start of the disk. > > So if you add a 1-block partition that contains the last > sector of the disk, all should be fine. > Ok. Upon re-reading the code in question, I was too hasty in my assumptions. This might work, so I'll try it. I don't expect it to be awfully pretty, though :-( -- Michael Brown Linux System Group Dell Computer Corp - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/