vaeth / zram-init

A wrapper script for the zram linux kernel module with zsh and openrc support
http://www.mathematik.uni-wuerzburg.de/~vaeth/download/index.html#zram-init
79 stars 26 forks source link

Add option to configure inode count for ext filesystems #2

Closed qupada closed 10 years ago

qupada commented 10 years ago

For a small ext filesystem size of 1GB, the default inode count is around 2^16, often leading to running out of inodes long before blocks. Add -n option to zram-init, mapped to mkfs.ext[24] -N option to allow specifying the desired inode count when making the filesystem.