mkswap on 1k file
Matthew Stoltenberg
d3matt at gmail.com
Mon Feb 1 17:24:54 UTC 2010
At least the kernel doesn't allow you to swapon it...
"Swap area shorter than signature indicates"
On Mon, Feb 1, 2010 at 10:47 AM, Mikhail Gusarov
<dottedmag at dottedmag.net> wrote:
> 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/
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
More information about the busybox
mailing list