mkswap on 1k file
Mikhail Gusarov
dottedmag at dottedmag.net
Mon Feb 1 16:47:38 UTC 2010
Hi.
busybox 1.15.3
$ dd if=/dev/zero of=foo count=1 bs=1024
$ mkswap foo
Setting up swapspace version 1, size = 18446744073709548544 bytes
UUID=77c3c1dc-97e5-4e5d-8811-01c37c822bd2
$
looks like a very cheap way to make a HUGE swap :)
--
http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100201/0e74cfcf/attachment.pgp>
More information about the busybox
mailing list