[ Version ( deprecated = true , since = "1.0.66" ) ]
public bool fallocate (string path, int32 len) throws Error
Warning: fallocate is deprecated.
preallocate a file in the guest filesystem
In new code, use fallocate64 instead
This command preallocates a file (containing zero bytes) named path
of size len
bytes. If the file exists
already, it is overwritten.
Do not confuse this with the guestfish-specific alloc
command which allocates a file in the host and attaches it as a
device.
this |
A GuestfsSession object |
true on success, false on error |