What's going on with my Linux Swap?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 2005-09-08 at 22:59 +0900, Dave Gutteridge wrote:
> Thank you for the advice. With a little tweaking, my partitions now look 
> like this:
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdb1   *           1        3644    29270398+  83  Linux
> /dev/hdb2            3645        3737      747022+  82  Linux swap
> Will Linux automatically start using that as a swap, or do I have to 
> do something to mount it or in any way initiate it's use?

mkswap /dev/hdb2
swapon /dev/hdb2

And add this to your /etc/fstab: 
  /dev/hdb2    swap    swap    defaults   0 0

-- Bryan

P.S.  I hope /dev/hdb2 isn't a slave ATA device?  Or is it an SATA
device?


-- 
Bryan J. Smith     b.j.smith@xxxxxxxx     http://thebs413.blogspot.com
----------------------------------------------------------------------
The best things in life are NOT free - which is why life is easiest if
you save all the bills until you can share them with the perfect woman


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux