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

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

 



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@xxxxxxxxxxxxxx



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux