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

Bug#697017: root=compute fails at parse_numeric() for lilo compatibility



Stephen Powell wrote:

> The current code works the way that lilo works, and I doubt that
> the lilo code in question will ever change its algorithm.  It currently
> assumes that both the major and minor device numbers of the root file
> system are less than or equal to 255, and that is what the parse_numeric
> shell function in initramfs-tools assumes also.

Less than or equal to 4095 and 255 respectively, technically. ;-)

The full formula was just trivia.  (stat's st_dev and lilo's MKDEV()
macro use it, for what it's worth.)

Thanks again,
Jonathan


Reply to: