This patch resizes the file system on the xm-test HVM disk.img to use

the entire space available.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
This commit is contained in:
stekloff@elm3b216.beaverton.ibm.com committed 2006-05-19 16:29:34 +01:00
1 parent 09eb4b87f7
commit 9c8277a2d8
1 file changed
+7
@@ -208,6 +208,13 @@ function dd_rootfs_to_image()
if [ $? -ne 0 ]; then
die "Failed to dd $ROOTFS to $LOOPP."
fi
# Resize fs to use full partition
e2fsck -f $LOOPP
resize2fs $LOOPP
if [ $? -ne 0 ]; then
die "Failed to resize rootfs on $LOOPP."
fi
}
function get_kernel()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.