Re: mkfs.minix misbehaves on 4GB filesystems

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

 



On 28 June 2015 at 01:11, Joshua Hudson <joshudson@xxxxxxxxx> wrote:
> +       if (BLOCKS > MINIX_MAX_INODES * BITS_PER_BLOCK)
> +               BLOCKS = MINIX_MAX_INODES * BITS_PER_BLOCK;     /*
> Utter maximum: Clip. */
>
> Adjustment was not quite correct. The limit constant here is 5 smaller
> than the multiplication would lead you to guess (boot, super, imap,
> inode, overflow).

Magic number 4 is added back to the commit.

https://github.com/kerolasa/lelux-utiliteetit/commit/20db4e07f75145c1eca7e8209efe0e246f480f51#diff-4c9bda8f12f6b5bb40a2181cb7bf0b89L794

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux