[dm-devel] [PATCH] 2.6.0-test3: Use format_dev_t
Alasdair G Kergon
agk at uk.sistina.com
Thu Aug 14 15:42:01 UTC 2003
On Thu, Aug 14, 2003 at 03:00:55PM -0500, Kevin Corry wrote:
> format_dev_t: %u:%u
> Is there a reason DM needs zero-filled, 3-digit numbers for major and minor?
Either should be OK, as they get parsed with:
sscanf(path, "%u:%u", &major, &minor)
[Though I find the fixed-width version easier on the eye when lined up
in columns.]
Alasdair
--
agk at uk.sistina.com
More information about the dm-devel
mailing list