Creating a Swap File - wrong parameter

Steven Kreuzer skreuzer at freebsd.org
Wed Aug 19 14:48:59 UTC 2015


Hi Michael-

On Sun, Aug 16, 2015 at 4:49 AM, Michael Koch <charlie8913 at gmail.com> wrote:
> Hello FreeBSD team,
>
> i found a little problem in the documentation.
>
> On https://www.freebsd.org/doc/handbook/adding-swap-space.html, in
> Example 12.2. in the 4th point you list the command 'swapon -aq'.
> But this just doesn't work.
> After some research someone at
> https://lists.freebsd.org/pipermail/freebsd-current/2013-October/046056.html
> pointed out that an entry in the /etc/fstab with file= automatically
> implies the late option.
> So the right command in the docs should be '*swapon -aL*', which mounts
> swap entries which have the late option set.

Thanks for the report. I just proposed your change to my mentor at
https://reviews.freebsd.org/D3429


More information about the freebsd-doc mailing list