bcbc/Wubi-resize — pull request #6 by c00kiemon5ter (2012-09-10 13:54:50+00:00)
Title: replace hard paths for new disk with variable 'newdisk'

There are two instances where `/host/ubuntu/disks/new.disk` is used directly, instead of the existing variable `newdisk`. This fixes this minor issue.

I came across this while wanting to resize a wubi virtual disk but place the new virtual disk in an external hard drive. The problem was that the hard disk on which the old wubi virtual disk was placed had already limited free space. To resize/grow the virtual disk, I had to resize the virtual disk and place on a hard drive that could fit the new size, then remove the old virtual disk and move the new virtual disk to the hard drive that previously couldn't fit the new virtual disk size (now it does as the space used by the old virtual disk has been freed..)

I am keen on making the path to place the new virtual disk an argument, but I think it will not be of much use. Should I ?

Thanks