Displaying 3 results from an estimated 3 matches for "ext_used".
2009 Aug 20
3
[PATCH ovirt-node-image] fixes for edit-livecd
Patch set fixes issues with image size increase when using edit-livecd
Also address issue with ext4 root fs
2009 Aug 03
0
[PATCH node-image] Fix edit-livecd to re-create ext2 filesystem each time
...ocal output_file=$3
+ local output_dir=$4
+ local size_mb=$5
+
+ local size=
+ if [[ -n "$size_mb" ]]; then
+ size=$(( $size_mb * 1024 ))
+ fi
+
+ echo ">>> Mounting old ext3fs"
+ mnt "-t ext2 $input_file -o ro,loop" $input_dir
+ ext_used=$(df $WDIR/$input_dir | tail -1 | awk '{print $3}')
+ ext_max=$(df $WDIR/$input_dir | tail -1 | awk '{print $2}')
+
+ echo ">>> $input_file max_size=$ext_max current_size=$ext_used"
+
+ local new_size=
+ if [[ -z "$size" ]]; then
+ new...
2010 Apr 15
3
Same model over multiple databases problem
Hello,
I run many gameservers (about 10), each gameserver has a different
database and all gameserver''s databases has the table "players" which
is associated to the model Player. So every time I want to work with
the Player model I need connect to a different database depending on
which gameserver I am working on.
My problem is that I need to make rails choose which database