On Sun, Apr 19, 2015 at 7:34 PM, Christian Kujau <li...@nerdbynature.de>
wrote:
> I know all that, but again: 1) "growing" is supported 2) the option is
> called "--resize" (which is kinda misleading until one looks up the
> documentation) and 3) the OS has to deal with other machine alterations
> anyway (see above).
>
> So, I don't see the technical reasoning here.
>
Growing is one thing, the partitions look as if you had defined smaller
partitions on a larger hard drive, ie you add extra sectors.
When you make the virtual hard drive SMALLER, you suddenly have LESS
sectors so the filesystem on the virtual disk is referencing sectors that
now no longer exist.
For it to work you would have to:
1. Implement on Virtualbox filesystem drivers for each possible guest file
system (Ext2, Ext3, Ext4, BTRFS, JFS, ReiserFS, Windows ReFS, NTFS, Apple
HFS+, FreeBSD UFS, UFS2, Solaris ZFS, and any other that I might be missing
right now)
2. Implement filesystem defragmentation for all of the above
3. Do a defragment, to ensure all block on the higher sector numbers you
want to remove from the virtual filesystem are actually not used
4. Run a checkdisk (if applicable) upon reboot.
5. Deal with any unwanted loss of data that might happen while you tune
your overall code.
Yes, it's technically possible to implement. It's also easier to create a
new virtual partition and copy data over, from external utils.
Remember the saying: "Everything works, in theory"...
FC
--
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe