diff options
| author | Richard Jones <rjones@redhat.com> | 2009-11-04 17:42:03 +0000 |
|---|---|---|
| committer | Richard Jones <rjones@redhat.com> | 2009-11-04 17:42:03 +0000 |
| commit | 5ce72e039ca332ba19bb9122b7c93d257e745bb5 (patch) | |
| tree | ac68578590f834bda390b1fded7f6255321e2acb /python/run-bindtests | |
| parent | fc2cce06ec537f3e6ddf153ffae389ab483e3809 (diff) | |
fish: New command 'sparse', like 'alloc' but to generate sparse files.
With sparse you can make sparse files, which is fun because you
can experiment with really large devices:
><fs> sparse /tmp/test.img 100G
><fs> run
><fs> sfdiskM /dev/vda ,
><fs> mkfs ext2 /dev/vda1 # very long pause here ...
><fs> mount /dev/vda1 /
To see the real (ie. allocated) size of the sparse file, use the du
command, eg:
><fs> !du -h /tmp/test.img
1.6G -rw-rw-r-- 1 rjones rjones 100G 2009-11-04 17:40 /tmp/test.img
Diffstat (limited to 'python/run-bindtests')
0 files changed, 0 insertions, 0 deletions
