From: Alasdair G Kergon Subject: Re: Dumb question Date: Mon, 11 Apr 2005 20:07:22 +0100 Message-ID: <20050411190722.GP9049@agk.surrey.redhat.com> References: <200504111501.40423.phillips@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200504111501.40423.phillips@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids On Mon, Apr 11, 2005 at 03:01:40PM -0400, Daniel Phillips wrote: > Here is a dumb question: Why does dmsetup use (start, length) for each > target line instead of just (length)? We decided to require this: (a) to make the tables more readable in their raw form (b) as additional validation against bugs > Is it useful to leave some parts > of a virtual device unmapped, and if so, why not require them to be > mapped explicitly to zero or error? They must be. Each line has to start where the previous one ended or you are supposed to get an error. Alasdair -- agk@redhat.com