[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] 2.6.0-test3: Use format_dev_t



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 uk sistina com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]