lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081103214635.GB18117@mit.edu>
Date:	Mon, 3 Nov 2008 16:46:35 -0500
From:	Theodore Tso <tytso@....edu>
To:	François Valenduc 
	<francois.valenduc@...ablenet.be>
Cc:	Graham Murray <graham@...rray.org.uk>, linux-ext4@...r.kernel.org
Subject: Re: Wrong calculation of space remaining on a 32 bit system.

On Mon, Nov 03, 2008 at 10:23:32PM +0100, François Valenduc wrote:
> So, as you suggested I add the following section in mke2fs.conf:
> 
>    portage = {
>                 features =
> has_journal,extents,flex_bg,uninit_bg,dir_nlink,extra_isize
>                 inode_ratio=4096
>         }

You can also just do

    portage = {
    	    inode_ratio=4096
    }

... and then "mke2fs -t ext4 -T portage" or "/sbin/mkfs.ext4 -T
portage" will do the right thing.  Note BTW, that this issue with the
inode_ratio is also true for ext3, so what I've suggested means that
"mke2fs -t ext3 -T portage" or "mke2fs -t ext2 -T portage" will also
do the right thing for an ext3 or ext2 filesystem, respectively.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ