Revision fbf11f1c common.sh.in
b/common.sh.in | ||
---|---|---|
208 | 208 |
|
209 | 209 |
mkfs_disk0() { |
210 | 210 |
local mkfs="mkfs.${FILESYSTEM}" |
211 |
|
|
212 |
if [[ "$FILESYSTEM" == ext[123] ]] ; then |
|
213 |
# Some GRUB legacy versions like the one used by CentOS 5.x have issues |
|
214 |
# with 256 byte inode size which is the default for recent versions of |
|
215 |
# e2fsprogs. We'll stick with 128 bytes for now. |
|
216 |
mkfs+=" -I 128" |
|
217 |
fi |
|
218 |
|
|
211 | 219 |
# Format / |
212 | 220 |
$mkfs -Fq -L / $root_dev > /dev/null |
213 | 221 |
# Format /boot |
Also available in: Unified diff