=== Kilroy is now known as Vilroy === Vilroy is now known as Kilroy === xispita_ is now known as xispita [17:52] I need a file that is exactly 6.9 GB how would one go about creating that? [18:21] Kilroy: Are you defining a GB as 10^9 or 2^30 bytes? [18:24] In the first case you ought to be able to do something like this: dd if=/dev/urandom of=testfile bs=1000000 count=6900 [18:25] In the latter case I think you are ought of luck, since then 6.9 GB don't translate into an even number of bytes. [18:35] Kilroy: For base 2 "echo "fallocate -l $(numfmt --from=iec 6.9G)" for base 10 "echo "fallocate -l $(numfmt --from=si 6.9G)" [18:44] thanks TJ- [18:46] I get fallocate: invalid length value specified [18:47] Kilroy: try the numfmt commands on their own to test [18:48] Kilroy: I didn't run the fallocate commands to create anything, just verified the generated command worked [18:49] Kilroy: you do need to add on a filename to create of course! [18:50] Kilroy: e.g. for base 2: fallocate -l $(numfmt --from=iec 6.9G) myfile.bin [18:55] ok [19:37] smoser: swtpm started. libtpms was already imported. [19:49] swtpm is done