[dm-devel] Dumb question

Alasdair G Kergon agk at redhat.com
Mon Apr 11 19:07:22 UTC 2005


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 at redhat.com




More information about the dm-devel mailing list