Dumb question
Hi guys,
Here is a dumb question: Why does dmsetup use (start, length) for each target line instead of just (length)? 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?
Regards,
Daniel
Alasdair G Kergon
maintainerQuoted 2 lines · Daniel Phillips
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
Quoted 3 lines
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
Signature · 1 line
[email protected]