public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Gregory Shearman <zekeyg@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Swap is manually 'swapon-able' but not via fstab...?
Date: Sun, 11 Aug 2013 15:45:10 +1000	[thread overview]
Message-ID: <20130811054510.GA20626@pacific.net.au> (raw)
In-Reply-To: <lFiuJ-Kb-5@gated-at.bofh.it>

In linux.gentoo.user, you wrote:
>  Hi,
>
>  When I do a 
>  
>     beagleboneblack:/root>swapon /dev/sda2  
>     beagleboneblack:/root>free
>                 total       used       free     shared    buffers     cached
>     Mem:        507476      50812     456664          0      13108      17244
>     -/+ buffers/cache:      20460     487016
>     Swap:      5242876          0    5242876
>     
>
> swap is added to the system.
>
> If I add
>
>     /dev/sda2	none		 swap  sw		                 0 0
>
> swapspace will not be used after a reboot.
>
> dmesg has nothing specific...
>
> What did I wrong here? Why get swap not used via fstab?

Do you have swap added to the boot runlevel?

# rc-update add swap boot

-- 
Regards,
Gregory.
Gentoo Linux - Penguin Power

-- 
Regards,
Gregory.
Gentoo Linux - Penguin Power


       reply	other threads:[~2013-08-11  5:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <lFiuJ-Kb-5@gated-at.bofh.it>
2013-08-11  5:45 ` Gregory Shearman [this message]
2013-08-11  7:18   ` [gentoo-user] Swap is manually 'swapon-able' but not via fstab...? meino.cramer
2013-08-10 14:36 meino.cramer
2013-08-11  5:32 ` Samuli Suominen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130811054510.GA20626@pacific.net.au \
    --to=zekeyg@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox